You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Royalties + Claim button — only when `isOwnProfile`
Genre/Language editing — only when `isOwnProfile`
Donation history per storyline — only when `isOwnProfile`
2. Viewing someone else's profile
Stories tab shows their storylines read-only:
Storyline cards with plots, views, created date
Token price + TVL
No claim button, no genre edit, no donation details
3. Fix wallet card BigInt(0) rendering bug
In the wallet identity card, `{claimedRoyalties && claimedRoyalties > BigInt(0) && (...)}` renders "0" because `BigInt(0)` is falsy but React renders it as text.
Parent: #682
Scope
Replace the Profile page's basic Stories tab with the full Writer Dashboard content, then remove the standalone `/writer` page.
Requirements
1. Profile Stories tab — full writer dashboard
Move content from `src/app/dashboard/writer/page.tsx` into the profile page's Stories tab:
2. Viewing someone else's profile
Stories tab shows their storylines read-only:
3. Fix wallet card BigInt(0) rendering bug
In the wallet identity card, `{claimedRoyalties && claimedRoyalties > BigInt(0) && (...)}` renders "0" because `BigInt(0)` is falsy but React renders it as text.
Fix: `{claimedRoyalties != null && claimedRoyalties > BigInt(0) && (...)}`
4. Remove /writer page
Files to modify
Branch
`task/683-merge-writer-dashboard`
Self-Verification (T3)