Skip to content

Commit

Permalink
Better help menus (skevy#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanchapman authored and gjtorikian committed Dec 9, 2017
1 parent a46b2b8 commit 173573e
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,24 +162,29 @@ app.on('ready', function() {
}, {
label: 'Help',
submenu: [{
label: 'Learn More',
label: 'Learn GraphQL',
click: function() {
shell.openExternal('http://electron.atom.io');
shell.openExternal('http://graphql.org/learn/');
}
}, {
label: 'Documentation',
click: function() {
shell.openExternal('https://github.com/atom/electron/tree/master/docs#readme');
shell.openExternal('https://github.com/graphql/graphiql#graphiql');
}
}, {
label: 'Community Discussions',
label: 'Community Resources',
click: function() {
shell.openExternal('https://discuss.atom.io/c/electron');
shell.openExternal('http://graphql.org/community/');
}
}, {
label: 'Search Issues',
label: 'Search GraphiQL Issues',
click: function() {
shell.openExternal('https://github.com/atom/electron/issues');
shell.openExternal('https://github.com/graphql/graphiql/issues');
}
}, {
label: 'Search App Issues',
click: function() {
shell.openExternal('https://github.com/skevy/graphiql-app/issues');
}
}]
}];
Expand Down

0 comments on commit 173573e

Please sign in to comment.