Skip to content

[feat] Show Farcaster identity on plot pages instead of truncated address #287

@realproject7

Description

@realproject7

Problem

The plot detail page (src/app/story/[storylineId]/[plotIndex]/page.tsx) and the OG image route (src/app/story/[storylineId]/og/route.tsx) display the author as a truncated hex address (e.g., 0x4d68...b6c8).

The storyline page already resolves and displays the author's Farcaster identity via <WriterIdentity> — this should be applied to plot pages too.

Scope

  1. Plot page (src/app/story/[storylineId]/[plotIndex]/page.tsx, line 107): Replace truncateAddress(sl.writer_address) with <WriterIdentity address={sl.writer_address} /> wrapped in <Suspense> (same pattern as storyline page line 197-198)
  2. OG image (src/app/story/[storylineId]/og/route.tsx, line 106): Resolve Farcaster fname server-side if available, fall back to truncated address

Reference

  • Existing pattern: src/app/story/[storylineId]/page.tsx:197-198
  • Component: src/components/WriterIdentity.tsx
  • Client component: src/components/WriterIdentityClient.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/T3Assigned to T3 builder agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions