This PR upgrades our version of `ctor` to v0.2.6.
We were previously using a fork that contained this fix:
https://github.com/mmastrac/rust-ctor/pull/295.
A new version of `ctor` has now been released with that change, so we
can switch back to the mainline version.
I scanned through the diff between versions (since we're upgrading from
effectively v0.1.20) and didn't notice anything that seemed obviously
breaking:
https://github.com/mmastrac/rust-ctor/compare/564b87f1dc13cf061ef9997ee501fa5378f35ba1...ee6b4b1c7bd3c9c1edad3b6f4d906e767767ba3d
Release Notes:
- N/A
My contact over at nushell told me they are finally getting some fixes
in on the tree sitter repo, as they have an enthusiastic user running
around opening PRs - figured it would be good to bump this again, since
it wasn't in a great place before.
https://github.com/nushell/tree-sitter-nu/commits/main/
Release Notes:
- Bumped `nu` tree sitter dependency
Adding guest roles led us down a rabbit hole where we'd have liked to
rely on a
side-effect of activating a window in tests; but the test window didn't
implement that.
Looking into that, I realized our TestWindow wasn't doing a great job of
emulating the MacWindow, so this makes the two more similar.
ea43d7a
Iterate on design of project search bar (#3913)
Click to expand commit body
This PR iterates on the design of the project search bar:
- Mode selections have been updated to use `ToggleButton`s
- Spacing has been added between the various elements.
Release Notes:
- Improved the look of the project search bar.
Marshall Bowers
created
5935979
Set a minimum size for the search input field (#3912)
Click to expand commit body
Release Notes:
- Show search input field wider for narrow panes
Kirill Bulatov
created
319f18e
Use the `editor_background` color for the project search empty state (#3911)
Click to expand commit body
This PR updates the project search empty state to use the same
background color as the editor.
Release Notes:
- Updated the background color of the project search's empty state to
match the editor background.
Marshall Bowers
created
6cc48b9
Set a minimum size for the search input field
Kirill Bulatov
created
0083ca3
Use the `editor_background` color for the welcome screen's background (#3910)
Click to expand commit body
This PR updates the welcome screen to use the same background color as
the editor.
<img width="1136" alt="Screenshot 2024-01-05 at 11 28 19 AM"
src="https://github.com/zed-industries/zed/assets/1486634/30f2bd7b-e25f-4851-9f43-eb187d1d62e6">
Release Notes:
- Updated the background color of the welcome screen to match the editor
background.
This PR introduces Tinted button styles and the `selected_style` field
on buttons to allow replicating the previous design of titlebar call
controls. It also updates the styles of the titlebar controls.
### Creating a tinted button:
```
Button::new("accept-cta", "Accept")
.style(ButtonStyle::Tinted(TintColor::Accent))
.on_click(...)
```
Ths button will always be tinted blue.
### Creating a button that becomes tinted when selected::
```rust
IconButton::new("screen-share", Icon::Screen)
.style(ButtonStyle::Subtle)
.selected(is_screen_sharing)
.selected_style(ButtonStyle::Tinted(TintColor::Accent))
.on_click(...),
```
This button will be flat/subtle by default, but be tinted blue when it
is `selected`.
Note: There appears to be some issue where `is_deafened` isn't
activating correctly, making the speaker icon not toggle when selected.
Release Notes:
- Restore call control styles to a similar look to Zed 1.
9d4d58a
Implement Tinted buttons and selected_style for buttons
Nate Butler
created
c8dcc80
Respect the setting to show/hide the assistant and chat panels (#3909)
Click to expand commit body
This PR makes it so we respect the setting to show/hide the assistant
and chat panels.
Resolves https://github.com/zed-industries/community/issues/2370.
Release Notes:
- Fixed an issue where the settings to show/hide certain panels were not
respected.
3070a6e
Return back git status colors for tab labels
Kirill Bulatov
created
3e6b4a1
Don't shift pane content when following someone (#3905)
Click to expand commit body
Release Notes:
- Fixed a bug that would shrink the pane when following someone.
Antonio Scandurra
created
cf03ea2
Don't shift pane content when following someone
Antonio Scandurra
created
fbf2f79
Return back old project search behavior as default. (#3892)
Click to expand commit body
Add a `workspace::DeploySearch` action and use it as a default for
"cmd-shift-f" binding. This action opens existing search tab if it
exists, or creates a new one otherwise. `workspace::NewSearch` action is
still available and always opens an existing search tab.
Release Notes:
- Added a `workspace::DeploySearch` action and use it as a default for
"cmd-shift-f" binding. `workspace::NewSearch` action is still available
and always opens an existing search tab.
1d09c9a
Fix accidental load of default keymap *after* loading user keymap (#3901)
Max Brunsfeld
created
c29a7f2
Fix terminal selection when cursor leaves terminal bounds (#3898)
Click to expand commit body
Previously, terminal mouse selection didn't work when the cursor moved
outside the bounds of the terminal, which made it difficult to select
large amounts of text in the terminal.
Max Brunsfeld
created
ad20bc3
Fix accidental load of default keymap *after* loading user keymap