From 82beae83a9e66ae445632d1466285f9778ad15fd Mon Sep 17 00:00:00 2001 From: Freeplay Date: Thu, 16 Feb 2023 17:06:36 -0500 Subject: [PATCH 01/62] Add URL previews to subnote --- packages/client/src/components/MkSubNoteContent.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/MkSubNoteContent.vue b/packages/client/src/components/MkSubNoteContent.vue index b575fcc0a..2139cffb2 100644 --- a/packages/client/src/components/MkSubNoteContent.vue +++ b/packages/client/src/components/MkSubNoteContent.vue @@ -5,9 +5,9 @@ {{ i18n.ts.quoteAttached }}: ... +
- ({{ i18n.t('withNFiles', { n: note.files.length }) }})
@@ -26,8 +26,11 @@ diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index c0766ec5f..a0277d86e 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -16,10 +16,14 @@
+ From f0a22b3ae49e25189205dd45efcd678839d1b393 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Wed, 15 Mar 2023 19:18:26 -0400 Subject: [PATCH 57/62] fix line in boosted text --- packages/client/src/components/MkNote.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index a7c8cdcbc..08075e531 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -324,9 +324,9 @@ function readPromo() { content: ""; display: block; margin-bottom: -10px; - width: 2px; - background-color: var(--divider); - margin-inline: auto; + margin-top: 16px; + border-left: 2px solid var(--divider); + margin-left: calc((var(--avatarSize) / 2) - 1px); } } } From 0c56144f929ddca8d3d2110c2d25bc2ea5502fb6 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Wed, 15 Mar 2023 19:53:22 -0400 Subject: [PATCH 58/62] fix line alignment in smaller windows --- packages/client/src/components/MkNoteSub.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 14bcf5826..e90c3da14 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -286,14 +286,14 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item --avatarSize: 24px; --indent: calc(var(--avatarSize) - 4px); } - &.firstColumn { - > .main, > .line, > .children:not(.single) > .line { - --avatarSize: 35px; - --indent: 35px; - } - > .children:not(.single) { - padding-left: 28px !important; - } + } + .firstColumn { + > .main, > .line, > .children:not(.single) > .line { + --avatarSize: 35px; + --indent: 35px; + } + > .children:not(.single) { + padding-left: 28px !important; } } } From 0842eeeef13719f96077a350788bf1f269b8e169 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Wed, 15 Mar 2023 20:26:13 -0400 Subject: [PATCH 59/62] *actually* fix the line alignment --- packages/client/src/components/MkNoteSub.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index e90c3da14..c204cb2f9 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -287,7 +287,7 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item --indent: calc(var(--avatarSize) - 4px); } } - .firstColumn { + &.firstColumn { > .main, > .line, > .children:not(.single) > .line { --avatarSize: 35px; --indent: 35px; From 6c147fe6186c06058da194b1e4bc2fda62a14516 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Wed, 15 Mar 2023 21:24:12 -0400 Subject: [PATCH 60/62] Change reply icon (also align the icon in the posting form) --- packages/client/src/components/MkNoteFooter.vue | 2 +- packages/client/src/components/MkPostForm.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/MkNoteFooter.vue b/packages/client/src/components/MkNoteFooter.vue index cd0709b79..579cfcb07 100644 --- a/packages/client/src/components/MkNoteFooter.vue +++ b/packages/client/src/components/MkNoteFooter.vue @@ -2,7 +2,7 @@