84b05d6
Maintain view stack as part of `DispatchTree`
Antonio Scandurra created
84b05d6
Maintain view stack as part of `DispatchTree`
Antonio Scandurra created
f55870f
Reuse mouse and keyboard listeners when reusing geometry for a view
Antonio Scandurra created
29ed067
Add a missing default value to docs (#3973)
Release Notes: - N/A
Piotr Osiewicz created
a0f9393
Remove some todo!'s from the code (#3972)
Release Notes: - N/A
Kirill Bulatov created
625c9d8
Remove some todo!'s
Kirill Bulatov created
aa1d2d2
Remove dbg! usage from tests
Kirill Bulatov created
0f7b47a
Run migations on development server start
Conrad Irwin created
82f7dd9
Prototype cursor sharing (the inefficient way)
I think this will be a key user experience driver, but we do need to find a way to enable it without widening our vector clocks.
Conrad Irwin created
8669b08
Failing test for unmuting microphone
Conrad Irwin created
844d161
Allow adding write access to guests
Conrad Irwin created
4afa5fb
Add stories for collab notifications (#3967)
This PR adds some basic stories for collab notifications to make them easier to work on: <img width="1076" alt="Screenshot 2024-01-08 at 9 43 39 PM" src="https://github.com/zed-industries/zed/assets/1486634/4a0adcfa-1134-49c2-b589-74ac1d52af4c"> I factored out a `CollabNotification` component that defines the general structure for one of these notifications, and this is the component that we use in the stories, with representative values passed to it to simulate the different instances of the notification. We can't use the actual notification components in the stories due to their data dependencies. Release Notes: - N/A
Marshall Bowers created
27d4d72
Attempt to write test
Mikayla created
c40a7f3
Stop propagation when deploying the context menu for a project panel entry (#3965)
This PR fixes an issue where right-click on any project panel entry would cause the context menu on the root of the project panel (introduced in #3954) to deploy. We need to stop propagation in the handler on the inner project panel list items so that the click event doesn't bubble up the tree. Release Notes: - Fixed an issue where the project panel was always deploying the root context menu rather than on the clicked item.
Marshall Bowers created
6982b4b
Fix off by 1 error when computing available key bindings (#3964)
Fixes https://github.com/zed-industries/community/issues/2379 Release Notes: - Fixed issue where keybindings in some context menus would not show reliably.
Mikayla Maki created
0684369
Fix off by 1 error when computing available key bindings
Mikayla created
435b5ca
Restore the terminal cursor settings (#3963)
As it says on the tin Release Notes: - Restored the terminal cursor's I-beam and pointing hand settings
Mikayla Maki created
ec7db3f
Restore the terminal cursor settings
Mikayla created
68e705d
Restore the active pane magnification feature (#3961)
As it says on the tin Release Notes: - Restored the active pane magnification setting.
Mikayla Maki created
ca0c06b
Fix assets build (#3962)
Release Notes: - N/A
Conrad Irwin created
6f6fa5b
Fix assets build
Conrad Irwin created
51caa74
Restore the active pane magnification feature
Mikayla created
4007b2f
Tighten up feedback modal design (#3960)
This PR tightens up the design of the feedback dialog: <img width="680" alt="Screenshot 2024-01-08 at 6 20 50 PM" src="https://github.com/zed-industries/zed/assets/1486634/8dc0e687-2459-4ab3-b69f-b610ce067ef1"> <img width="682" alt="Screenshot 2024-01-08 at 6 21 24 PM" src="https://github.com/zed-industries/zed/assets/1486634/f0730710-16e0-4d61-a919-60874442186a"> Release Notes: - Improved the design of the feedback dialog.
Marshall Bowers created
32cd956
Push branch before tag
Conrad Irwin created
e876262
collab 0.35.0
Conrad Irwin created
fac8ebf
Fix error border color for email input in feedback dialog (#3959)
This PR fixes the border color used when the email input in the feedback dialog is invalid. Previously this was hardcoded just to `red` instead of using the appropriate color from the theme. <img width="653" alt="Screenshot 2024-01-08 at 5 40 07 PM" src="https://github.com/zed-industries/zed/assets/1486634/ea01cd76-d661-4512-b668-c82b8d00d84e"> Release Notes: - Fixed the border color used for the email input in the feedback dialog when an invalid email is entered.
Marshall Bowers created
475d91a
guest acls (#3958)
- First pass of real access control - Check user is host for host-broadcasted project messages - Only allow read-write users to update buffers [[PR Description]] 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
59a1648
Disallow creating files with '..' (#3156)
Release Notes: - Fixed a crash that could occur when creating files with '..' in the path
Conrad Irwin created
d7c5d29
Only allow read-write users to update buffers
Conrad Irwin created
71149bc
Fix relative path opening from project symbols
Co-Authored-By: Max <max@zed.dev>
Conrad Irwin and Max created
ae6d09b
chore: Extract `assets` module out of zed crate. (#3957)
This essentially shaves off about 10% off of an incremental build after project change and potentially more if you're changing stuff like `welcome` that's very close to the `zed` crate in the dep graph. That's because macro expansion takes place even in incremental builds it seems? And zed (lib) + zed (bin) could take up to 4 seconds out of an incremental build, which is a *lot* in a 10s build. In reality though it shaves 1 second off of 5 seconds incremental 'welcome'/ 1s off of 10s 'project' builds. Note that we had `assets` crate in the past (removed in #2575 /cc @maxbrunsfeld), but this is a bit different, because `assets` is a dependency of *just* zed and nothing else. We essentially cache macro expansion results ourselves. Release Notes: - N/A
Piotr Osiewicz created
80f204f
Style the chat panel message input (#3956)
This PR styles the message input in the chat panel. <img width="242" alt="Screenshot 2024-01-08 at 4 28 33 PM" src="https://github.com/zed-industries/zed/assets/1486634/48e83692-878e-4891-8e40-8738cdeb23a8"> Release Notes: - Improved the styling of the message editor in the chat panel.
Marshall Bowers created
c951b4c
Fix prevention of cross-channel joins (#3949)
Co-Authored-By: Max <max@zed.dev> [[PR Description]] 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
aed97f6
Use "test" consistently
Conrad Irwin created
667d901
Improve chat panel empty states (#3955)
This PR improves the empty states for the chat panel: - The signed-out state has been updated to match our other signed-out panel states. - A new state has been added to account for the case where a user is signed in but doesn't have an active chat. Release Notes: - Improved the design of empty states in the chat panel.
Marshall Bowers created
ed76315
Fix prevention of cross-channel joins
Co-Authored-By: Max <max@zed.dev>
Conrad Irwin and Max created
604fcd8
No .. paths...
Conrad Irwin created
a2a0628
Show context menu on project panel empty space right click (#3954)
Deals with https://github.com/zed-industries/community/issues/2383 Release Notes: - Fixed context menu not shown when right clicking empty project panel space
Kirill Bulatov created
35ce34c
Show context menu on project panel empty space right click
Kirill Bulatov created
18b31f1
Check user is host for host-broadcasted project messages
Max Brunsfeld created
7235b3d
Clean up outline selections when its modal gets closed (#3953)
Release Notes: - Fixed outline selections not being cleared on certain modal dismiss actions
Kirill Bulatov created
2ca17bd
Clean up outline selections when its modal gets closed
Kirill Bulatov created
dd73054
chore: Fix spurious rebuilds of Zed library and binary (#3952)
Currently when one runs `cargo build` twice without changing anything,
zed lib and binary are gonna get rebuilt every time. I checked out cargo
logs and it turns out we were querying wrong path to `.git/logs/HEAD` in
our build.rs, causing it to rerun on every build and thus marking zed
lib as dirty.
See logs (`CARGO_LOG=cargo::core::compiler::fingerprint=trace cargo
build`):
```
0.501173792s INFO cargo::core::compiler::fingerprint: fingerprint dirty for zed v0.120.0 (/Users/hiro/Projects/zed/crates/zed)/RunCustomBuild/TargetInner { ..: custom_build_target("build-script-build", "/Users/hiro/Projects/zed/crates/zed/build.rs", Edition2021) }
0.501180417s INFO cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleItem(MissingFile("/Users/hiro/Projects/zed/crates/zed/.git/logs/HEAD")))
```
The path to .git directory is relative to crates/zed and not to the
workspace's root.
/cc @maxbrunsfeld
Release Notes:
- N/A
Piotr Osiewicz created
8214a7f
Fix inconsistent sizing between the buffer search and the project search (#3951)
This PR fixes the inconsistent sizing between the buffer search and the project search when both elements have both a primary and secondary item shown in the toolbar. Release Notes: - Fixed some inconsistent sizing in the buffer search and project search when both have two rows of tools in the toolbar.
Marshall Bowers created
a3bc482
First pass of real access control
Co-Authored-By: Max<max@zed.dev>
Conrad Irwin and Max created
5c28c68
theme: Removed commented-out `ActiveTheme` impl (#3950)
This PR removes a commented-out implementation for the `ActiveTheme` trait on the `WindowContext`. We don't need this implementation as we can go through the `AppContext`'s implementation. Release Notes: - N/A
Marshall Bowers created
9b06c66
terminal: Remove resolved TODO (#3948)
This PR removes a resolved TODO in the `terminal` crate. Release Notes: - N/A
Marshall Bowers created
00fc22a
terminal: Clean up doc comment for `rgb_for_index` (#3947)
This PR cleans up the doc comment for the `rgb_for_index` function. Release Notes: - N/A
Marshall Bowers created
1bf7afd
Update Copilot UI (#3904)
Updates Zed2 Copilot UI - Introduces the `Headline` component for rendering large text - Styles the 3 Copilot prompt states   Release Notes: - Updated the connect Copilot modal UI.
Nate Butler created
c9193b5
WIP
Antonio Scandurra created
e4b1c76
Display setting documentation in settings.json (#3936)
Let this screenshot of settings.json speak for itself:  Release Notes: - Added code completion & on-hover documentation to Zed's settings.json file. --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Piotr Osiewicz and Marshall Bowers created