From d7d625de9e6cac3f9470fff96730efd307895e5b Mon Sep 17 00:00:00 2001 From: Biliane Silva <61093873+biliesilva@users.noreply.github.com> Date: Thu, 19 Dec 2024 18:41:30 -0300 Subject: [PATCH 1/6] [Fix] Update sidebar link from "Wiki" to "Docs" --- .../components/UI/Sidebar/components/SidebarLinks/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx b/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx index 8bc45cd0b..9fcb8147b 100644 --- a/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx +++ b/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx @@ -220,13 +220,13 @@ export default observer(function SidebarLinks() {
- + classNames('Sidebar__item', { active: isActive }) } - to={{ pathname: '/wiki' }} + to={{ pathname: '/docs' }} > From bc98b8dbb7373c21013b2d89516e7b92e6c2d67a Mon Sep 17 00:00:00 2001 From: Biliane Silva <61093873+biliesilva@users.noreply.github.com> Date: Mon, 23 Dec 2024 12:39:42 -0300 Subject: [PATCH 2/6] [Fix] Update WebView to replace WIKI_URL with DOCS_URL --- src/frontend/screens/WebView/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/screens/WebView/index.tsx b/src/frontend/screens/WebView/index.tsx index b29780985..1cc226e05 100644 --- a/src/frontend/screens/WebView/index.tsx +++ b/src/frontend/screens/WebView/index.tsx @@ -25,7 +25,7 @@ import { GOG_LOGIN_URL, GOG_STORE_URL, HYPERPLAY_STORE_URL, - WIKI_URL + DOCS_URL } from '../../constants' import { METAMASK_SNAPS_URL } from 'common/constants' import storeAuthState from 'frontend/state/storeAuthState' @@ -79,7 +79,7 @@ function WebView({ '/hyperplaystore': hyperplayStore, '/epicstore': epicStore, '/gogstore': GOG_STORE_URL, - '/wiki': WIKI_URL, + '/docs': DOCS_URL, '/loginEpic': EPIC_LOGIN_URL, '/loginGOG': GOG_LOGIN_URL, '/loginweb/legendary': EPIC_LOGIN_URL, From b32a691060150c26795c1439d1f90ca2953c1283 Mon Sep 17 00:00:00 2001 From: Biliane Silva <61093873+biliesilva@users.noreply.github.com> Date: Mon, 23 Dec 2024 12:40:00 -0300 Subject: [PATCH 3/6] [Fix] Update route from "wiki" to "docs" in App component --- src/frontend/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/App.tsx b/src/frontend/App.tsx index 05cdd7832..aca462d79 100644 --- a/src/frontend/App.tsx +++ b/src/frontend/App.tsx @@ -98,7 +98,7 @@ function App() { /> } /> } /> - } /> + } /> } /> Date: Mon, 23 Dec 2024 12:40:09 -0300 Subject: [PATCH 4/6] [Fix] Rename WIKI_URL to DOCS_URL in constants --- src/frontend/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/constants.ts b/src/frontend/constants.ts index 6984ec451..ffca2bff2 100644 --- a/src/frontend/constants.ts +++ b/src/frontend/constants.ts @@ -3,7 +3,7 @@ export const HYPERPLAY_STORE_URL = 'https://store.hyperplay.xyz?isLauncher=true' export const G7_PORTAL = 'https://app.game7.io/quests/hyperplay?layout=navless' export const EPIC_STORE_URL = 'https://www.epicgames.com/store' export const GOG_STORE_URL = `https://gog.com` -export const WIKI_URL = 'https://docs.hyperplay.xyz/' +export const DOCS_URL = 'https://docs.hyperplay.xyz/' export const GOG_LOGIN_URL = 'https://auth.gog.com/auth?client_id=46899977096215655&redirect_uri=https%3A%2F%2Fembed.gog.com%2Fon_login_success%3Forigin%3Dclient&response_type=code&layout=galaxy' export const DEFAULT_BROWSER_PROFILE_IMPORT_COLOR = '202124' From 3bcfcdedcdb2a6857cc4424293a896f83476cb67 Mon Sep 17 00:00:00 2001 From: Biliane Silva <61093873+biliesilva@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:58:22 -0300 Subject: [PATCH 5/6] [i18n] Update sidebar tooltips to use translation keys --- .../components/UI/Sidebar/components/SidebarLinks/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx b/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx index d93bbcf4c..bf331ee00 100644 --- a/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx +++ b/src/frontend/components/UI/Sidebar/components/SidebarLinks/index.tsx @@ -141,7 +141,7 @@ export default observer(function SidebarLinks() { )} {SHOW_QUESTS ? (
- + @@ -175,7 +175,7 @@ export default observer(function SidebarLinks() {
- + @@ -220,7 +220,7 @@ export default observer(function SidebarLinks() {
- + From 35b37dfc61eaa3e5a1a75f25aed881ad3d0319b5 Mon Sep 17 00:00:00 2001 From: Biliane Silva <61093873+biliesilva@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:58:34 -0300 Subject: [PATCH 6/6] [i18n] Add translation keys for 'Docs', 'Quests', and 'Settings' in sidebar --- public/locales/en/translation.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index f2afb44bd..3624a3f6b 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -1038,8 +1038,11 @@ "Settings": "Settings", "sidebar": { "achievements": "Achievements", + "docs": "Docs", "downloadManager": "Download Manager", "library": "Library", + "quests": "Quests", + "settings": "Settings", "store": "Store" }, "sideload": {