enhance: iroiro

This commit is contained in:
kakkokari-gtyih
2023-10-25 16:04:01 +09:00
parent 9f306cc493
commit 360db2c78b
6 changed files with 43 additions and 13 deletions

View File

@@ -3,6 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { defineAsyncComponent } from 'vue';
import * as os from '@/os.js';
import { instance } from '@/instance.js';
import { host } from '@/config.js';
@@ -92,7 +93,15 @@ export function openInstanceMenu(ev: MouseEvent) {
action: () => {
window.open('https://misskey-hub.net/help.html', '_blank');
},
}, {
}, ($i) ? {
text: i18n.ts._initialTutorial.launchTutorial,
icon: 'ti ti-presentation',
action: () => {
os.popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {
onlyTutorial: true,
}, {}, 'closed');
},
} : undefined, {
type: 'link',
text: i18n.ts.aboutMisskey,
to: '/about-misskey',