Commit Graph
39 Commits
Author SHA1 Message Date
Conrad Irwin c848fdf35d gpui2: Notifications 2023-11-26 22:28:53 -07:00
42dfefd738 WIP
co-authored-by: conrad <conrad@zed.dev>
co-authored-by: Nathan <nathan@zed.dev>
2023-11-20 14:46:01 -08:00
Conrad Irwin 7147bff519 Merge followup mess 2023-11-20 09:58:05 -07:00
Conrad Irwin 16cca67638 Merge branch 'main' into derive-element-redux 2023-11-20 09:15:38 -07:00
Nathan Sobo 42badd5d25 Clean compile with redesigned element traits 2023-11-18 21:51:47 -07:00
Nathan Sobo d2d1f1a1ff Element refinement passing on ui2 2023-11-18 20:05:47 -07:00
Julia 90cbd0db5d Merge branch 'main' into unborked-git-zed2-diagnostics-view 2023-11-17 16:43:29 -05:00
Julia 9a986fc6ab Merge branch 'main' into unborked-git-zed2-diagnostics-view 2023-11-17 16:32:35 -05:00
Julia 4f411715b3 Render diagnostics view and such a bit more 2023-11-17 16:32:35 -05:00
Mikayla 229d0e4479 Merge branch 'main' into managed-view-adjustment 2023-11-17 12:40:44 -08:00
Mikayla d2d9698adc Rename again, add fun cx APIs using new traits 2023-11-17 10:06:41 -08:00
Mikayla 5a0085ac6e Adjust the type arrangement on ManagedViews 2023-11-17 09:51:11 -08:00
Conrad Irwin b5a55a978e +ManagedView
And some games with rust traits
2023-11-16 23:02:10 -07:00
Mikayla 1ec9eaa36f #RemoveThe2 2023-11-16 18:04:35 -08:00
Marshall Bowers 89cd4ac842 Parameterize theme2::init to allow loading just the base theme (#3345)
This PR adds a parameter to the `theme2::init` method to indicate what
the theme-loading behavior should be.

This allows us to indicate when we want to load all of the additional
built-in user themes (like in the Zed binary and in the storybook), and
when we don't want to load the user themes (like in tests).

We're using an enum over just a `bool` here for clarity at the call
site.

Release Notes:

- N/A
2023-11-16 13:03:30 -05:00
Conrad Irwin 5a78d0f94f Leaky, but better, test abstraction 2023-11-15 14:01:10 -07:00
Conrad Irwin 1699d61248 FileFinder tests 2023-11-15 13:16:28 -07:00
Conrad Irwin 4da07b9274 Add command palette tests and simulate_keystrokes 2023-11-14 23:22:51 -07:00
Conrad Irwin 1a79b76549 Fix panicking unwrap() 2023-11-14 11:27:52 -07:00
Nathan Sobo 5fcd29f74d WIP 2023-11-14 11:00:52 -07:00
Nathan Sobo 7d1a6a81df Merge remote-tracking branch 'origin/main' into element-types 2023-11-14 01:55:58 -07:00
Nathan Sobo 4df524687e Rename back to div 2023-11-14 01:41:55 -07:00
Nathan Sobo 14d5584205 Checkpoint 2023-11-14 01:15:48 -07:00
Conrad Irwin dba8da9a6b Update command matches faster 2023-11-13 18:21:08 -07:00
Conrad Irwin 45966b2960 Add KeyBindings to CommandPalette 2023-11-13 15:40:49 -07:00
Nate ButlerandMarshall Bowers c13a82fabf Resolve errors
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-13 13:16:05 -05:00
3f549377da Redine command palette style
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>
2023-11-13 13:13:40 -05:00
Nate Butler 13a8138462 Update command palette style 2023-11-12 22:13:54 -05:00
Nate ButlerandMarshall Bowers abf4debc13 Refactor command palette, picker and code action styles.
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-10 16:13:25 -05:00
Conrad Irwin 95c1ae6316 Fix panic caused by focusing the same thing twice 2023-11-09 22:25:46 -07:00
Conrad Irwin 8decd62115 Refactor to make ModalLayer a View 2023-11-09 22:15:44 -07:00
Conrad Irwin acd60a35c6 Move from register_modals to register_workspace_action 2023-11-09 21:51:48 -07:00
Conrad Irwin 2b2c24afae Tidy up some more modal behaviour 2023-11-09 21:11:44 -07:00
Conrad Irwin 8b5d37ffa4 Tidy up 2023-11-09 20:58:35 -07:00
Conrad Irwin 24049ece95 Render more than one item 2023-11-09 16:36:36 -07:00
Conrad Irwin f02f75bc86 Make command dispatching work 2023-11-09 15:14:23 -07:00
Piotr OsiewiczandConrad 0493b2f3a3 Some more woogaloo around action dispatch
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-09 18:51:41 +01:00
Piotr OsiewiczandConrad bbc0341411 Fix up keybindings propagation
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-09 18:33:36 +01:00
Piotr Osiewicz 9228845242 Start working on command_palette2 2023-11-09 17:54:05 +01:00