This commit is contained in:
Freeplay 2023-05-31 17:02:58 -04:00
parent 0663a67b86
commit f3bdce0636
3 changed files with 8 additions and 4 deletions

View File

@ -9,6 +9,7 @@
class="tkcbzcuz note-container"
:tabindex="!isDeleted ? '-1' : null"
:class="{ renote: isRenote }"
:id="appearNote.id"
>
<MkNoteSub
v-if="appearNote.reply && !detailedView"

View File

@ -30,6 +30,7 @@
:note="note"
:parentId="parentId"
:conversation="conversation"
:detailedView="detailedView"
@focusfooter="footerEl.focus()"
/>
<div v-if="translating || translation" class="translation">

View File

@ -2,7 +2,7 @@
<p v-if="note.cw != null" class="cw">
<MkA
v-if="conversation && note.renoteId == parentId"
:to="`#${parentId}`"
:to="detailedView ? `#${parentId}` : `${notePage(note)}#${parentId}`"
behavior="browser"
class="reply-icon"
@click.stop
@ -11,7 +11,7 @@
</MkA>
<MkA
v-else-if="!detailed && note.replyId"
:to="`#${note.replyId}`"
:to="detailedView ? `#${note.replyId}` :`${notePage(note)}#${note.replyId}`"
behavior="browser"
v-tooltip="i18n.ts.jumpToPrevious"
class="reply-icon"
@ -66,7 +66,7 @@
<template v-if="!note.cw">
<MkA
v-if="conversation && note.renoteId == parentId"
:to="`#${parentId}`"
:to="detailedView ? `#${parentId}` : `${notePage(note)}#${parentId}`"
behavior="browser"
class="reply-icon"
@click.stop
@ -75,7 +75,7 @@
</MkA>
<MkA
v-else-if="!detailed && note.replyId"
:to="`#${note.replyId}`"
:to="detailedView ? `#${note.replyId}` :`${notePage(note)}#${note.replyId}`"
behavior="browser"
v-tooltip="i18n.ts.jumpToPrevious"
class="reply-icon"
@ -173,11 +173,13 @@ import MkUrlPreview from "@/components/MkUrlPreview.vue";
import XShowMoreButton from "@/components/MkShowMoreButton.vue";
import XCwButton from "@/components/MkCwButton.vue";
import MkButton from "@/components/MkButton.vue";
import { notePage } from "@/filters/note";
import { extractUrlFromMfm } from "@/scripts/extract-url-from-mfm";
import { extractMfmWithAnimation } from "@/scripts/extract-mfm";
import { i18n } from "@/i18n";
import { defaultStore } from "@/store";
const props = defineProps<{
note: misskey.entities.Note;
parentId?;