obsidian-tasks icon indicating copy to clipboard operation
obsidian-tasks copied to clipboard

Add Postpone-like context menu to the Date Emojis (Start, Scheduled, Due and likely others too) to allow easy changing of individual fields

Open claremacrae opened this issue 1 year ago • 0 comments

⚠️ Please check that this feature request hasn't been suggested before.

  • [X] I searched previous Ideas in Discussions didn't find any similar feature requests.
  • [X] I searched previous Issues didn't find any similar feature requests.
  • [X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
  • [X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description

There has been a lot of back-and-forth about alternative behaviours for the Postpone button and its context menu.

This is to capture an idea first written down in #2452:

Add right-click menu on each of the date emojis (including created and done) - to edit specific fields

Initially this will be enabled in the Tasks query results view.

It may end up appearing in Reading mode too, for free.

✔️ Solution

Use the patterns of code in these two directories to generalise the code for the Postpone context menu, and apply it for each of the date emojis.

❓ Alternatives

No response

📝 Additional Context

I have actually tried to do this several times already, trying to refactor the Postpone code for re-use, and not succeeded, because of the complexity of the call-backs in that code.

claremacrae avatar Feb 07 '24 19:02 claremacrae