Merge pull request #235 from sachaaaaa/help_menu

Replace help menu links
pull/239/head
sachaaaaa 6 years ago committed by GitHub
commit b114f6ac75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -653,10 +653,6 @@
"message": "Go to Release Notes", "message": "Go to Release Notes",
"description": "" "description": ""
}, },
"goToForums": {
"message": "Go to Forums",
"description": "Item under the Help menu, takes you to the forums"
},
"goToSupportPage": { "goToSupportPage": {
"message": "Go to Support Page", "message": "Go to Support Page",
"description": "Item under the Help menu, takes you to the support page" "description": "Item under the Help menu, takes you to the support page"

@ -7,7 +7,6 @@ exports.createTemplate = (options, messages) => {
const { const {
includeSetup, includeSetup,
openForums,
openNewBugForm, openNewBugForm,
openReleaseNotes, openReleaseNotes,
openSupportPage, openSupportPage,
@ -136,10 +135,6 @@ exports.createTemplate = (options, messages) => {
{ {
type: 'separator', type: 'separator',
}, },
{
label: messages.goToForums.message,
click: openForums,
},
{ {
label: messages.goToSupportPage.message, label: messages.goToSupportPage.message,
click: openSupportPage, click: openSupportPage,

@ -392,24 +392,20 @@ function createWindow() {
function openReleaseNotes() { function openReleaseNotes() {
shell.openExternal( shell.openExternal(
`https://github.com/signalapp/Signal-Desktop/releases/tag/v${app.getVersion()}` `https://github.com/loki-project/loki-messenger/releases/tag/v${app.getVersion()}`
); );
} }
function openNewBugForm() { function openNewBugForm() {
shell.openExternal('https://github.com/signalapp/Signal-Desktop/issues/new'); shell.openExternal('https://github.com/loki-project/loki-messenger/issues/new');
} }
function openSupportPage() { function openSupportPage() {
shell.openExternal( shell.openExternal(
'https://support.signal.org/hc/en-us/categories/202319038-Desktop' 'https://loki-project.github.io/loki-docs/LokiServices/Messenger/'
); );
} }
function openForums() {
shell.openExternal('https://community.signalusers.org/');
}
function setupWithImport() { function setupWithImport() {
if (mainWindow) { if (mainWindow) {
mainWindow.webContents.send('set-up-with-import'); mainWindow.webContents.send('set-up-with-import');
@ -826,7 +822,6 @@ function setupMenu(options) {
openReleaseNotes, openReleaseNotes,
openNewBugForm, openNewBugForm,
openSupportPage, openSupportPage,
openForums,
platform, platform,
setupWithImport, setupWithImport,
setupAsNewDevice, setupAsNewDevice,

@ -186,10 +186,6 @@
{ {
"type": "separator" "type": "separator"
}, },
{
"label": "Go to Forums",
"click": null
},
{ {
"label": "Go to Support Page", "label": "Go to Support Page",
"click": null "click": null

@ -173,10 +173,6 @@
{ {
"type": "separator" "type": "separator"
}, },
{
"label": "Go to Forums",
"click": null
},
{ {
"label": "Go to Support Page", "label": "Go to Support Page",
"click": null "click": null

@ -125,10 +125,6 @@
{ {
"type": "separator" "type": "separator"
}, },
{
"label": "Go to Forums",
"click": null
},
{ {
"label": "Go to Support Page", "label": "Go to Support Page",
"click": null "click": null

@ -114,10 +114,6 @@
{ {
"type": "separator" "type": "separator"
}, },
{
"label": "Go to Forums",
"click": null
},
{ {
"label": "Go to Support Page", "label": "Go to Support Page",
"click": null "click": null

@ -46,7 +46,6 @@ describe('SignalMenu', () => {
}, },
}; };
const options = { const options = {
openForums: null,
openNewBugForm: null, openNewBugForm: null,
openReleaseNotes: null, openReleaseNotes: null,
openSupportPage: null, openSupportPage: null,

Loading…
Cancel
Save