Updates to menu bar
Proposed updates to menu bar: - Change 'Help > Mattermost Docs' to 'Help > Learn More' and link to newly submitted desktop docs on docs.mattermost.com [to be merged within the next 48 hours] - Change 'Settings' and 'Learn More' to include '...' as they open a new page. This is standard to other desktop apps
This commit is contained in:
parent
a12ec194ad
commit
82408e8e29
|
@ -36,7 +36,7 @@ var createTemplate = function(mainWindow, config) {
|
||||||
}, separatorItem, {
|
}, separatorItem, {
|
||||||
role: 'quit'
|
role: 'quit'
|
||||||
}] : [{
|
}] : [{
|
||||||
label: 'Settings',
|
label: 'Settings...',
|
||||||
accelerator: 'CmdOrCtrl+,',
|
accelerator: 'CmdOrCtrl+,',
|
||||||
click: function(item, focusedWindow) {
|
click: function(item, focusedWindow) {
|
||||||
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
|
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
|
||||||
|
@ -229,9 +229,9 @@ var createTemplate = function(mainWindow, config) {
|
||||||
template.push({
|
template.push({
|
||||||
label: '&Help',
|
label: '&Help',
|
||||||
submenu: [{
|
submenu: [{
|
||||||
label: `${app_name} Docs`,
|
label: `Learn More...`,
|
||||||
click: function() {
|
click: function() {
|
||||||
electron.shell.openExternal('http://docs.mattermost.com');
|
electron.shell.openExternal('https://docs.mattermost.com/help/apps/desktop-guide.html');
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
type: 'separator'
|
type: 'separator'
|
||||||
|
|
Loading…
Reference in a new issue