From c8df61ed04aeaff28c229810a056333bbd24decb Mon Sep 17 00:00:00 2001 From: ShittyKopper Date: Tue, 17 Oct 2023 05:45:32 +0300 Subject: [PATCH] feat: "show content for all replies" button --- locales/en-US.yml | 2 ++ .../src/components/MkNoteDetailed.vue | 19 ++++++++++++------- .../frontend/src/components/MkNoteSimple.vue | 9 +++++++-- .../frontend/src/components/MkNoteSub.vue | 12 +++++++++--- packages/frontend/src/pages/note.vue | 11 +++++++++-- 5 files changed, 39 insertions(+), 14 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 7a452e1c5..a231f2271 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -464,6 +464,8 @@ enable: "Enable" next: "Next" retype: "Enter again" noteOf: "Note by {user}" +expandAllCws: "Show content for all replies" +collapseAllCws: "Hide content for all replies" quoteAttached: "Quote" quoteQuestion: "Append as quote?" noMessagesYet: "No messages yet" diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index e39c2ad15..5f204fe3c 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -15,9 +15,9 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.loadConversation }}
- + - +
@@ -88,7 +88,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
{{ appearNote.channel.name }} @@ -159,7 +159,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.loadReplies }}
- +
@@ -176,7 +176,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.loadReplies }}
- +
@@ -209,7 +209,7 @@ SPDX-License-Identifier: AGPL-3.0-only