summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-07-19 12:52:31 +0100
committerLibravatar GitHub <noreply@github.com>2022-07-19 12:52:31 +0100
commit3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165 (patch)
tree6b414b9ef3be7656da1717b0d6def62e95d1fb90 /src/lib
parentfix: remove autoHibernate (diff)
downloadferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.tar.gz
ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.tar.zst
ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.zip
Feature: Add Release Notes (#491)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com> Co-authored-by: Ricardo Cino <ricardo@cino.io>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Menu.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js
index 8fd3e9e01..41b4aa9f7 100644
--- a/src/lib/Menu.js
+++ b/src/lib/Menu.js
@@ -32,11 +32,7 @@ import {
32 nodeVersion, 32 nodeVersion,
33 osArch, 33 osArch,
34} from '../environment'; 34} from '../environment';
35import { 35import { CUSTOM_WEBSITE_RECIPE_ID, LIVE_API_FERDIUM_WEBSITE } from '../config';
36 CUSTOM_WEBSITE_RECIPE_ID,
37 GITHUB_FERDIUM_URL,
38 LIVE_API_FERDIUM_WEBSITE,
39} from '../config';
40import { ferdiumVersion } from '../environment-remote'; 36import { ferdiumVersion } from '../environment-remote';
41import { todoActions } from '../features/todos/actions'; 37import { todoActions } from '../features/todos/actions';
42import workspaceActions from '../features/workspaces/actions'; 38import workspaceActions from '../features/workspaces/actions';
@@ -44,6 +40,7 @@ import { workspaceStore } from '../features/workspaces/index';
44import { importExportURL, serverBase, serverName } from '../api/apiBase'; 40import { importExportURL, serverBase, serverName } from '../api/apiBase';
45import { openExternalUrl } from '../helpers/url-helpers'; 41import { openExternalUrl } from '../helpers/url-helpers';
46import globalMessages from '../i18n/globalMessages'; 42import globalMessages from '../i18n/globalMessages';
43import { onAuthGoToReleaseNotes } from '../helpers/update-helpers';
47 44
48// @ts-expect-error Cannot find module '../buildInfo.json' or its corresponding type declarations. 45// @ts-expect-error Cannot find module '../buildInfo.json' or its corresponding type declarations.
49import * as buildInfo from '../buildInfo.json'; 46import * as buildInfo from '../buildInfo.json';
@@ -586,10 +583,7 @@ const _titleBarTemplateFactory = (intl, locked) => [
586 { 583 {
587 label: intl.formatMessage(menuItems.changelog), 584 label: intl.formatMessage(menuItems.changelog),
588 click() { 585 click() {
589 openExternalUrl( 586 window.location.href = onAuthGoToReleaseNotes(window.location.href);
590 `${GITHUB_FERDIUM_URL}/ferdium-app/releases/tag/v${ferdiumVersion}`,
591 true,
592 );
593 }, 587 },
594 }, 588 },
595 { 589 {