From ba4b0d7e83a276b3c832ba5fe74165775b8ada94 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Thu, 2 Apr 2026 07:08:57 +0100 Subject: [PATCH] [#734] Moleskine polish: 8 fixes for Writer and Reader tabs 1. Increase book size to 150px desktop / 110px mobile 2. Remove duplicated title outside the book 3. Move TVL + Donations into right-side info area with separator 4. Mobile: always flex-row (info next to book) 5. Claim button inline on same row as Claimable value 6. Rename "TOKEN HOLDINGS" to "STORY TOKEN HOLDINGS" 7. Reader: info next to book (always flex-row) 8. Reader: same larger book size Fixes #734 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/profile/[address]/page.tsx | 36 +++++++++++++----------------- src/components/ClaimRoyalties.tsx | 7 ++---- 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/src/app/profile/[address]/page.tsx b/src/app/profile/[address]/page.tsx index c3b85763..998b8fe3 100644 --- a/src/app/profile/[address]/page.tsx +++ b/src/app/profile/[address]/page.tsx @@ -804,12 +804,11 @@ function StoryRow({ <>
{/* Moleskine book (left) + Info (right) */} -
+
{/* Moleskine book card */}
- - {storyline.title} -
Plots: {storyline.plot_count} @@ -864,17 +857,19 @@ function StoryRow({
Views: {formatViewCount(storyline.view_count)}
Created: {storyline.block_timestamp ? new Date(storyline.block_timestamp).toLocaleDateString("en-US", { month: "short", day: "numeric" }) : "—"}
+ {/* TVL + Donations (inline in info area) */} + {storyline.token_address && ( + <> +
+
+ + +
+ + )}
- {/* TVL + Donations (below book row, no Price) */} - {storyline.token_address && ( -
- - -
- )} - {/* Deadline */} {!storyline.sunset && storyline.last_plot_time && (
@@ -1387,15 +1382,14 @@ function PortfolioTab({ address, isOwnProfile }: { address: string; isOwnProfile {/* Token holdings */} {hasHoldings && ( <> -

Token Holdings

+

Story Token Holdings

{holdings!.map((h) => (
{/* Moleskine book (left) + Info (right) */} -
+

Royalties

- {/* Claimable row */} -
+ {/* Claimable row + Claim button inline */} +
Claimable:{" "} BigInt(0) ? "text-accent" : "text-foreground"}`}> {formatTruncated(unclaimed, decimals)} {RESERVE_LABEL} @@ -120,9 +120,6 @@ export function ClaimRoyalties({ tokenAddress, plotCount, beneficiary, plotUsd } {plotUsd != null && unclaimed > BigInt(0) && ( ({formatUsdValue(parseFloat(formatUnits(unclaimed, decimals)) * plotUsd)}) )} -
- {/* Claim button */} -