From 932c9c55fc3b97becd4534515d1a700aa7760886 Mon Sep 17 00:00:00 2001 From: veado <61792675+veado@users.noreply.github.com> Date: Thu, 21 Jul 2022 16:59:29 +0200 Subject: [PATCH] Quick fix: Website url is deprecated (#2333) - Use `docs.thorchain.org` instead - README: Remove Terra from wallet section - missing part of #2329 --- README.md | 26 +++++++++++------------ src/main/api/url.ts | 1 - src/main/menu/help.ts | 6 ------ src/renderer/components/footer/Footer.tsx | 2 +- src/shared/const.ts | 1 - 5 files changed, 14 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 9983bb77c..36f3ccb76 100644 --- a/README.md +++ b/README.md @@ -21,19 +21,19 @@ Symbols: ### Wallet -| | RUNE | BNB / BEP2 | BTC | BCH | DOGE | ETH / ERC20 | LTC | TERRA | COSMOS | -| -------------- | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| Keystore | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | -| Ledger \* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | -| Send \*\* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | -| Receive | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | -| Upgrade \*\*\* | :heavy_check_mark: | :heavy_check_mark: | - | - | - | :heavy_check_mark: | - | - | - | -| Deposit | :heavy_check_mark: | - | - | - | - | - | - | - | - | -| Shares | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | -| History | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | -| Synths | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | - -(\*) Ledger `RUNE` is not supported at `stagenet`. Ledger `LTC`/`BCH`/`DOGE`/`Terra` are not supported at `testnet` +| | RUNE | BNB / BEP2 | BTC | BCH | DOGE | ETH / ERC20 | LTC | COSMOS | +| -------------- | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| Keystore | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| Ledger \* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| Send \*\* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| Receive | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| Upgrade \*\*\* | :heavy_check_mark: | :heavy_check_mark: | - | - | - | :heavy_check_mark: | - | - | +| Deposit | :heavy_check_mark: | - | - | - | - | - | - | - | +| Shares | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| History | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | +| Synths | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | + +(\*) Ledger `RUNE` is not supported at `stagenet`. Ledger `LTC`/`BCH`/`DOGE` are not supported at `testnet` (\*\*) With or without memo diff --git a/src/main/api/url.ts b/src/main/api/url.ts index f6c967fe6..6c9f3133c 100644 --- a/src/main/api/url.ts +++ b/src/main/api/url.ts @@ -3,7 +3,6 @@ import { shell } from 'electron' import { ApiUrl } from '../../shared/api/types' const EXTERNALS_WHITELIST = [ - 'thorchain.org', 'thorchain.net', 'testnet.thorchain.net', 'docs.thorchain.org', diff --git a/src/main/menu/help.ts b/src/main/menu/help.ts index 3df537173..e4b433e5c 100644 --- a/src/main/menu/help.ts +++ b/src/main/menu/help.ts @@ -9,12 +9,6 @@ const menu = (intl: IntlShape): MenuItemConstructorOptions => ({ submenu: [ { label: intl.formatMessage({ id: 'menu.help.learn' }), - click() { - apiUrl.openExternal(ExternalUrl.WEBSITE) - } - }, - { - label: intl.formatMessage({ id: 'menu.help.docs' }), click() { apiUrl.openExternal(ExternalUrl.DOCS) } diff --git a/src/renderer/components/footer/Footer.tsx b/src/renderer/components/footer/Footer.tsx index 3eddebf1a..bd8b00423 100644 --- a/src/renderer/components/footer/Footer.tsx +++ b/src/renderer/components/footer/Footer.tsx @@ -48,7 +48,7 @@ export const Footer: React.FC = (props): JSX.Element => { - + diff --git a/src/shared/const.ts b/src/shared/const.ts index bef9fc7e3..9e779ca8e 100644 --- a/src/shared/const.ts +++ b/src/shared/const.ts @@ -3,7 +3,6 @@ import { StoreFilesContent, UserNodesStorage } from './api/types' import { DEFAULT_LOCALE } from './i18n/const' export enum ExternalUrl { - WEBSITE = 'https://thorchain.org', DOCS = 'https://docs.thorchain.org', DISCORD = 'https://discord.gg/pHcS67yX7Z', GITHUB_REPO = `https://github.com/thorchain/asgardex-electron`,