From 54a6fbed1570822975117bb74e4e02609fece450 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:25:58 +0900 Subject: [PATCH] wa- --- .../src/embed/components/EmMediaList.vue | 378 ++++++++++++++++++ .../components/{MkEmNote.vue => EmNote.vue} | 2 +- packages/frontend/src/embed/pages/note.vue | 4 +- 3 files changed, 381 insertions(+), 3 deletions(-) create mode 100644 packages/frontend/src/embed/components/EmMediaList.vue rename packages/frontend/src/embed/components/{MkEmNote.vue => EmNote.vue} (99%) diff --git a/packages/frontend/src/embed/components/EmMediaList.vue b/packages/frontend/src/embed/components/EmMediaList.vue new file mode 100644 index 0000000000..f489b689e8 --- /dev/null +++ b/packages/frontend/src/embed/components/EmMediaList.vue @@ -0,0 +1,378 @@ + + + + + + + + + diff --git a/packages/frontend/src/embed/components/MkEmNote.vue b/packages/frontend/src/embed/components/EmNote.vue similarity index 99% rename from packages/frontend/src/embed/components/MkEmNote.vue rename to packages/frontend/src/embed/components/EmNote.vue index c8ab641385..78d6be6f61 100644 --- a/packages/frontend/src/embed/components/MkEmNote.vue +++ b/packages/frontend/src/embed/components/EmNote.vue @@ -132,10 +132,10 @@ SPDX-License-Identifier: AGPL-3.0-only import { computed, inject, ref } from 'vue'; import * as mfm from 'mfm-js'; import * as Misskey from 'misskey-js'; +import EmMediaList from './EmMediaList.vue'; import MkNoteSub from '@/components/MkNoteSub.vue'; import MkNoteSimple from '@/components/MkNoteSimple.vue'; import MkReactionsViewer from '@/components/MkReactionsViewer.vue'; -import MkMediaList from '@/components/MkMediaList.vue'; import MkCwButton from '@/components/MkCwButton.vue'; import MkPoll from '@/components/MkPoll.vue'; import MkInstanceTicker from '@/components/MkInstanceTicker.vue'; diff --git a/packages/frontend/src/embed/pages/note.vue b/packages/frontend/src/embed/pages/note.vue index cdb0527f43..6f8593a170 100644 --- a/packages/frontend/src/embed/pages/note.vue +++ b/packages/frontend/src/embed/pages/note.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only