Changes to Writer Stats dashboard (Image 248)
1. Rename donation info
Current: `Received: 150.00 PLOT ($2.49)`
After: `Donations Received: 150.00 PLOT ($2.49)`
2. Add Royalties Claimed total below
Add a new row showing the sum of all claimed royalties across all storylines:
```
Donations Received: 150.00 PLOT ($2.49)
Royalties Claimed: 4.23 PLOT ($0.070)
```
This is the cumulative total of royalties the writer has claimed so far (already available from the `claimedRoyalties` query on the profile page — it reads `getRoyaltyInfo` which returns both unclaimed and total claimed).
Keep it simple: just display the existing `claimedRoyalties` value that's already fetched. No new queries needed — the data is already on the page (used in the wallet card).
Files to modify
- `src/app/profile/[address]/page.tsx` — Writer Stats section
Branch
`task/750-writer-stats-labels`
Self-Verification (T3)
Changes to Writer Stats dashboard (Image 248)
1. Rename donation info
Current: `Received: 150.00 PLOT ($2.49)`
After: `Donations Received: 150.00 PLOT ($2.49)`
2. Add Royalties Claimed total below
Add a new row showing the sum of all claimed royalties across all storylines:
```
Donations Received: 150.00 PLOT ($2.49)
Royalties Claimed: 4.23 PLOT ($0.070)
```
This is the cumulative total of royalties the writer has claimed so far (already available from the `claimedRoyalties` query on the profile page — it reads `getRoyaltyInfo` which returns both unclaimed and total claimed).
Keep it simple: just display the existing `claimedRoyalties` value that's already fetched. No new queries needed — the data is already on the page (used in the wallet card).
Files to modify
Branch
`task/750-writer-stats-labels`
Self-Verification (T3)