From 99f15e3e1df0fe7df5459e62e6a7ca20d5de9c1d Mon Sep 17 00:00:00 2001 From: Kaity A Date: Sun, 7 May 2023 09:26:24 +1000 Subject: [PATCH 1/3] Add support for CW boosting --- locales/en-US.yml | 1 + packages/client/src/components/MkMenu.vue | 47 ++- packages/client/src/components/MkNote.vue | 3 +- packages/client/src/components/MkNoteSub.vue | 1 + .../client/src/components/MkPopupMenu.vue | 22 +- .../client/src/components/MkRenoteButton.vue | 43 ++- .../src/components/MkSubNoteContent.vue | 288 ++++++++++-------- packages/client/src/os.ts | 4 +- .../client/src/pages/settings/general.vue | 4 + packages/client/src/store.ts | 4 + packages/client/src/types/menu.ts | 61 +++- 11 files changed, 326 insertions(+), 152 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 8da0af981..1ade50c7f 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -886,6 +886,7 @@ global: "Global" recommended: "Recommended" squareAvatars: "Display squared avatars" seperateRenoteQuote: "Separate boost and quote buttons" +highlightCw: "Highlight content warned posts" sent: "Sent" received: "Received" searchResult: "Search results" diff --git a/packages/client/src/components/MkMenu.vue b/packages/client/src/components/MkMenu.vue index e47f32e45..161a7a59a 100644 --- a/packages/client/src/components/MkMenu.vue +++ b/packages/client/src/components/MkMenu.vue @@ -13,6 +13,7 @@ >