From ee8aa43b93d9b977c415f588f74eaf7957b8632b Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Mon, 16 Mar 2026 15:26:49 +0000 Subject: [PATCH] [#178] Disable textarea and button when no storyline selected Textarea disabled with helper placeholder when no storyline is selected. Button was already disabled via canSubmit check. Added noStoryline flag for clarity. Fixes #178 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/chain/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/chain/page.tsx b/src/app/chain/page.tsx index 996ae812..ba893481 100644 --- a/src/app/chain/page.tsx +++ b/src/app/chain/page.tsx @@ -92,6 +92,7 @@ export default function ChainPlotPage() { } const busy = state !== "idle" && state !== "error"; + const noStoryline = storylineId === null; return (
@@ -142,9 +143,9 @@ export default function ChainPlotPage() {