Kirill Bulatov
57d00e1480
Do not run squawk tests outside of PR builds
2024-01-15 16:20:53 +02:00
Kirill Bulatov
7755e5145e
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
2024-01-15 15:59:27 +02:00
Kirill Bulatov
e5827c49ff
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.
2024-01-15 15:49:23 +02:00
Thorsten Ball
b0976f74cb
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.
2024-01-15 14:03:15 +01:00
Thorsten Ball and Antonio
530638a765
Fix editor stealing click events from copy-error button
...
Co-authored-by: Antonio <antonio@zed.dev >
2024-01-15 13:47:09 +01:00
Antonio Scandurra
3a27bbd105
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.
2024-01-15 13:26:08 +01:00
Antonio Scandurra and Thorsten
4ba5fbd20e
Pop node from dispatch tree during cx.paint_view
...
Co-Authored-By: Thorsten <thorsten@zed.dev >
2024-01-15 11:46:46 +01:00
Antonio Scandurra
9526dee28b
Merge remote-tracking branch 'origin/main' into cache
...
# Conflicts:
# crates/gpui/src/elements/div.rs
2024-01-15 11:37:46 +01:00
Conrad Irwin
14f097db8b
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>)).
2024-01-14 13:54:35 -07:00
Conrad Irwin
4704e268d2
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
2024-01-14 13:54:10 -07:00
Conrad Irwin
3378cab3f7
Fix tests for TestPanel
2024-01-14 12:26:54 -07:00
Conrad Irwin
50c4f07c95
Default to Zed Sans for UI ( #4045 )
...
Release Notes:
- Improve legibility of default UI font
2024-01-14 12:22:32 -07:00
Conrad Irwin
d1d9c3fca6
Remove unused imports
2024-01-13 22:44:47 -07:00
Conrad Irwin
d6d8d41808
Move settings subscription to dock
...
Reduces likelihood of panels being unable to move themselves
2024-01-13 22:41:26 -07:00
Conrad Irwin
0fdbce875b
Default to Zed Sans for UI
2024-01-13 22:38:22 -07:00
Conrad Irwin
39c6156210
Fix re-docking chat panel
2024-01-13 22:26:25 -07:00
Conrad Irwin
2ea8c1baee
Show a border when scrolled in chat
2024-01-13 22:19:21 -07:00
Conrad Irwin
d97618364c
Fix multiple mentions in one message
2024-01-13 21:53:22 -07:00
Conrad Irwin
7f6968d1a5
Make chat prettier (to my eyes at least)
2024-01-13 21:37:13 -07:00
Conrad Irwin
974b969a3a
Don't lose focus on default panel state
2024-01-13 14:32:24 -07:00
Mikayla Maki
2e09d65fce
Restore temp file initialization in telemetry code ( #4043 )
...
Release Notes:
- Fix 'open telemetry log' command to actually show the telemetry log.
2024-01-13 09:04:08 -08:00
Mikayla
610455254b
Don't open files unescessary in dev builds
2024-01-12 22:47:07 -08:00
Mikayla
3c34f6282d
Restore temp file initialization in telemetry code
2024-01-12 21:37:09 -08:00
Mikayla Maki
c9db609074
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.
2024-01-12 21:17:10 -08:00
Mikayla
e97cc63aaa
Disable searches for '.', so that users with large monitors don't accidentally crash the terminal when searching for dot files.
2024-01-12 21:12:02 -08:00
Mikayla Maki
414ef53f24
Remove last commented code ( #4041 )
...
Release Notes:
- N/A
2024-01-12 21:08:39 -08:00
Mikayla
461f30f2e2
fmt
2024-01-12 21:02:01 -08:00
Mikayla
6f891a3553
Remove last stale code
2024-01-12 20:59:19 -08:00
Mikayla
4a824521f3
remove more commented code
2024-01-12 20:10:40 -08:00
Mikayla
8604fcac41
Remove some comments
2024-01-12 20:10:40 -08:00
Max Brunsfeld
80647be85a
Don't initialize audio crate in integration tests
...
Otherwise, a lot of time is spent in Audio::play_sound
2024-01-12 17:29:33 -08:00
Nathan Sobo
af22ac93a5
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
2024-01-12 15:28:19 -08:00
Max Brunsfeld
dac7d53250
Don't run newly published audio tracks when deafened
...
Also, simplify the management of the muted and deafened state in Room.
2024-01-12 15:12:29 -08:00
Conrad Irwin
b024e2e866
Some tweaks for chat panels
2024-01-12 16:01:51 -07:00
Julia
677939281e
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.
2024-01-12 17:52:24 -05:00
Max Brunsfeld
9cdd078ae7
Add LiveKit APIs for starting and stopping audio tracks
2024-01-12 14:46:17 -08:00
Julia
ed8801bf24
Still paint group hover handler for invisible divs
...
Fixes bug where tab close icon show on hover is inconsistent
2024-01-12 17:44:15 -05:00
Conrad Irwin
bd915759a0
Open chat when joining a channel with guests
...
(and close it when leaving a channel again)
2024-01-12 15:08:14 -07:00
Conrad Irwin
050261f21f
Update graphics memory assert to be more helpful
2024-01-12 14:35:50 -07:00
Mikayla
0335cd4ba7
Add some context to assert
2024-01-12 12:40:37 -08:00
Conrad Irwin
941bcfe8b8
Boop
2024-01-12 12:40:09 -07:00
Max Brunsfeld
962b492e54
Forbid paste, undo, redo on read-only editors ( #4037 )
...
Release Notes:
- Fixed a bug where guests could paste into buffers that were intended
to be read-only.
2024-01-12 11:26:44 -08:00
Max Brunsfeld
5df7ac5fae
Forbid paste, undo, redo on read-only editors
2024-01-12 10:38:05 -08:00
Conrad Irwin
810e4afa69
Open chat panel for guests
2024-01-12 10:34:24 -07:00
Conrad Irwin
7d2e50b361
Update chat panel with current channel
2024-01-12 10:23:30 -07:00
Joseph T. Lyons
b15dde5d56
Fix panic with many participants ( #4035 )
...
Fix bug from first test
Release Notes:
- (Added|Fixed|Improved) ...
([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/ <public_issue_number_if_exists>)).
2024-01-12 12:06:31 -05:00
Antonio Scandurra
abc3376bee
Fix warning
2024-01-12 18:06:18 +01:00
Conrad Irwin
575f59637d
Fix panic with many participants
2024-01-12 10:02:55 -07:00
c44c5809ac
Ensure editor elements invalidate their parent views on notify
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Conrad Irwin <conrad@zed.dev >
2024-01-12 17:36:11 +01:00
Marshall Bowers
79e83919d9
Clean up some theme TODOs ( #4034 )
...
This PR cleans up some TODOs we had in the themes.
We won't be addressing these in the immediate term, so no need to have
them show up when folks are looking for TODOs to burn down before
launch.
I added some general notes as signposts until we're ready to revisit
this.
Release Notes:
- N/A
2024-01-12 10:37:18 -05:00