summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-09-17 10:33:33 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-09-17 10:33:33 +0900
commit907d519da36c550dde0a39970057bce22ffdcc5f (patch)
tree72ad0cc084a6b6425b42926bf2c1245205068653 /packages/frontend/src/scripts
parentUpdate CHANGELOG.md (diff)
downloadsharkey-907d519da36c550dde0a39970057bce22ffdcc5f.tar.gz
sharkey-907d519da36c550dde0a39970057bce22ffdcc5f.tar.bz2
sharkey-907d519da36c550dde0a39970057bce22ffdcc5f.zip
enhance(frontend): improve note detail page
Diffstat (limited to 'packages/frontend/src/scripts')
-rw-r--r--packages/frontend/src/scripts/get-note-menu.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts
index 5bda993fff..d9fae946d3 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -238,18 +238,6 @@ export function getNoteMenu(props: {
os.pageWindow(`/notes/${appearNote.id}`);
}
- function showReactions(): void {
- os.popup(defineAsyncComponent(() => import('@/components/MkReactedUsersDialog.vue')), {
- noteId: appearNote.id,
- }, {}, 'closed');
- }
-
- function showRenotes(): void {
- os.popup(defineAsyncComponent(() => import('@/components/MkRenotedUsersDialog.vue')), {
- noteId: appearNote.id,
- }, {}, 'closed');
- }
-
async function translate(): Promise<void> {
if (props.translation.value != null) return;
props.translating.value = true;
@@ -280,14 +268,6 @@ export function getNoteMenu(props: {
text: i18n.ts.details,
action: openDetail,
}, {
- icon: 'ti ti-repeat',
- text: i18n.ts.renotesList,
- action: showRenotes,
- }, {
- icon: 'ti ti-icons',
- text: i18n.ts.reactionsList,
- action: showReactions,
- }, {
icon: 'ti ti-copy',
text: i18n.ts.copyContent,
action: copyContent,