argenos / nldates-obsidian

Work with dates in natural language in Obsidian
MIT License
473 stars 42 forks source link

Calendar View in Date Picker #150

Open vruyr opened 4 months ago

vruyr commented 4 months ago

When inserting a date using the Date Picker, in order to make it easier to understand the day of the week for the parsed date, a calendar view would improve the user experience in quickly completing the workflow.

Here is a very crude mock:

image

Please implement a calendar view in the Date Picker popup where the current and selected dates are highlighted.

P.S.

  1. The close button is overlapping with the input field - I'm using the Minimal theme - might be the reason.
  2. There is a lot of unused blank space in the pop-up in the middle section while the input boxes for the Date and Date Format sometimes might not fit the entered text.
  3. A syntax like “One week from Monday” or “2 weeks from Friday” is not recognized.

I can make separate tickets for these if it'll help.

argenos commented 4 months ago

It's almost a little too out of scope for this repository, but I'll leave this open if someone wants to give it a go. For the other issues: 1 and 2 disable the minimal theme and check if it still happens with the default theme and no plugins, if it does, feel free to open an issue here. Feel free to open a separate issue for 3, but those are limitations of the underlying parser, so unlikely that there will be a fix soon.