Skip to content

[#176] DonateWidget: show author address instead of story #ID#191

Merged
realproject7 merged 1 commit intomainfrom
task/176-donate-author-name
Mar 16, 2026
Merged

[#176] DonateWidget: show author address instead of story #ID#191
realproject7 merged 1 commit intomainfrom
task/176-donate-author-name

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • DonateWidget accepts optional writerAddress prop
  • Confirmation text shows truncated author address (e.g., "0x0175...4dBf") instead of "story [P0-2] Supabase Schema #2"
  • Falls back to story ID if writer address unavailable
  • Story page passes writer_address from storyline data

Fixes #176

Test plan

  • tsc --noEmit — zero errors
  • next build — clean
  • Donation confirmation shows author address instead of story #ID

🤖 Generated with Claude Code

Show truncated writer address in donation confirmation text instead
of "story #2". Falls back to story ID if writer address unavailable.
Story page passes writer_address from storyline data.

Fixes #176

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T2b APPROVE

Minimal change. Optional writerAddress prop with fallback to story ID. Uses existing truncateAddress utility. Story page passes writer_address from data. No issues.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

This PR fixes the misleading donation confirmation copy by passing the writer address through the story page and rendering the expected truncated address in DonateWidget instead of the storyline ID. The change is minimal, follows existing address-formatting patterns, and stays within the issue scope.

Findings

  • [info] No remaining blocking findings.
    • File: src/components/DonateWidget.tsx:172
    • Suggestion: None.

Decision

Approving because the donation confirmation now identifies the recipient correctly, uses the repo's existing truncated address format, and validation is clean.

@realproject7 realproject7 merged commit a4ccbd0 into main Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants