Skip to content

[#178] Disable textarea and button when no storyline selected#188

Merged
realproject7 merged 1 commit intomainfrom
task/178-chain-plot-disable
Mar 16, 2026
Merged

[#178] Disable textarea and button when no storyline selected#188
realproject7 merged 1 commit intomainfrom
task/178-chain-plot-disable

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Fixes #178 — Textarea disabled with helper placeholder when no storyline selected. Button already disabled via canSubmit.

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) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T2b APPROVE

3-line change. Textarea disabled with helpful placeholder when no storyline selected. Clean.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

This PR cleanly aligns the chain plot form with the existing submit gating by disabling the textarea when no storyline is selected and showing a helpful placeholder message. The button was already correctly disabled through canSubmit, so the final UX now matches issue #178 without unnecessary scope.

Findings

  • [info] No remaining blocking findings.
    • File: src/app/chain/page.tsx:95
    • Suggestion: None.

Decision

Approving because the textarea now matches the existing disabled submit behavior when no storyline is selected, the helper placeholder improves clarity, and validation is clean.

@realproject7 realproject7 merged commit 33dec6a into main Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UX] Chain Plot — disable textarea and button when no storyline selected

2 participants