Improve Add Task Dialog UI/UX
Is your feature request related to a problem? Please describe.
Yes. The current Add Task Dialog has poor UX: the narrow dialog (max-w-lg) causes a cramped layout with 12+ fields, excessive vertical scrolling due to fixed h-96 height, no visual hierarchy (all fields appear equally important), inconsistent grid layouts mixing grid-cols-4 and grid-cols-8, small date pickers that blend in, all fields displayed at once creating an overwhelming experience, and poor horizontal space utilization.
Current UI:
Describe the solution you'd like
Redesign the Add Task Dialog: widen the dialog panel (max-w-5xl or max-w-6xl), organize fields into Card sections (Essential Fields: Description, Priority, Project, Due Date; Dates: Start, End, Entry, Wait in a 2-column grid; Advanced: Tags, Annotations, Dependencies, Recur in an Accordion), create a clear hierarchy with essential fields prominent and advanced fields collapsible, remove the fixed height for natural flow with minimal scrolling, make date pickers larger and more prominent with better spacing, and match the shadcn/ui design system using Card and Accordion components.
Proposed UI:
Describe alternatives you've considered
- Tabs instead of Accordion - But Accordion keeps advanced fields accessible while reducing clutter
- Single column layout - Two-column for dates is better for space efficiency
- Side-by-side panels - Too complex, current card grouping is cleaner
- Stepped wizard - Breaks the single-form experience, users prefer all fields in one view
Related Files:
frontend/src/components/HomeComponents/Tasks/AddTaskDialog.tsx
Available shadcn/ui components:
Card,CardHeader,CardContent(for grouping)Accordion,AccordionItem,AccordionTrigger,AccordionContent(for advanced fields)- Existing
DatePickerandDateTimePickercomponents
@its-me-abhishek I think implementing this design will make the UX better. On approving I will start on it
hey @Rustix69 what did you use for design ??? can yo tell me??
@Rustix69 design looks cool by the way
can i do it?
https://github.com/user-attachments/assets/e33d34dc-5ae7-40a9-9934-36bd56af952c
CC : @its-me-abhishek
Hi @Rustix69 , I understand the issue and can work on a fix. Please assign this issue to me
@its-me-abhishek Look at the video attached adn let me know where we can change little bit.
@Rustix69 the accordion seems to be a bit convoluted considering the fact the dialog supports keyboard shortcuts. In the current UI it is a bit straight forward. Although the overall look and feel of the UI seems to be good. I guess we can:
- Increase height and width of the Add Task dialog.
- Just group similar fields together for more intuitiveness (just as they are now in the current version of ccsync). With maybe a small heading Open to any more suggestions as you'd like