feat(KB-275): remove 500-character limit from planning mode textarea

- Remove maxLength restriction from PlanningModeModal textarea input
- Allow unlimited text input for AI-assisted task planning
- Add changeset documenting the character limit removal
This commit is contained in:
gsxdsm
2026-03-31 07:08:46 -07:00
parent b80daff19d
commit 234d6f7b1d
2 changed files with 6 additions and 5 deletions

View File

@@ -305,18 +305,14 @@ export function PlanningModeModal({ isOpen, onClose, onTaskCreated, tasks, initi
className="planning-textarea"
placeholder="e.g., Build a user authentication system with login, signup, and password reset..."
value={initialPlan}
onChange={(e) => setInitialPlan(e.target.value.slice(0, 500))}
onChange={(e) => setInitialPlan(e.target.value)}
onKeyDown={(e) => {
if (e.key === "Enter" && !e.shiftKey && initialPlan.trim()) {
e.preventDefault();
handleStartPlanning();
}
}}
maxLength={500}
/>
<div className="planning-char-count">
{initialPlan.length}/500 characters
</div>
</div>
<div className="planning-examples">