From f4652ce5fd9741e31428675ed0ae039fe67d5556 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 10 Jan 2023 10:09:50 -0800 Subject: [PATCH] chore: remove links to misskey-hub --- .../client/src/pages/welcome.entrance.a.vue | 6 ----- .../client/src/pages/welcome.entrance.c.vue | 23 +++++++------------ .../src/ui/_common_/navbar-for-mobile.vue | 2 +- packages/client/src/ui/visitor/a.vue | 4 +++- 4 files changed, 12 insertions(+), 23 deletions(-) diff --git a/packages/client/src/pages/welcome.entrance.a.vue b/packages/client/src/pages/welcome.entrance.a.vue index b19599a321..d8e65ce55a 100644 --- a/packages/client/src/pages/welcome.entrance.a.vue +++ b/packages/client/src/pages/welcome.entrance.a.vue @@ -123,12 +123,6 @@ function showMenu(ev) { action: () => { os.pageWindow('/about-calckey'); }, - }, null, { - text: i18n.ts.help, - icon: 'ph-question-bold ph-lg', - action: () => { - window.open('https://misskey-hub.net/help.md', '_blank'); - }, }], ev.currentTarget ?? ev.target); } diff --git a/packages/client/src/pages/welcome.entrance.c.vue b/packages/client/src/pages/welcome.entrance.c.vue index 0b35a22539..7567fa4083 100644 --- a/packages/client/src/pages/welcome.entrance.c.vue +++ b/packages/client/src/pages/welcome.entrance.c.vue @@ -58,12 +58,12 @@ diff --git a/packages/client/src/ui/_common_/navbar-for-mobile.vue b/packages/client/src/ui/_common_/navbar-for-mobile.vue index 6f6fdb8ab8..5374e67c9b 100644 --- a/packages/client/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/client/src/ui/_common_/navbar-for-mobile.vue @@ -99,7 +99,7 @@ function openInstanceMenu(ev: MouseEvent) { text: i18n.ts.document, icon: 'ph-question-bold ph-lg', action: () => { - window.open('https://misskey-hub.net/help.html', '_blank'); + window.open('/api-doc', '_blank'); }, }], }, { diff --git a/packages/client/src/ui/visitor/a.vue b/packages/client/src/ui/visitor/a.vue index 1be716335f..593ff6ea32 100644 --- a/packages/client/src/ui/visitor/a.vue +++ b/packages/client/src/ui/visitor/a.vue @@ -125,7 +125,9 @@ export default defineComponent({ }, help() { - window.open('https://misskey-hub.net/docs/keyboard-shortcut.md', '_blank'); + // TODO(thatonecalculator): popup with keybinds + // window.open('https://misskey-hub.net/docs/keyboard-shortcut.md', '_blank'); + console.log('d = dark/light mode, s = search, p = post :3'); }, }, });