Skip to content

[#356] Add Donation History on writer dashboard with Load more#368

Merged
realproject7 merged 1 commit intomainfrom
task/356-writer-donation-history
Mar 19, 2026
Merged

[#356] Add Donation History on writer dashboard with Load more#368
realproject7 merged 1 commit intomainfrom
task/356-writer-donation-history

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Added donation history section below each storyline card on the writer dashboard
  • Each row shows: donor address (truncated), date, formatted amount with RESERVE_LABEL, clickable Basescan tx link
  • "Load more" pagination (10 per batch, same pattern as [Feat] Clickable Basescan tx links on donation history + pagination #351)
  • Hidden when no donations exist for the storyline

Fixes #356

Files changed

  • src/app/dashboard/writer/page.tsx — new WriterDonationHistory component

Test plan

  • next build passes
  • Lint passes
  • Writer dashboard shows donation history per storyline
  • "Load more" loads additional donations
  • Tx links open correct Basescan page

🤖 Generated with Claude Code

Show received donations below each storyline card on the writer
dashboard. Each row shows donor address, date, formatted amount
with Basescan tx link. Uses same Load more pattern as #351
(10 per batch). Hidden when no donations exist.

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.

LGTM. Consistent with #367's pagination and tx link patterns. Per-storyline scoping, formatPrice/truncateAddress reuse, hidden when empty. Clean component. Approved.

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

The PR matches issue #356 and adds the requested writer-dashboard donation history with truncated donor address, date, formatted amount, Basescan tx link, and incremental Load more pagination. The change is scoped cleanly to the writer dashboard and reuses the same pagination pattern introduced in #351.

Findings

  • No correctness or design issues found in the submitted diff.

Decision

Approved on code review. lint-and-typecheck was still pending at the time of review, so merge should still wait for required GitHub checks.

@realproject7 realproject7 merged commit 0e77b52 into main Mar 19, 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.

[Feat] Donation History list on writer dashboard

2 participants