From 83845119fe7887c338fb0c5f7c7ac0a32aa1758a Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Tue, 21 Apr 2026 08:02:50 +0900 Subject: [PATCH] =?UTF-8?q?[#895]=20Show=20"Open"=20instead=20of=20"?= =?UTF-8?q?=E2=80=94"=20for=20stories=20without=20deadlines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Separate the deadline stat box fallback into two cases: - has_deadline=false → "Open" (intentional, no deadline set) - has_deadline=true but missing last_plot_time → "—" (data gap) Fixes #895 Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 2 +- src/app/story/[storylineId]/page.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2309be32..4d394ced 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plotlink", - "version": "0.1.25", + "version": "0.1.26", "private": true, "workspaces": [ "packages/*" diff --git a/src/app/story/[storylineId]/page.tsx b/src/app/story/[storylineId]/page.tsx index aa24e615..d3f21f74 100644 --- a/src/app/story/[storylineId]/page.tsx +++ b/src/app/story/[storylineId]/page.tsx @@ -289,6 +289,11 @@ function StoryHeader({
Deadline
+ ) : !storyline.has_deadline ? ( + <> +
Open
+
Deadline
+ ) : ( <>