From cd3cfe4203867d9e654ffb5bf3c1dd59640f654b 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 8da0af981f..1ade50c7f2 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 e47f32e45d..161a7a59a9 100644 --- a/packages/client/src/components/MkMenu.vue +++ b/packages/client/src/components/MkMenu.vue @@ -13,6 +13,7 @@ >