chore: remove links to misskey-hub
This commit is contained in:
parent
5627a48ea2
commit
f4652ce5fd
@ -123,12 +123,6 @@ function showMenu(ev) {
|
|||||||
action: () => {
|
action: () => {
|
||||||
os.pageWindow('/about-calckey');
|
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);
|
}], ev.currentTarget ?? ev.target);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -58,12 +58,12 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { toUnicode } from 'punycode/';
|
import { toUnicode } from 'punycode/';
|
||||||
|
import XTimeline from './welcome.timeline.vue';
|
||||||
import XSigninDialog from '@/components/MkSigninDialog.vue';
|
import XSigninDialog from '@/components/MkSigninDialog.vue';
|
||||||
import XSignupDialog from '@/components/MkSignupDialog.vue';
|
import XSignupDialog from '@/components/MkSignupDialog.vue';
|
||||||
import MkButton from '@/components/MkButton.vue';
|
import MkButton from '@/components/MkButton.vue';
|
||||||
import XNote from '@/components/MkNote.vue';
|
import XNote from '@/components/MkNote.vue';
|
||||||
import MkFeaturedPhotos from '@/components/MkFeaturedPhotos.vue';
|
import MkFeaturedPhotos from '@/components/MkFeaturedPhotos.vue';
|
||||||
import XTimeline from './welcome.timeline.vue';
|
|
||||||
import { host, instanceName } from '@/config';
|
import { host, instanceName } from '@/config';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import number from '@/filters/number';
|
import number from '@/filters/number';
|
||||||
@ -104,7 +104,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
os.api('hashtags/list', {
|
os.api('hashtags/list', {
|
||||||
sort: '+mentionedLocalUsers',
|
sort: '+mentionedLocalUsers',
|
||||||
limit: 8
|
limit: 8,
|
||||||
}).then(tags => {
|
}).then(tags => {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
});
|
});
|
||||||
@ -113,13 +113,13 @@ export default defineComponent({
|
|||||||
methods: {
|
methods: {
|
||||||
signin() {
|
signin() {
|
||||||
os.popup(XSigninDialog, {
|
os.popup(XSigninDialog, {
|
||||||
autoSet: true
|
autoSet: true,
|
||||||
}, {}, 'closed');
|
}, {}, 'closed');
|
||||||
},
|
},
|
||||||
|
|
||||||
signup() {
|
signup() {
|
||||||
os.popup(XSignupDialog, {
|
os.popup(XSignupDialog, {
|
||||||
autoSet: true
|
autoSet: true,
|
||||||
}, {}, 'closed');
|
}, {}, 'closed');
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -129,24 +129,17 @@ export default defineComponent({
|
|||||||
icon: 'ph-info-bold ph-lg',
|
icon: 'ph-info-bold ph-lg',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.pageWindow('/about');
|
os.pageWindow('/about');
|
||||||
}
|
},
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.aboutMisskey,
|
text: i18n.ts.aboutMisskey,
|
||||||
icon: 'ph-info-bold ph-lg',
|
icon: 'ph-info-bold ph-lg',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.pageWindow('/about-calckey');
|
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);
|
}], ev.currentTarget ?? ev.target);
|
||||||
},
|
},
|
||||||
|
number,
|
||||||
number
|
},
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ function openInstanceMenu(ev: MouseEvent) {
|
|||||||
text: i18n.ts.document,
|
text: i18n.ts.document,
|
||||||
icon: 'ph-question-bold ph-lg',
|
icon: 'ph-question-bold ph-lg',
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open('https://misskey-hub.net/help.html', '_blank');
|
window.open('/api-doc', '_blank');
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
}, {
|
}, {
|
||||||
|
@ -125,7 +125,9 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
help() {
|
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');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user