zed/crates
Marshall Bowers 4afa5fb23e
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
2024-01-08 21:54:59 -05:00
..
activity_indicator Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
ai gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
assets Fix assets build 2024-01-08 16:53:01 -07:00
assistant Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
audio Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
auto_update Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
breadcrumbs Fix inconsistent sizing between the buffer search and the project search (#3951) 2024-01-08 14:40:48 -05:00
call Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
channel Fix tests 2024-01-06 16:10:40 -05:00
cli Code to allow opening zed:/channel/1234 2023-10-05 14:57:45 -07:00
client Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
clock Remove local timestamps from CRDT operations 2023-08-31 16:23:06 -07:00
collab collab 0.35.0 2024-01-08 15:47:59 -07:00
collab_ui Add stories for collab notifications (#3967) 2024-01-08 21:54:59 -05:00
collections Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
command_palette Fix some bugs in keymap handling (#3895) 2024-01-04 16:04:17 -05:00
copilot Move UI for copilot sign in to copilot_button 2024-01-05 15:58:45 +01:00
copilot_ui Update copilot ui 2024-01-08 13:21:45 -05:00
db Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
diagnostics Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
editor Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
feature_flags Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
feedback Tighten up feedback modal design (#3960) 2024-01-08 18:28:37 -05:00
file_finder Fix relative path opening from project symbols 2024-01-08 15:12:22 -07:00
fs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
git Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
go_to_line Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
gpui Fix off by 1 error when computing available key bindings 2024-01-08 17:30:24 -08:00
gpui_macros gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
install_cli Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
journal Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
language Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
language_selector Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
language_tools gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
live_kit_client Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
live_kit_server Prevent guests from screen-sharing, unmuting or screen sharing 2024-01-03 19:31:43 -07:00
lsp Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
media Start fixing up gpui2 2024-01-02 00:04:51 +01:00
menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
multi_buffer Track read_only per project and buffer 2024-01-03 19:31:43 -07:00
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications Rename notification_store 2024-01-03 20:02:23 -05:00
outline Clean up outline selections when its modal gets closed 2024-01-08 21:52:03 +02:00
picker Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros Fix typos 2023-06-02 22:02:19 -04:00
plugin_runtime Bump Rust to 1.75 (#3815) 2023-12-28 19:22:43 +01:00
prettier Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
project Disallow creating files with '..' (#3156) 2024-01-08 15:43:57 -07:00
project_panel Stop propagation when deploying the context menu for a project panel entry (#3965) 2024-01-08 20:51:14 -05:00
project_symbols gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
quick_action_bar Fix inconsistent sizing between the buffer search and the project search (#3951) 2024-01-08 14:40:48 -05:00
recent_projects Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
refineable Another batch of fixups 2024-01-02 00:24:11 +01:00
rich_text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rope Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rpc Check user is host for host-broadcasted project messages 2024-01-08 12:04:59 -08:00
search Tidy up TestContext lifecycle 2024-01-05 16:31:41 -07:00
semantic_index Disallow creating files with '..' (#3156) 2024-01-08 15:43:57 -07:00
settings gpui: Remove dependency on sqlez (#3871) 2024-01-05 19:36:55 +01:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez sqlez 2024-01-01 23:56:04 +01:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
story Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
storybook Add stories for collab notifications (#3967) 2024-01-08 21:54:59 -05:00
sum_tree chore: fix clippy lints for rope2, sum_tree, text2 and util 2024-01-01 23:50:14 +01:00
terminal terminal: Clean up doc comment for rgb_for_index (#3947) 2024-01-08 13:33:41 -05:00
terminal_view Restore the terminal cursor settings 2024-01-08 16:02:39 -08:00
text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
theme theme: Removed commented-out ActiveTheme impl (#3950) 2024-01-08 13:51:18 -05:00
theme_importer gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
theme_selector WIP 2024-01-06 14:41:35 -05:00
ui Update Copilot UI (#3904) 2024-01-08 13:33:30 -05:00
util Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vcs_menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vim Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
welcome Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
workspace Restore the active pane magnification feature 2024-01-08 15:48:31 -08:00
zed chore: Extract assets module out of zed crate. (#3957) 2024-01-08 22:49:14 +01:00
zed_actions Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00