chore: remove links to misskey-hub

This commit is contained in:
ThatOneCalculator 2023-01-10 10:09:50 -08:00
parent 5627a48ea2
commit f4652ce5fd
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
4 changed files with 12 additions and 23 deletions

View File

@ -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);
}
</script>

View File

@ -58,12 +58,12 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { toUnicode } from 'punycode/';
import XTimeline from './welcome.timeline.vue';
import XSigninDialog from '@/components/MkSigninDialog.vue';
import XSignupDialog from '@/components/MkSignupDialog.vue';
import MkButton from '@/components/MkButton.vue';
import XNote from '@/components/MkNote.vue';
import MkFeaturedPhotos from '@/components/MkFeaturedPhotos.vue';
import XTimeline from './welcome.timeline.vue';
import { host, instanceName } from '@/config';
import * as os from '@/os';
import number from '@/filters/number';
@ -104,7 +104,7 @@ export default defineComponent({
os.api('hashtags/list', {
sort: '+mentionedLocalUsers',
limit: 8
limit: 8,
}).then(tags => {
this.tags = tags;
});
@ -113,13 +113,13 @@ export default defineComponent({
methods: {
signin() {
os.popup(XSigninDialog, {
autoSet: true
autoSet: true,
}, {}, 'closed');
},
signup() {
os.popup(XSignupDialog, {
autoSet: true
autoSet: true,
}, {}, 'closed');
},
@ -129,24 +129,17 @@ export default defineComponent({
icon: 'ph-info-bold ph-lg',
action: () => {
os.pageWindow('/about');
}
},
}, {
text: i18n.ts.aboutMisskey,
icon: 'ph-info-bold ph-lg',
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);
},
number
}
number,
},
});
</script>

View File

@ -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');
},
}],
}, {

View File

@ -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');
},
},
});