Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(cos): always clear task description after form submission

Adam Eivyd8e88338cd9a
diff --git a/client/src/components/cos/TaskAddForm.jsx b/client/src/components/cos/TaskAddForm.jsx
index 3d4d58b1bf..c7a593e336 100644
--- a/client/src/components/cos/TaskAddForm.jsx
+++ b/client/src/components/cos/TaskAddForm.jsx
@@ -206,10 +206,12 @@ export default function TaskAddForm({ providers, apps, onTaskAdded, compact = fa
setIsSubmitting(false);
setIsEnhancing(false);
+ // Always clear description — trivial to retype; preserves screenshots/attachments on error
+ setNewTask(t => ({ ...t, description: '' }));
+
if (!result) return;
toast.success('Task added');
- setNewTask(t => ({ ...t, description: '' }));
setScreenshots([]);
setAttachments([]);
onTaskAdded?.();