Skip to content

Commit

Permalink
feat(app menu): add link to discord, rename Show Dataset List
Browse files Browse the repository at this point in the history
added link to the discord as "Chat with the community"
renamed Show Dataset List to Toggle Dataset List
  • Loading branch information
ramfox committed Sep 5, 2019
1 parent fbd68c7 commit 611717f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/components/Dataset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default class Dataset extends React.Component<DatasetProps> {
this.props.setActiveTab('history')
})

ipcRenderer.on('show-datasets', () => {
ipcRenderer.on('toggle-dataset-list', () => {
this.props.toggleDatasetList()
})

Expand Down
14 changes: 10 additions & 4 deletions app/main.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ app.on('ready', () =>
}
},
{
id: 'show-dataset-list',
label: 'Show Dataset List',
id: 'toggle-dataset-list',
label: 'Toggle Dataset List',
accelerator: 'Command+T',
click () {
mainWindow.webContents.send('show-datasets')
mainWindow.webContents.send('toggle-dataset-list')
}
},
{
Expand Down Expand Up @@ -366,6 +366,12 @@ app.on('ready', () =>
click: () => {
shell.openExternal('https://qri.io/contact/')
}
},
{
label: 'Chat with the community...',
click: () => {
shell.openExternal('https://discord.gg/etap8Gb')
}
}
]
}
Expand Down Expand Up @@ -479,7 +485,7 @@ app.on('ready', () =>
'add-dataset',
'show-status',
'show-history',
'show-dataset-list',
'toggle-dataset-list',
'publish-unpublish-dataset',
'view-on-qri-cloud',
'open-working-directory'
Expand Down

0 comments on commit 611717f

Please sign in to comment.