Skip to content

[UX] DonateWidget — show author name/address instead of story #ID #176

@realproject7

Description

@realproject7

Problem

DonateWidget shows "Donating X WETH to story #2" — but donations go to the author, not the story. Should show the author's identity.

Expected behavior

Replace story #2 with the author's display name or truncated address:

  • If Farcaster identity available: Donating 0.001 WETH to @username
  • Fallback: Donating 0.001 WETH to 0x0175...4dBf

Also update the subtitle: "Tip the author directly with WETH" is correct but could reinforce who the author is.

Acceptance Criteria

  • DonateWidget receives author address (and optionally display name) as prop
  • Confirmation text shows author name/address instead of "story #X"
  • Truncated address format: 0x0175...4dBf (first 6 + last 4)
  • If Farcaster display name is available from storyline data, prefer that

Files

  • src/components/DonateWidget.tsx — update props and display text
  • src/app/story/[storylineId]/page.tsx — pass author address/name to DonateWidget

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions