From 1a4bff769825f8b7319c0f86660d78d049023229 Mon Sep 17 00:00:00 2001 From: Insert5StarName Date: Sat, 2 Dec 2023 01:39:29 +0100 Subject: [PATCH] upd: rework threading/post ui 1/2 Co-authored-by: Gaspard Wierzbinski Co-authored-by: Marie --- .../src/components/MkInstanceTicker.vue | 49 +++--- packages/frontend/src/components/MkNote.vue | 49 +++--- .../src/components/MkNoteDetailed.vue | 69 ++++++-- .../frontend/src/components/MkNoteHeader.vue | 153 +++++++++++++++++- .../frontend/src/components/MkNoteSimple.vue | 2 +- .../frontend/src/components/MkNoteSub.vue | 80 +++++++-- .../frontend/src/pages/settings/general.vue | 2 + packages/frontend/src/store.ts | 4 + 8 files changed, 327 insertions(+), 81 deletions(-) diff --git a/packages/frontend/src/components/MkInstanceTicker.vue b/packages/frontend/src/components/MkInstanceTicker.vue index f0650e48f..4e2856388 100644 --- a/packages/frontend/src/components/MkInstanceTicker.vue +++ b/packages/frontend/src/components/MkInstanceTicker.vue @@ -35,51 +35,48 @@ const faviconUrl = $computed(() => props.instance ? getProxiedImageUrlNullable(p const themeColor = instance.themeColor ?? '#777777'; const bg = { - background: `linear-gradient(90deg, ${themeColor}, ${themeColor}00)`, + //background: `linear-gradient(90deg, ${themeColor}, ${themeColor}00)`, + background: `${themeColor}`, }; diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 4da8f16df..869164273 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -47,11 +47,14 @@ SPDX-License-Identifier: AGPL-3.0-only
-
- -
- - +
+
+ +
+ +
+
+

@@ -60,7 +63,6 @@ SPDX-License-Identifier: AGPL-3.0-only

({{ i18n.ts.private }}) - -
-
- {{ i18n.ts.loadConversation }} -
- +
+ {{ i18n.ts.loadConversation }}
-
@@ -43,15 +39,29 @@ SPDX-License-Identifier: AGPL-3.0-only
+ +
-
-
- - - - bot +
+
+
+ + + + bot + + + +
+
+
+
+
+
@@ -61,9 +71,8 @@ SPDX-License-Identifier: AGPL-3.0-only
+
-
-
@@ -73,7 +82,6 @@ SPDX-License-Identifier: AGPL-3.0-only

({{ i18n.ts.private }}) - diff --git a/packages/frontend/src/components/MkNoteHeader.vue b/packages/frontend/src/components/MkNoteHeader.vue index 6121db3f8..9984c3774 100644 --- a/packages/frontend/src/components/MkNoteHeader.vue +++ b/packages/frontend/src/components/MkNoteHeader.vue @@ -4,19 +4,56 @@ SPDX-License-Identifier: AGPL-3.0-only --> diff --git a/packages/frontend/src/components/MkNoteSimple.vue b/packages/frontend/src/components/MkNoteSimple.vue index b1d4ed3f7..8ebd24b32 100644 --- a/packages/frontend/src/components/MkNoteSimple.vue +++ b/packages/frontend/src/components/MkNoteSimple.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +

diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index 3e33c7aa6..822b4de83 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -5,11 +5,12 @@ SPDX-License-Identifier: AGPL-3.0-only