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

Add a text input to the "Move Task" modal that uses nl-dates for selecting a date.

Open liamcain opened this issue 3 years ago • 3 comments

Additional context Add any other context or screenshots about the feature request here.

Similar to the Things.app UI, you should be able to type in 2021-12-04, Next Friday, or tomorrow as options. The calendar should then convert that value to a selectedId. Then the modal can have a default [Move] button. This way I can select a new date entirely from the keyboard.

image

(^not obvious, but "When" is a textfield here)

@tgrosinger LMK what you think, but I don't mind creating a PR to do this!

liamcain avatar Jan 04 '21 17:01 liamcain

Here's another example of what this could look like. I do like the idea of having "tomorrow" be the default.

image

@liamcain were you thinking that this functionality was going to be part of https://github.com/liamcain/obsidian-calendar-ui? I can do it as part of Slated too, just making sure I understand your comment 🙂

tgrosinger avatar Jan 11 '21 18:01 tgrosinger

I think the functionality should be part of Slated, rather than in the base UI for now. It will help with separation of concerns. I'm still interested in working on it though! I want to roll out the next version of the calendar (powered by the calendar-ui) first, but then am down to help with this.

liamcain avatar Jan 11 '21 18:01 liamcain

Sounds good to me. I've been giving my other plugins a little love, but getting pretty close to coming back to Slated. I think if you want to work on this issue that would be super!

tgrosinger avatar Jan 11 '21 18:01 tgrosinger