mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
91998d3b36
Summary: Remove logout menu item and buttons, turn Link External Account to Add Account Onboarding window starts hidden, is shown when react component is mounted and sized Use get/setBounds to animate position and size at the same time smoothly Fix specs, change 401 notice Delay bouncing to Gmail to show users the Gmail screen momentarily Make the animated resizing code defer so it doesn't run in a hard loop, and other animations can run at the same time Bring back crossfade between screens, remove left/right shift on welcome screens Test Plan: Run tests Reviewers: drew, evan Reviewed By: evan Maniphest Tasks: T3529 Differential Revision: https://phab.nylas.com/D2054
67 lines
2.3 KiB
Text
67 lines
2.3 KiB
Text
'menu': [
|
|
{
|
|
label: '&File'
|
|
submenu: [
|
|
{ label: '&New Message', command: 'application:new-message' }
|
|
{ type: 'separator' }
|
|
{ label: 'Preferences', command: 'application:open-preferences' }
|
|
{ label: 'Add Account...', command: 'atom-workspace:add-account' }
|
|
{ label: 'Clos&e Window', command: 'window:close' }
|
|
{ label: 'Quit', command: 'application:quit' }
|
|
]
|
|
}
|
|
|
|
{
|
|
label: '&Edit'
|
|
submenu: [
|
|
{ label: '&Undo', command: 'core:undo' }
|
|
{ label: '&Redo', command: 'core:redo' }
|
|
{ type: 'separator' }
|
|
{ label: '&Cut', command: 'core:cut' }
|
|
{ label: 'C&opy', command: 'core:copy' }
|
|
{ label: '&Paste', command: 'core:paste' }
|
|
{ label: 'Select &All', command: 'core:select-all' }
|
|
]
|
|
}
|
|
|
|
{
|
|
label: '&View'
|
|
submenu: [
|
|
{ label: 'Toggle &Full Screen', command: 'window:toggle-full-screen' }
|
|
{ label: 'Toggle Menu Bar', command: 'window:toggle-menu-bar' }
|
|
]
|
|
}
|
|
{
|
|
label: 'Developer'
|
|
submenu: [
|
|
{ label: 'Toggle Developer &Tools', command: 'window:toggle-dev-tools' }
|
|
{ label: 'Toggle Component Regions', command: 'window:toggle-component-regions' }
|
|
{ label: 'Toggle React Remote', command: 'window:toggle-react-remote' }
|
|
{ type: 'separator' }
|
|
{ label: 'Open Activity Window', command: 'application:show-work-window' }
|
|
{ type: 'separator' }
|
|
{ label: '&Reload', command: 'window:reload' }
|
|
{ label: 'Relaunch with &Debug Flags...', command: 'application:open-dev' }
|
|
{ type: 'separator' }
|
|
{ label: 'Create a Package...', command: 'application:create-package' }
|
|
{ label: 'Install a Package Manually...', command: 'application:install-package' }
|
|
{ type: 'separator' }
|
|
{ label: 'Run Package &Specs...', command: 'application:run-package-specs' }
|
|
{ label: 'Run &Nylas Mail Specs', command: 'application:run-all-specs' }
|
|
{ type: 'separator' }
|
|
{ label: 'Open Detailed Logs', command: 'window:open-errorreporter-logs' }
|
|
{ label: 'Ship Detailed Logs to Nylas', command: 'application:ship-logs' }
|
|
]
|
|
}
|
|
{
|
|
label: '&Help'
|
|
submenu: [
|
|
{ label: "VERSION", enabled: false }
|
|
{ type: 'separator' }
|
|
{ label: 'Send Feedback to Nylas', command: 'application:send-feedback' }
|
|
]
|
|
}
|
|
]
|
|
|
|
'context-menu':[
|
|
]
|