feat(client): Renoteした人の一覧を表示するダイアログを追加 (#10647)

* (add) renote user dialog

* (change) noteMenu order

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* (change) menu text

* Update CHANGELOG.md

* (change) dialog title text

* (fix) grammar mistakes in CHANGELOG.md

* (change) i18n keys

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
かっこかり 2023-04-29 15:48:06 +09:00 committed by GitHub
parent 5124db57d2
commit 8fbca63cec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 82 additions and 4 deletions

View file

@ -211,6 +211,12 @@ export function getNoteMenu(props: {
}, {}, '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;
@ -241,8 +247,12 @@ export function getNoteMenu(props: {
text: i18n.ts.details,
action: openDetail,
}, {
icon: 'ti ti-users',
text: i18n.ts.reactions,
icon: 'ti ti-repeat',
text: i18n.ts.renotesList,
action: showRenotes,
}, {
icon: 'ti ti-icons',
text: i18n.ts.reactionsList,
action: showReactions,
}, {
icon: 'ti ti-copy',