sprinteins / ghost

This is Ghost, an electron app for code quality analysis through git.
MIT License
10 stars 2 forks source link

custom menu #75

Open thomasam97 opened 5 years ago

thomasam97 commented 5 years ago

How about replacing the menu with a custom one (, ditch the classic (File) (Edit) (View) (Window) (Help))? I'd like to use it for the 'save-parameter' branch to implement two submenus: [save parameters] and [reset parameters]. With this method the buttons don't have to occupy screenspace but could still be accessed with ease in a few clicks and via custom short-cuts.

Feel free to add menu suggestions as a comment. Please go by (menu[submenu][submenu])

thomasam97 commented 5 years ago

we can use the predefined electron roles (undo, redo, ...) for the standardised functions https://electronjs.org/docs/api/menu-item#roles

N3ol4N commented 5 years ago

within this enhancement, we could think about adding a new help menu and relocate the current help button into this menu.