feat: add editable depends field to task details#211
feat: add editable depends field to task details#211its-me-abhishek merged 1 commit intoCCExtractor:mainfrom
Conversation
|
Hey @its-me-abhishek, |
|
Hi, in Taskwarrior dependencies are handled as a list, which means a single task can reference multiple others. Because of that, the PR should be adjusted to support more than one dependency. For the UI, it would be clearer if each dependency is shown as a linked task entry display the dependent task’s description, and tapping it opens a dialog for that task. This can repeat recursively for each dependency. For editing, a simple approach would be to add a plus icon on the right side of the dependencies section. Selecting it would open a searchable dropdown of existing tasks, allowing users to add any n number of tasks as a dependency ( while choosing using Plus icon, one can use checkboxes to add deps) then on collapsing the dropdown, one can see the task descriptions, similar to Tags, as dependencies. Hope this clears things up! |
Got it, thanks for clarifying! I'll update the PR to: Handle multiple dependencies (array instead of single string) |
Changed depends from string to array to support multiple dependencies. Added UI to add/remove dependencies with search dropdown. Made dependency badges clickable to navigate between related tasks. Fixed layout so search box appears below dependency list.
7a330e8 to
448b1fb
Compare
|
@its-me-abhishek , PR is ready and everything should be fine now , You can now add/remove dependencies with a searchh dropdown, and click on dependency badges to navigate between related tasks. |
|
Please update the PR Description |
Thank you for pointing it out , |
Changed depends from string to array to support multiple dependencies. Added UI to add/remove dependencies with search dropdown. Made dependency badges clickable to navigate between related tasks. Fixed layout so search box appears below dependency list.
Description
Makes the depends field editable in task details. Dependencies display as clickable badges showing task descriptions. Click a dependency to open that task's modal.
=> Contributes to: #166
Changes
Checklist
npx prettier --write .(for formatting)gofmt -w .(for Go backend)npm test(for JS/TS testing)Additional Notes
##Screenshots


** screen record
Screencast.from.2025-11-25.12-56-33.mp4
Screencast.from.2025-11-25.13-03-04.mp4