b9be214
Fix unaligned close button in tab bar
Click to expand commit body
Co-authored-by: Marshall <marshall@zed.dev>
Thorsten Ball and Marshall 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
b34c780
Fix tests for TestPanel
Conrad Irwin created
27c48d9
Default to Zed Sans for UI (#4045)
Release Notes: - Improve legibility of default UI font
Conrad Irwin created
4d87a67
Remove unused imports
Conrad Irwin created
8986456
Move settings subscription to dock
Reduces likelihood of panels being unable to move themselves
Conrad Irwin created
e90ddba
Default to Zed Sans for UI
Conrad Irwin created
fee369b
Fix re-docking chat panel
Conrad Irwin created
818cbb2
Show a border when scrolled in chat
Conrad Irwin created
c810af4
Fix multiple mentions in one message
Conrad Irwin created
f6ef07e
Make chat prettier (to my eyes at least)
Conrad Irwin created
c2ff9fe
Don't lose focus on default panel state
Conrad Irwin created
89f0d16
Restore temp file initialization in telemetry code (#4043)
Release Notes: - Fix 'open telemetry log' command to actually show the telemetry log.
Mikayla Maki created
4d6dfa3
Don't open files unescessary in dev builds
Mikayla created
1d7dc96
Restore temp file initialization in telemetry code
Mikayla created
acb1373
Disable searches for '.' in the terminal. (#4042)
Release Notes: - N/A A crash that could occur when searching for '.' in the terminal with a large monitor.
Mikayla Maki created
78858d4
Disable searches for '.', so that users with large monitors don't accidentally crash the terminal when searching for dot files.
Mikayla created
adab1cc
Remove last commented code (#4041)
Release Notes: - N/A
Mikayla Maki created
bb35805
fmt
Mikayla created
bfb59f1
Remove last stale code
Mikayla created
5897b18
remove more commented code
Mikayla created
3a836b8
Remove some comments
Mikayla created
5121881
Don't initialize audio crate in integration tests
Otherwise, a lot of time is spent in Audio::play_sound
Max Brunsfeld created
d2c436d
fix bounds checks (#4038)
Ensure we `panic()` instead of crash on graphics memory buffer overflow Also bump the buffer size to 32Mb from 8Mb to make this rarer (but still possible) Release Notes: Fixes some crahes due to lack of graphics buffer spacae
Nathan Sobo created
c2cf288
Don't run newly published audio tracks when deafened
Also, simplify the management of the muted and deafened state in Room.
Max Brunsfeld created
eafe094
Some tweaks for chat panels
Conrad Irwin created
8014d9a
Still paint group hover handler for invisible divs (#4039)
Fixes bug where tab close icon show on hover is inconsistent Release Notes: - Fixed a bug where a tab's close icon would not always appear on hover.
Julia created
aa50f69
Add LiveKit APIs for starting and stopping audio tracks
Max Brunsfeld created
cdc227b
Still paint group hover handler for invisible divs
Fixes bug where tab close icon show on hover is inconsistent
Julia created
50f3bbb
Open chat when joining a channel with guests
(and close it when leaving a channel again)
Conrad Irwin created
aa5c6a8
Update graphics memory assert to be more helpful
Conrad Irwin created
324d1d1
Add some context to assert
Mikayla created
551fd9b
Boop
Conrad Irwin created