feat: Implement dynamic node title metadata and enhance swarm user and post hydration.

This commit is contained in:
Christomatt
2026-01-26 17:09:21 +01:00
parent 3ba60cadf5
commit cf0dfa4b66
12 changed files with 380 additions and 105 deletions
+2 -2
View File
@@ -187,7 +187,7 @@ function NotificationItem({
>
<Link href={actor ? `/@${actor.handle}` : '#'} style={{ flexShrink: 0 }}>
{actor?.avatarUrl ? (
<Image
<img
src={actor.avatarUrl}
alt={actor.displayName || actor.handle}
width={40}
@@ -220,7 +220,7 @@ function NotificationItem({
href={actor ? `/@${actor.handle}` : '#'}
style={{ fontWeight: 600, color: 'var(--foreground)', textDecoration: 'none' }}
>
{actor?.displayName || actor?.handle || 'Someone'}
{actor?.displayName || actor?.handle || 'Someone'} <span style={{ fontWeight: 400, color: 'var(--foreground-tertiary)' }}>@{actor?.handle}</span>
</Link>
<span style={{ color: 'var(--foreground-secondary)' }}>
{getNotificationText(notification)}