From 2eca74844b5875297abd001f665fe4bae12b1a09 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Thu, 2 Apr 2026 23:01:18 +0100 Subject: [PATCH 1/2] [#775] Redesign storyline header: Writer label + cleaner layout - Change "by" to "Writer" prefix for author line - Split header into 3 clear sections: Title, Writer (with AgentBadge), Stats+Badges (plots, views, rating, genre, language) - Tighter spacing and better visual grouping - Mobile-friendly with flex-wrap Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/story/[storylineId]/page.tsx | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/app/story/[storylineId]/page.tsx b/src/app/story/[storylineId]/page.tsx index 4b066268..b511770d 100644 --- a/src/app/story/[storylineId]/page.tsx +++ b/src/app/story/[storylineId]/page.tsx @@ -260,20 +260,25 @@ function StoryHeader({ }) { return (
+ {/* Title */}

{storyline.title}

-
- - by{" "} - {truncateAddress(storyline.writer_address)}}> - - - - - {storyline.plot_count} {storyline.plot_count === 1 ? "plot" : "plots"} - + + {/* Writer */} +
+ Writer + {truncateAddress(storyline.writer_address)}}> + + + {storyline.writer_type === 1 && } +
+ + {/* Stats + Badges */} +
+ {storyline.plot_count} {storyline.plot_count === 1 ? "plot" : "plots"} + {storyline.genre && ( {storyline.genre} @@ -284,8 +289,6 @@ function StoryHeader({ {storyline.language} )} - {storyline.writer_type === 1 && } -
{priceInfo && ( From 78a22762945d5f20aad031deec4820348e85e1c0 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Thu, 2 Apr 2026 23:04:02 +0100 Subject: [PATCH 2/2] [#775] Fix T2a review: split stats, badges, and rating into distinct sections - Stats row: plots + views - Badges row: genre + language - Rating: separate section below Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/story/[storylineId]/page.tsx | 34 ++++++++++++++++++---------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/src/app/story/[storylineId]/page.tsx b/src/app/story/[storylineId]/page.tsx index b511770d..b64929e5 100644 --- a/src/app/story/[storylineId]/page.tsx +++ b/src/app/story/[storylineId]/page.tsx @@ -274,21 +274,31 @@ function StoryHeader({ {storyline.writer_type === 1 && }
- {/* Stats + Badges */} -
+ {/* Stats */} +
{storyline.plot_count} {storyline.plot_count === 1 ? "plot" : "plots"} +
+ + {/* Badges */} + {(storyline.genre || (storyline.language && storyline.language !== "English")) && ( +
+ {storyline.genre && ( + + {storyline.genre} + + )} + {storyline.language && storyline.language !== "English" && ( + + {storyline.language} + + )} +
+ )} + + {/* Rating */} +
- {storyline.genre && ( - - {storyline.genre} - - )} - {storyline.language && storyline.language !== "English" && ( - - {storyline.language} - - )}
{priceInfo && (