From 6f4e28c3dfef4faec69c81d2f8affb7916ed89e5 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Wed, 18 Feb 2026 20:28:58 -0600 Subject: [PATCH] Move reply context above content in NoteCard - Repositioned "Replying to @user" to appear between the header and content - Matches Ditto's UI pattern for better visual hierarchy - Hide reply context when post is a repost (repost takes priority) - Added click event stop propagation to reply context link Co-authored-by: shakespeare.diy --- src/components/NoteCard.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/NoteCard.tsx b/src/components/NoteCard.tsx index 986d04a2..b0d5926d 100644 --- a/src/components/NoteCard.tsx +++ b/src/components/NoteCard.tsx @@ -216,11 +216,6 @@ export function NoteCard({ event, className, repostedBy, compact }: NoteCardProp )} - {/* Reply context (kind 1 only) */} - {isReply && replyTo?.[1] && ( - - )} - {/* Header: avatar + name/handle stacked */}
{author.isLoading ? ( @@ -269,6 +264,11 @@ export function NoteCard({ event, className, repostedBy, compact }: NoteCardProp )}
+ {/* Reply context (kind 1 only) — shown above content */} + {isReply && replyTo?.[1] && !repostedBy && ( + + )} + {/* Content — kind-based dispatch */} {isVine ? ( <> @@ -513,12 +513,12 @@ function ReplyContext({ pubkey }: { pubkey: string }) { const name = author.data?.metadata?.name || genUserName(pubkey); return ( -
+
Replying to {author.isLoading ? ( ) : ( - + e.stopPropagation()}> @{name} )}