ZIm/crates/workspace2/src
Marshall Bowers b559bfd80f
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
..
pane Merge branch 'main' into element-types 2023-11-14 15:49:10 -08:00
persistence WIP 2023-11-16 10:40:02 +02:00
dock.rs Merge branch 'main' into tabs-n-splits 2023-11-15 23:41:25 -08:00
item.rs Add focusable view and restore workspace deserialization. Partially restore split and tab functions 2023-11-15 16:36:43 -08:00
modal_layer.rs FileFinder tests 2023-11-15 13:16:28 -07:00
notifications.rs Fix formatting 2023-11-14 01:58:10 -07:00
pane.rs More compilation fixes 2023-11-16 10:04:18 +02:00
pane_group.rs Add focusable view and restore workspace deserialization. Partially restore split and tab functions 2023-11-15 16:36:43 -08:00
persistence.rs Uncomment persistence tests 2023-11-03 12:38:09 +02:00
searchable.rs Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
shared_screen.rs WIP 2023-10-26 12:27:20 +02:00
status_bar.rs Merge branch 'main' into tabs-n-splits 2023-11-15 23:41:25 -08:00
toolbar.rs Rename back to div 2023-11-14 01:41:55 -07:00
workspace2.rs Parameterize theme2::init to allow loading just the base theme (#3345) 2023-11-16 13:03:30 -05:00
workspace_settings.rs Uncomment persistence tests 2023-11-03 12:38:09 +02:00