feat: reaction list2

This commit is contained in:
sim1222 2022-12-24 19:19:04 +09:00
parent ec877b05d4
commit 69b3244d43
No known key found for this signature in database
GPG Key ID: 04EF48D01BEB0298

View File

@ -26,6 +26,13 @@ export function getNoteMenu(props: {
const appearNote = isRenote ? props.note.renote as misskey.entities.Note : props.note;
function reactionList():void {
os.popup(defineAsyncComponent(() => import('@/components/MkReactionList.vue')), {
note: props.note,
});
}
function pakuru(): void {
os.confirm({
type: 'question',
@ -245,6 +252,11 @@ export function getNoteMenu(props: {
text: i18n.ts.translate,
action: translate,
} : undefined,
{
icon: ',',
text: i18n.ts.showState,
action: () => reactionList(),
},
null,
statePromise.then(state => state.isFavorited ? {
icon: 'fas fa-star',