zed/crates
Michael Angerman ba6b319046
Add an app_menu to Storybook which enables quitting with cmd-q (#8166)
I really think storybook is a cool standalone app but there are some
usability issues that are getting in the way of making this a fun tool
to use.

Currently it is not easy to gracefully exit out of storybook.

In fact even trying to Ctrl-c out of storybook seems currently broken to
me...

So the only real way to exit out of storybook is to kill the process
after a Ctrl-z.

This PR attempts to make this much easier by adding a simple app_menu
with a menu item called quit along with the ability to *Cmd-q* out of
storybook as well...

Both the menu item quit and *Cmd-q* gracefully exit storybook.

There are still a bunch of issues with storybook which I plan on
addressing in future PR's but this is a start and something that to me
is the highest priority to make storybook more functional and easy to
use moving forward.

One of my longer term goals of storybook is to have it be a nice stand
alone application similar to
[Loungy](https://github.com/MatthiasGrandl/Loungy) which can be used as
a nice tutorial application for how to develop a real world *gpui* app.

For that reason I added a *assets/keymaps/storybook.json* file as well.
2024-02-22 12:51:40 -05:00
..
activity_indicator
ai Allow OpenAI API URL to be configured via assistant.openai_api_url (#7552) 2024-02-12 11:37:27 -05:00
assets
assistant Hide Inline Assist button if assistant.button is disabled (#7932) 2024-02-18 08:14:08 +02:00
audio
auto_update Add action to open release notes locally (#8173) 2024-02-22 02:20:06 -05:00
breadcrumbs
call talkers (#8158) 2024-02-22 10:07:36 -07:00
channel talkers (#8158) 2024-02-22 10:07:36 -07:00
cli Actually fail on clippy failures (#7619) 2024-02-09 10:13:00 -08:00
client
clock Add documentation to many core editor types (#7919) 2024-02-17 09:03:05 -07:00
collab talkers (#8158) 2024-02-22 10:07:36 -07:00
collab_ui talkers (#8158) 2024-02-22 10:07:36 -07:00
collections
color
command_palette Vim: enable sending multiple keystrokes from custom keybinding (#7965) 2024-02-20 15:01:45 -07:00
copilot Copilot: handle "ok" status message when no user is set (#8116) 2024-02-21 11:39:43 +01:00
copilot_ui Add cancel button on GitHub Copilot actions (#7850) 2024-02-16 10:45:55 -05:00
db
diagnostics
editor Editor: tweak label for "Go to implementation" tabs (#8201) 2024-02-22 17:06:25 +01:00
extension Add checkbox to only show installed extensions (#8208) 2024-02-22 12:16:02 -05:00
extensions_ui Add checkbox to only show installed extensions (#8208) 2024-02-22 12:16:02 -05:00
feature_flags
feedback vim: Fix renaming (#7714) 2024-02-12 22:28:26 -07:00
file_finder recent projects: cleanup ui (#7528) 2024-02-19 14:37:52 +02:00
fs Add initial CI job for Windows target (#8088) 2024-02-21 00:35:29 +02:00
fsevent
fuzzy
git
go_to_line
gpui Wayland: implement focus events (#8170) 2024-02-22 09:51:09 -08:00
gpui_macros
install_cli Add initial CI job for Windows target (#8088) 2024-02-21 00:35:29 +02:00
journal
language Add "code_actions_on_format" (#7860) 2024-02-15 14:19:57 -07:00
language_selector recent projects: cleanup ui (#7528) 2024-02-19 14:37:52 +02:00
language_tools
live_kit_client X11: Continuous Presentation (#7762) 2024-02-14 12:24:12 -08:00
live_kit_server
lsp Editor: support go to implementation (#7890) 2024-02-22 14:22:04 +01:00
markdown_preview Add action to open release notes locally (#8173) 2024-02-22 02:20:06 -05:00
media Enable Blade on MacOS via "macos-blade" feature (#7669) 2024-02-16 13:39:40 -08:00
menu
multi_buffer Add documentation to many core editor types (#7919) 2024-02-17 09:03:05 -07:00
node_runtime Download right language server binary for OS (#8040) 2024-02-20 09:53:03 +02:00
notifications
outline recent projects: cleanup ui (#7528) 2024-02-19 14:37:52 +02:00
picker Allow removing workspaces from the "recent projects" modal (#7885) 2024-02-22 01:30:02 +02:00
plugin
plugin_macros
plugin_runtime
prettier Add Prettier support for Vue, Markdown and PHP (#7904) 2024-02-17 11:35:31 +02:00
project Editor: support go to implementation (#7890) 2024-02-22 14:22:04 +01:00
project_panel
project_symbols recent projects: cleanup ui (#7528) 2024-02-19 14:37:52 +02:00
quick_action_bar Hide Inline Assist button if assistant.button is disabled (#7932) 2024-02-18 08:14:08 +02:00
recent_projects Allow removing workspaces from the "recent projects" modal (#7885) 2024-02-22 01:30:02 +02:00
refineable
release_channel
rich_text chat: auto detect links (#8028) 2024-02-19 21:49:47 -07:00
rope Add documentation to many core editor types (#7919) 2024-02-17 09:03:05 -07:00
rpc talkers (#8158) 2024-02-22 10:07:36 -07:00
search Project search bar layout improvements (#7963) 2024-02-20 21:07:01 +02:00
semantic_index Allow OpenAI API URL to be configured via assistant.openai_api_url (#7552) 2024-02-12 11:37:27 -05:00
settings Rename runnables into tasks (#8119) 2024-02-21 14:56:43 +02:00
snippet
sqlez
sqlez_macros
story
storybook Add an app_menu to Storybook which enables quitting with cmd-q (#8166) 2024-02-22 12:51:40 -05:00
sum_tree Add documentation to many core editor types (#7919) 2024-02-17 09:03:05 -07:00
task Add task docs and default keybindings (#8123) 2024-02-21 16:43:56 +02:00
tasks_ui Do not add empty tasks to inventory (#8180) 2024-02-22 12:21:19 +02:00
terminal Rename runnables into tasks (#8119) 2024-02-21 14:56:43 +02:00
terminal_view Runnables: remove version field from the format (#8118) 2024-02-21 14:30:16 +01:00
text Add documentation to many core editor types (#7919) 2024-02-17 09:03:05 -07:00
theme Rename scrollbar_thumb to be consistent with other style properties (#8004) 2024-02-20 11:26:09 -05:00
theme_importer
theme_selector recent projects: cleanup ui (#7528) 2024-02-19 14:37:52 +02:00
ui Add static Runnables (#8009) 2024-02-19 18:41:43 +02:00
util talkers (#8158) 2024-02-22 10:07:36 -07:00
vcs_menu recent projects: cleanup ui (#7528) 2024-02-19 14:37:52 +02:00
vim Add option to either use system clipboard or vim clipboard (#7936) 2024-02-22 10:12:29 -07:00
welcome recent projects: cleanup ui (#7528) 2024-02-19 14:37:52 +02:00
workspace Allow removing workspaces from the "recent projects" modal (#7885) 2024-02-22 01:30:02 +02:00
zed Add ./script/symbolicate (#8165) 2024-02-22 08:50:39 -07:00
zed_actions