argenos / nldates-obsidian

Work with dates in natural language in Obsidian
MIT License
497 stars 46 forks source link

[Feat] improve keyboard accessibility #27

Closed liamcain closed 3 years ago

liamcain commented 3 years ago

I rewrite the datepicker modal to be more keyboard-friendly. Now after opening the modal, you can type a date and press Enter to submit.

image

or with my theme applied:

image

Other side-effects:

I made a couple assumptions here:

Some other future improvements could be:

Edit: I went ahead and added too more improvements to the modal:

Here's a screenshot with the latest version

image

solves #23 solves #24