Update App Menus to add ...
for some modal action menu, and group menu items by type. (#8951)
Release Notes: - Improved App Menu, add `...` for modal action menu, and group menu items by type. In macOS and Windows, the `...` suffix of menu item, is means that will open a dialog.
This commit is contained in:
parent
4a60326c1c
commit
2f15676b7c
2 changed files with 16 additions and 11 deletions
|
@ -698,9 +698,9 @@ impl CollabTitlebarItem {
|
|||
ContextMenu::build(cx, |menu, _| {
|
||||
menu.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
||||
.action("Extensions", extensions_ui::Extensions.boxed_clone())
|
||||
.action("Theme", theme_selector::Toggle.boxed_clone())
|
||||
.action("Theme...", theme_selector::Toggle.boxed_clone())
|
||||
.separator()
|
||||
.action("Share Feedback", feedback::GiveFeedback.boxed_clone())
|
||||
.action("Share Feedback...", feedback::GiveFeedback.boxed_clone())
|
||||
.action("Sign Out", client::SignOut.boxed_clone())
|
||||
})
|
||||
.into()
|
||||
|
@ -722,10 +722,10 @@ impl CollabTitlebarItem {
|
|||
.menu(|cx| {
|
||||
ContextMenu::build(cx, |menu, _| {
|
||||
menu.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
||||
.action("Theme", theme_selector::Toggle.boxed_clone())
|
||||
.action("Theme...", theme_selector::Toggle.boxed_clone())
|
||||
.action("Extensions", extensions_ui::Extensions.boxed_clone())
|
||||
.separator()
|
||||
.action("Share Feedback", feedback::GiveFeedback.boxed_clone())
|
||||
.action("Share Feedback...", feedback::GiveFeedback.boxed_clone())
|
||||
})
|
||||
.into()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue