Refine Add Task dialog layout and advanced fields
Description
Improve the Add Task dialog UX in the Tasks view by widening the dialog, grouping related fields into clearly labeled sections, and refreshing the styling of advanced fields. The new layout keeps all fields visible in a single scrollable panel (no accordion), uses Cards for “Essential Fields”, “Dates”, and “Advanced Fields”, and enhances tags/annotations/dependencies/recurrence with clearer visuals and counts.
- Fixes: #391
Checklist
- [x] Ran
npx prettier --write .(for formatting) - [x] Ran
gofmt -w .(for Go backend) - [x] Ran
npm test(for JS/TS testing) - [x] Added unit tests, if applicable
- [x] Verified all tests pass
- [ ] Updated documentation, if needed
Screenshot
Light Mode
Dark Mode
Mobile View
Additional Notes
- Due date now uses a DateTime picker with a clock indicator (“with time”) for clarity.
- Dialog uses a fixed header/footer with a scrollable middle section to keep actions always visible.
- Tags, annotations, dependencies, and recurrence are visually grouped in an “Advanced Fields” card with icons, color accents, and minimum heights to avoid cramped layouts.
Thank you for opening this PR!
Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools.
Please take a moment to:
- Check the "Files changed" tab
- Leave comments on any lines for functions, comments, etc. that are important, non-obvious, or may need attention
- Clarify decisions you made or areas you might be unsure about and/or any future updates being considered.
- Finally, submit all the comments!
More information on how to conduct a self review: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request
This helps make the review process smoother and gives us a clearer understanding of your thought process.
Once you've added your self-review, we'll continue from our side. Thank you!
@its-me-abhishek Hey I had added the self review and all comments.
@its-me-abhishek Now it looks more sleek thnks for the suggestion.
@its-me-abhishek I had removed the comments also added the Dark/Light View in the Description of the PR.
@its-me-abhishek Any Update on this and let me know if any tweaks needed