From 5fb4538315eca7b22ad326ac60c4ebd6a53b20f3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 16 Oct 2021 01:28:34 +0900 Subject: refactor(client): コンポーネント名が紛らわしくなるのでpreview->simpleにリネーム MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/note-detailed.vue | 6 +- src/client/components/note-preview.vue | 113 -------------------------------- src/client/components/note-simple.vue | 113 ++++++++++++++++++++++++++++++++ src/client/components/note.vue | 6 +- src/client/components/post-form.vue | 10 +-- 5 files changed, 124 insertions(+), 124 deletions(-) delete mode 100644 src/client/components/note-preview.vue create mode 100644 src/client/components/note-simple.vue (limited to 'src/client/components') diff --git a/src/client/components/note-detailed.vue b/src/client/components/note-detailed.vue index 68e7c87f2e..40b0a68c58 100644 --- a/src/client/components/note-detailed.vue +++ b/src/client/components/note-detailed.vue @@ -80,7 +80,7 @@ -
+
{{ appearNote.channel.name }} @@ -132,7 +132,7 @@ import * as mfm from 'mfm-js'; import { sum } from '../../prelude/array'; import XSub from './note.sub.vue'; import XNoteHeader from './note-header.vue'; -import XNotePreview from './note-preview.vue'; +import XNoteSimple from './note-simple.vue'; import XReactionsViewer from './reactions-viewer.vue'; import XMediaList from './media-list.vue'; import XCwButton from './cw-button.vue'; @@ -153,7 +153,7 @@ export default defineComponent({ components: { XSub, XNoteHeader, - XNotePreview, + XNoteSimple, XReactionsViewer, XMediaList, XCwButton, diff --git a/src/client/components/note-preview.vue b/src/client/components/note-preview.vue deleted file mode 100644 index 406a475cd9..0000000000 --- a/src/client/components/note-preview.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - diff --git a/src/client/components/note-simple.vue b/src/client/components/note-simple.vue new file mode 100644 index 0000000000..406a475cd9 --- /dev/null +++ b/src/client/components/note-simple.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 3b07884cee..91a3e3b87d 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -64,7 +64,7 @@ -
+
@@ -114,7 +114,7 @@ import * as mfm from 'mfm-js'; import { sum } from '../../prelude/array'; import XSub from './note.sub.vue'; import XNoteHeader from './note-header.vue'; -import XNotePreview from './note-preview.vue'; +import XNoteSimple from './note-simple.vue'; import XReactionsViewer from './reactions-viewer.vue'; import XMediaList from './media-list.vue'; import XCwButton from './cw-button.vue'; @@ -134,7 +134,7 @@ export default defineComponent({ components: { XSub, XNoteHeader, - XNotePreview, + XNoteSimple, XReactionsViewer, XMediaList, XCwButton, diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 85117b074e..3b8db21099 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -22,8 +22,8 @@
- - + +
{{ $ts.quoteAttached }}
{{ $ts.recipient }} @@ -41,7 +41,7 @@ - +