Commit Graph
932 Commits
Author SHA1 Message Date
Piotr Osiewicz fa148af2bc Merge branch 'main' into collab-titlebar-2 2023-06-22 13:48:16 +02:00
Nate Butler 165f7d5e0a Split Interactive into Interactive and Toggleable (#2628)
This is a part of the intensity driven theme rewrite. 

It introduces the `toggle` and `interactive` helper functions to build
Toggle<T> and Interactive<T> styles for interactive elements in the
theme.

This PR also removes the `theme_testbench` crate and related actions.

Huge thanks to @osiewicz and @mikayla-maki for pushing this forward 🙏🏽

Release Notes:

- Updated the style of many interactive elements.
2023-06-21 15:03:08 -04:00
Mikayla Maki 87b1a62d0d Add copy-on-click to diagnostic messages 2023-06-20 16:48:30 -07:00
Mikayla Maki fd2a2ac6e3 Remove unescessary enum 2023-06-20 16:05:23 -07:00
Piotr Osiewicz 34b49ae271 Adjust some of the styles to the new Toggleable format 2023-06-20 16:05:23 -07:00
Piotr Osiewicz d67640e475 Rename on/off states to active/inactive 2023-06-20 16:05:23 -07:00
Piotr Osiewicz 406e160730 Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
Max Brunsfeld ce67424f65 Show a notification that gopls can't be installed without go 2023-06-19 18:05:12 -07:00
Mikayla Maki 6cf4693b01 Add audio APIs to Zed
Share mic on joining room
2023-06-16 10:13:27 -07:00
Mikayla Maki d619df66bd Focus on toggle dock (#2612)
This PR updates some dock behaviors. Now the toggle-dock commands
(cmd-j/b/r) also toggle focus. This also adds zoom serialization to the
docks.

Release Notes:
- Bug fix: Toggle dock commands (cmd-j/b/r) now move focus 
- Bug fix: Dock zoom is now restored with the rest of the workspace
2023-06-15 15:20:20 -07:00
Mikayla Maki 9b8f28d984 fixed tests to match new behavior 2023-06-15 15:09:37 -07:00
Mikayla Maki 38448a91fe Fix bug on workspace deserialization 2023-06-15 14:56:37 -07:00
Mikayla Maki 7f65a6fda0 Fix fmt 2023-06-15 14:51:38 -07:00
Antonio Scandurra 2d88135321 Activate screen-sharing when leader activates a panel 2023-06-15 18:01:30 +02:00
Mikayla Maki 0b698afc1c Add zoom serialization to the workspace 2023-06-14 23:43:45 -07:00
Mikayla Maki 1fd0218dc3 Add focusing into the toggle dock commands 2023-06-14 23:04:41 -07:00
Max Brunsfeld 5603fbe39c Restructure LSP log view to show log messages in addition to RPC trace 2023-06-07 16:51:09 -07:00
Antonio Scandurra 82749a0483 Merge remote-tracking branch 'origin/main' into assistant-2 2023-06-06 19:18:22 +02:00
Antonio ScandurraandJulia Risley c656427838 Set assistant editor's title based on the first question/answer pair
Co-Authored-By: Julia Risley <julia@zed.dev>
2023-06-06 15:59:10 +02:00
Max Brunsfeld 8554fbc19b 🎨 Move OpenSettings action back to the zed crate 2023-06-05 17:43:05 -07:00
Max Brunsfeld f04b161b1a Apply bounds to all windows when using start-local-collaboration script 2023-06-05 14:36:21 -07:00
Joseph Lyons 4b5a7ec94a Fix typos 2023-06-02 22:02:19 -04:00
Antonio Scandurra 58959e4179 Merge remote-tracking branch 'origin/main' into assistant-2 2023-06-02 09:32:11 +02:00
Max Brunsfeld b763f8f05e Unzoom all panes when opening a dock 2023-06-01 15:20:15 -07:00
Kirill Bulatov 71835813f5 Remove wrong assertion 2023-06-01 16:51:29 +03:00
Mikayla Maki a17dc5dd0f Add a dock-keybinding-changed one-time notification (#2546)
This code is intended to be removed at a later date.

Release Notes:

- N/A
2023-05-31 14:28:12 -07:00
Mikayla Maki 9a34237553 Remove version check 2023-05-31 14:23:56 -07:00
Mikayla Maki 619588414b De-morgans properly 2023-05-31 14:21:38 -07:00
Mikayla Maki b39e03365e fmt 2023-05-31 14:17:27 -07:00
Mikayla Maki 93b7529435 add version check 2023-05-31 14:16:37 -07:00
Mikayla Maki f76ad1cb7a Remove silly panic 2023-05-31 14:10:50 -07:00
Mikayla Maki f60883e481 Add panic if version is 0.91 2023-05-31 14:06:36 -07:00
Mikayla Maki 424a3f96b3 Fix notification styling, minimize database reads 2023-05-31 13:56:41 -07:00
Max Brunsfeld 46143a1670 🎨 2023-05-31 13:07:20 -07:00
Max Brunsfeld 382d5ff8ea When revealing items, zoom-out any inactive panes 2023-05-31 13:05:50 -07:00
Max Brunsfeld 4ff9201190 Use active color for zoom button in a zoomed pane 2023-05-31 12:51:57 -07:00
Max Brunsfeld 12cb559e37 Only include one border edge for zoomed panels 2023-05-31 12:45:55 -07:00
Max Brunsfeld c561b0627e Dismiss zoomed panels by closing their dock, not zooming them out 2023-05-31 12:45:55 -07:00
Max Brunsfeld 58674f5f13 Make active panel's button close its dock 2023-05-31 10:29:59 -07:00
Mikayla Maki 13d8e54f7d WIP: Add toast when users attempt to use shift-escape for the first time 2023-05-30 17:48:41 -07:00
Mikayla Maki 24432244c6 fmt 2023-05-30 16:33:42 -07:00
Mikayla Makiandmax 3526c0a9d3 Seperate pane and panel styling
co-authored-by: max <max@zed.dev>
2023-05-30 16:23:16 -07:00
Mikayla Maki d79367f7c9 Rework new terminal actions 2023-05-30 16:10:07 -07:00
Mikayla Makiandmax 086a5f1448 Fix focus bug with new docks
co-authored-by: max <max@zed.dev>
2023-05-30 15:40:30 -07:00
Mikayla Maki 79f48cd8b3 Fix bug in panel button dispatch 2023-05-30 15:17:42 -07:00
Mikayla Makiandmax f367dd344c WIP: iron out bugs in interaction between toggle and toggle focus key bindings
co-authored-by: max <max@zed.dev>
2023-05-30 14:55:49 -07:00
Mikayla Makiandmax d80286043a Remove focus side effects from toggle dock commands
co-authored-by: max <max@zed.dev>
2023-05-30 12:32:00 -07:00
Mikayla Makiandmax cb43881260 WIP: Remove focus side effects from toggle dock commands
co-authored-by: max <max@zed.dev>
2023-05-30 12:00:15 -07:00
Mikayla Makiandmax f91d284017 Seperate open and zoom bits conceptually for new panels
co-authored-by: max <max@zed.dev>
2023-05-30 11:52:14 -07:00
Antonio Scandurra a81821a2fe Start on assistant::QuoteSelection 2023-05-30 15:25:53 +02:00