036e637
Disallow self-management for admins
Conrad Irwin created
036e637
Disallow self-management for admins
Conrad Irwin created
6223206
Close modals when focus leaves
This is more similar to zed1's behaviour, and allows us to work around the difficulty in defining `on_mouse_down_out` for modals that have overlays.
Conrad Irwin created
47971ec
Add command palette action events (#4065)
Release Notes: - N/A
Joseph T. Lyons created
268d156
Add command palette action events
Joseph T. Lyons created
deac172
Restore re-rendering of editors on buffer font size changes (#4064)
Now that views are cached, we need to explicitly `.notify()` text editors when the buffer font size changes. * [x] Notify editors when settings change, or adjusting buffer font size * [x] Figure out why non-focused editors still do not re-render when adjusting buffer font size * [x] Reset buffer font size adjustment when the size is updated in the user's settings
Max Brunsfeld created
d84785f
Put back logic for resetting buffer font adjustment on settings change.
Max Brunsfeld created
1e755aa
Notify global observers when removing a global
Max Brunsfeld created
8f1633e
Iterate from leaf to root when marking views dirty in notify
Max Brunsfeld created
f220323
Fix fallback font (#4062)
As this is used if you mis-spell "buffer_font_family", it should be monospace. Also treat "Zed Mono" and "Zed Sans" as valid fonts Follow up to #4045 Release Notes: - Fixes font validation to allow "Zed Mono" as a valid font
Conrad Irwin created
8f26289
Notify editors on buffer font size changes
Max Brunsfeld created
e57c32e
Avoid playing newly published audio tracks when deafened (#4040)
Release Notes: - Fixed a bug where the 'deafen' button would only apply to audio from the call's current participants, but not any participants who joined after the button was pressed. - Fixed a bug where after being granted write access to a channel, the microphone icon appeared non-muted, even though audio was not shared.
Max Brunsfeld created
e90794d
Add and enhance tests for muting/deafening, fix exposed logic errors
Max Brunsfeld created
8c9f3a7
init color crate
Nate Butler created
55671ea
Select next/previous word for multiple carets if possible
Kirill Bulatov created
acf85db
Add more open events (#4061)
Adds open events for - Welcome page - Project search - Project diagnostics Release Notes: - N/A
Joseph T. Lyons created
b565c44
Avoid panicking when closing a dragged tab (#4057)
Release Notes: - Fixed a panic that could occur when closing a tab while dragging it.
Antonio Scandurra created
f0ed80c
Fix fallback font
As this is used if you mis-spell "buffer_font_family", it should be monospace. Also treat "Zed Mono" and "Zed Sans" as valid fonts
Conrad Irwin created
24db41f
Remove debugs
Joseph T. Lyons created
355d1fc
Remove button event function
Joseph T. Lyons created
148c294
Removed button event
Joseph T. Lyons created
ba9a9f4
Add more open events
project search diagnostics welcome page
Joseph T. Lyons created
9a70a89
Fix project panel being toggled on workspace startup. (#4059)
A sequence of events: Launch Zed -> Quit Zed -> Launch Zed would leave you with a project panel in a a different state on each open (e.g. if it is open on 1st one, 2nd run will have it closed). We were essentially not tracking whether the deserialization took place. Release Notes: - Fixed project panel being toggled on/off on startup due to incorrect tracking of serialization state (solves https://github.com/zed-industries/community/issues/2406)
Piotr Osiewicz created
97047ff
Enable Channels for everyone
Conrad Irwin created
e2f08a6
Add LSP logs into the end of the editor, not after its caret (#4060)
Also prevent tabs from being added in readonly editors Release Notes: - Fixed LSP logs being inserted into the editor incorrectly - Fixed `editor::Tab` action inserting tabs in read-only files
Kirill Bulatov created
92add99
Add LSP logs into the end of the editor, not after its caret
Also prevent tabs from being added in readonly editors
Kirill Bulatov created
e60117d
Avoid panicking when closing a dragged tab
Co-Authored-By: Max <max@zed.dev> Co-Authored-By: Nathan <nathan@zed.dev>
Antonio Scandurra , Max , and Nathan created
1b35b93
Avoid retrieving layout bounds inside of right click menu event handler (#4056)
By the time the event handler is invoked, all information about the rendered layout tree is gone. Release Notes: - N/A
Antonio Scandurra created
e4728b0
Preserve tooltips requested by cached views (#4055)
Release Notes: - N/A
Antonio Scandurra created
a56265e
Avoid retrieving layout bounds inside of right click menu event handler
Co-Authored-By: Nathan <nathan@zed.dev> Co-Authored-By: Max <max@zed.dev>
Antonio Scandurra , Nathan , and Max created
69bbcba
Preserve tooltips requested by cached views
Co-Authored-By: Nathan <nathan@zed.dev> Co-Authored-By: Max <max@zed.dev>
Antonio Scandurra , Nathan , and Max created
a92b9ab
Fix unaligned close button in tab bar (#4054)
This fixes the close button not being vertically aligned in the tab bar. ## Before  ## After  --- Release Notes: - Fixed close-tab button not being vertically aligned in the tab bar.
Thorsten Ball created
b9be214
Fix unaligned close button in tab bar
Co-authored-by: Marshall <marshall@zed.dev>
Thorsten Ball and Marshall created
90f4c70
Rename `h_stack` and `v_stack` to `h_flex` and `v_flex`, respectively (#4053)
This PR renames the `h_stack` and `v_stack` to `h_flex` and `v_flex`, respectively. We were previously using `h_stack` and `v_stack` to match SwiftUI, but `h_flex` and `v_flex` fit better with the web/flexbox terminology that the rest of GPUI uses. Additionally, we were already calling the utility functions used to implement `h_stack` and `v_stack` by the new names. Release Notes: - N/A
Marshall Bowers created
b136d21
Make tab close button square (#4052)
This PR makes the close button for tabs square. `IconButton` now accepts a `shape`, and using `IconButtonShape::Square` will ensure the `IconButton` is square with respect to its contained icon. #### Before <img width="119" alt="Screenshot 2024-01-15 at 10 32 40 AM" src="https://github.com/zed-industries/zed/assets/1486634/dc806b9b-411f-4cd9-8c10-676d2cbd298b"> #### After <img width="116" alt="Screenshot 2024-01-15 at 10 32 24 AM" src="https://github.com/zed-industries/zed/assets/1486634/8b4ef43c-14b6-449f-a235-5d7affd82c4e"> Release Notes: - Changed the tab close button to be square.
Marshall Bowers created
1da9c8b
Rebuild shader header when cbindgen sources have changed (#4051)
This was causing the Metal shaders to incorrectly interpret the primitives submitted by GPUI, which in turn caused rendering to be completely borked. Release Notes: - N/A
Antonio Scandurra created
ef4831b
Prevent storybook dialog from swallowing terminal cursor when ctrl-c-ed (#4050)
Honestly thought this was a bug with our terminal port lol. Turns out its an oversight in the `dialoguer` crate but its seems pretty easy to work around so might as well Release Notes: - N/A
Julia created
0ff5603
Rebuild shader header when cbindgen sources have changed
Co-Authored-By: Thorsten <thorsten@zed.dev>
Antonio Scandurra and Thorsten created
5000a53
Prevent storybook dialog from swallowing terminal cursor when ctrl-c-ed
Julia created
e52a229
gpui: Pin to font-kit with improved OTC parsing performance. (#4047)
Details are in https://github.com/zed-industries/font-kit/pull/1; We're not doing anything too fancy, really. Still, you should mostly see font loading times drop significantly for font collections Release Notes: - Improved loading performance of large font collections (e.g. Iosevka). Fixes https://github.com/zed-industries/community/issues/1745, https://github.com/zed-industries/community/issues/246 https://github.com/zed-industries/zed/assets/24362066/f70edbad-ded6-4c12-9c6d-7a487f330a1b
Piotr Osiewicz created
f061015
Do not run squawk tests outside of PR builds (#4049)
Release Notes: - N/A
Kirill Bulatov created
346103d
Do not run squawk tests outside of PR builds
Kirill Bulatov created
fc294ce
Disable copilot for feedback and lsp log editors (#4048)
LSP log editor caused recursive flood of messages, and feedback editor is better with people writing their own feedback. Release Notes: - Fixed hanging due to excessive logs when browsing Copilot LSP logs
Kirill Bulatov created
253c8db
Disable copilot for feedback and lsp log editors
LSP log editor caused recursive flood of messages, and feedback editor is better with people writing their own feedback.
Kirill Bulatov created
80c0d09
Fix editor stealing click events from copy-error button (#4046)
This fixes the click event on the "copy error message" button by changing the `editor` element to ignore mouse-down events when the default was prevented. That's similar to how `div` does it. Release Notes: - Fixed a bug that prevented "copy error message" button from being clicked.
Thorsten Ball created
74f3366
Fix editor stealing click events from copy-error button
Co-authored-by: Antonio <antonio@zed.dev>
Thorsten Ball and Antonio created
9c672f7
Introduce view caching (#4019)
<img width="996" alt="image" src="https://github.com/zed-industries/zed/assets/482957/a5683382-6ff1-4558-9e9b-ebc17bc00289"> TODO: - [x] Fix rename editor not updating Release Notes: - Improved rendering performance when editing.
Antonio Scandurra created
05d05b0
Pop node from dispatch tree during `cx.paint_view`
Co-Authored-By: Thorsten <thorsten@zed.dev>
Antonio Scandurra and Thorsten created
4ff514c
Merge remote-tracking branch 'origin/main' into cache
# Conflicts: # crates/gpui/src/elements/div.rs
Antonio Scandurra created
600b5c6
Try sqwauk (#4032)
It'd be nice to automatically get warned if you're about to do a backward incompatible migration mistakenly, and sqauwk does exactly that. Release Notes: - (Added|Fixed|Improved) ... ([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/<public_issue_number_if_exists>)).
Conrad Irwin created
29ce109
chat panel ++ (#4044)
- Update chat panel with current channel - Open chat panel for guests - Open chat when joining a channel with guests - Some tweaks for chat panels - Don't lose focus on default panel state - Make chat prettier (to my eyes at least) - Fix multiple mentions in one message - Show a border when scrolled in chat - Fix re-docking chat panel - Move settings subscription to dock [[PR Description]] Release Notes: - Opens chat by default when joining a public channel - Improves chat panel UI
Conrad Irwin created