diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-12-11 09:52:13 +0000 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-12-11 09:52:13 +0000 |
| commit | 5ae409b032f9acbfe934506cee73e7f7f6ddcff0 (patch) | |
| tree | ebc44e24c405be525ff0fbb7179eb1514f4561f6 /packages/frontend/src/components/SkNote.vue | |
| parent | merge: Fix: scrolling alt text using a mouse (!810) (diff) | |
| download | sharkey-5ae409b032f9acbfe934506cee73e7f7f6ddcff0.tar.gz sharkey-5ae409b032f9acbfe934506cee73e7f7f6ddcff0.tar.bz2 sharkey-5ae409b032f9acbfe934506cee73e7f7f6ddcff0.zip | |
make it harder to fumble opening a collapsed replied-to note
clicking on the username of the collapsed replied-to note, opens the
note instead of navigating to the user's profile
clicking the avatar still goes to the profile
Diffstat (limited to 'packages/frontend/src/components/SkNote.vue')
| -rw-r--r-- | packages/frontend/src/components/SkNote.vue | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/frontend/src/components/SkNote.vue b/packages/frontend/src/components/SkNote.vue index dc8c32a7d9..f4be0fc9d4 100644 --- a/packages/frontend/src/components/SkNote.vue +++ b/packages/frontend/src/components/SkNote.vue @@ -16,9 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div v-if="appearNote.reply && inReplyToCollapsed && !renoteCollapsed" :class="$style.collapsedInReplyTo"> <div :class="$style.collapsedInReplyToLine"></div> <MkAvatar :class="$style.collapsedInReplyToAvatar" :user="appearNote.reply.user" link preview/> - <MkA v-user-preview="appearNote.reply.userId" :class="$style.name" :to="userPage(appearNote.reply.user)"> - <MkAcct :user="appearNote.reply.user"/> - </MkA>: + <MkAcct :user="appearNote.reply.user" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/>: <Mfm :text="getNoteSummary(appearNote.reply)" :plain="true" :nowrap="true" :author="appearNote.reply.user" :nyaize="'respect'" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/> </div> <div v-if="pinned" :class="$style.tip"><i class="ti ti-pin"></i> {{ i18n.ts.pinnedNote }}</div> |