0598a82
chore: Hoist non-generic part out of add_action_internal. (#2981)
Click to expand commit body
add_action_internal shows up often in downstream crates (as it should
be, since it's a generic function it's codegened in each crate that uses
it); it adds non-trivial amounts of LLVM IR to the build as a whole
which we can cut down a bit by doing the inner fn trick.
Release Notes:
- N/A
fold_point_to_display_point calls to_offset on the fold point, which
panics if it hasn't been clipped.
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1694850156370919
Conrad Irwin
created
c3f6fcc
Added 'open in terminal' action to the project panel context menu (#2980)
Click to expand commit body
Also slightly re-arranged the project panel context menu
Release Notes:
- Added an 'open in terminal' action to the context menu on folders in
the project panel
Mikayla Maki
created
d468165
Added 'open in terminal' action to the project panel context menu
Click to expand commit body
Also slightly re-arranged the project panel context menu
### Todo
* [x] Add back chat functionality, connected to channels
* [x] Channels panel
* [x] channels with active calls take up two rows, facepile goes on the
second row
* [x] icons for note, phone, (maybe chat) appear on the right of channel
names
* [x] clicking a channel opens the chat
* [x] style
* [x] Chat panel
* [ ] Render markdown in chat messages
* [x] style
* [x] Hide unless user is staff or has `channels_alpha` feature flag.
40e785f
Merge branch 'main' into nate/gpui2-ui-components
Nate Butler
created
4c9100e
Unify icons using multiple variants, remove all unused icons (#2974)
Click to expand commit body
There are around ~400 icons in the `assets/icons` folder, but in reality
including file icons we only use around 50. In a number of places we use
different variants of the same icon, even in different styles.
This PR unifies the icons we use, removes the duplicates, and cleans out
unused icons.
Release Notes:
- Made icons more consistent throughout the app.
Nate Butler
created
b02bd9b
Fix Y on last line with no trailing new line
Click to expand commit body
For zed-industries/community#2044
Conrad Irwin
created
099969e
Ensure the chat panel is fully feature flagged
7c77baa
Fix multi-character shortcuts with modifiers (#2968)
Click to expand commit body
This moves the IME shortcut handling over to the keystroke matcher so
that it
can not clear pending matches when trying out the IME equivalent.
Release Notes:
- vim: add `g s` / `g S` to show symbols in the current buffer /
workspace
- Fix multi-key shortcuts with modifiers (preview-only)