fix(FN-2498): keep New Task more options collapsed by default
- Add an autoExpandMoreOptionsOnSelection prop to TaskForm and gate advanced-section auto-expansion behind it - Disable auto-expansion in NewTaskModal so default-on workflow step preselection does not open More options on first render - Mark collapsed advanced content with the hidden attribute to prevent interaction until expanded - Add dashboard tests for default collapsed state, opt-out auto-expand behavior, and default-on workflow-step regression coverage - Replace hardcoded spacing/transition values in NewTaskModal.css with design tokens
This commit is contained in:
@@ -455,6 +455,7 @@ export function NewTaskModal({ isOpen, onClose, projectId, tasks, onCreateTask,
|
||||
onPriorityChange={setPriority}
|
||||
renderBelowPrimary={quickFields}
|
||||
hideDependencies={true}
|
||||
autoExpandMoreOptionsOnSelection={false}
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user