ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Add additional time picker for time(and date) based fields in TaskDialog

Open its-me-abhishek opened this issue 11 months ago • 4 comments

Is your feature request related to a problem? Please describe. we already support adding dates while creating a task in taskwarrior, but the current ui does not allow users to explicitly select time for time-based fields. this makes it inconvenient or unclear when users want precise scheduling (for example, a due date at a specific hour rather than just a day).

Describe the solution you'd like add additional date + time pickers in TaskDialog for taskwarrior time-based fields.
the supported fields should be:

  • due
  • start
  • end
  • entry
  • wait

Expected ui / ux flow

  1. user clicks on a time-based field (e.g., due) to edit that or just add a new one in case it does not exist
  2. first, prompt the user to select a date
  3. once a date is selected, prompt the user to select a time
  4. combine both and store/send the final value in a taskwarrior-compatible datetime format
  5. ensure the value works seamlessly with the existing backend

Important notes

  • date-only selection should not silently assume time; time selection must be explicit ( in case the user adds one)
  • formatting must strictly follow taskwarrior expectations
  • add and update tests for this on backend/frontend for each field respectively
  • should integrate cleanly with existing add-task flow without breaking current behavior

Checklist (fields to be covered)

  • [x] due
  • [x] start
  • [x] end
  • [x] entry
  • [x] wait

Additional context

Image

Contribution notes

  • this issue can be worked on via multiple prs
  • the issue is intentionally unassigned
  • please comment on the issue mentioning which field(s) you are working on, and we will keep an eye on it to avoid overlap

its-me-abhishek avatar Dec 26 '25 18:12 its-me-abhishek

EDIT: #333 introduced a new date time picker in the ui directory, so we can re use that for every field, and implement it iteratively

its-me-abhishek avatar Dec 26 '25 18:12 its-me-abhishek

working on start field, will open PR shortly.

Hell1213 avatar Dec 29 '25 20:12 Hell1213

@its-me-abhishek I have solved this issue, please approve the workflows, check and merge the PR

arjav1528 avatar Dec 30 '25 05:12 arjav1528

working on due field and will open PR soon .

Hell1213 avatar Dec 30 '25 14:12 Hell1213