srg-kostyrko / obsidian-journal

MIT License
70 stars 7 forks source link

Feature Request: Hotkey or button to jump to the active note's position on the calendar #27

Closed obsidianspear closed 3 months ago

obsidianspear commented 4 months ago

Thank you for the ability to quickly move forward and back between existing notes across different time frames (daily, weekly, monthly, quarterly, yearly) using the same hotkey based on what's opened. If there are gaps in my calendar, it likely means there wasn't anything important to note, thus this feature is a game-changer compared to the functionality of other calendar-dedicated and core Daily Note plugins already. You have my gratitude.

One change I would love to see:

Simply put: A hotkey and/or button to highlight and show the "currently open note" on the calendar, supporting all time frames.

Some thoughts:

Workflow Example:

All of this in mere seconds. Quick. Easy. Simple.


Extended Functionality (not a priority):

Not what I'm asking for, but additional ideas. The above is already more than enough to see benefits.

  • Hotkeys to navigate up and down the time frame hierarchy based on the active note (e.g., from daily to weekly, weekly to monthly, etc.). It can also be referred to as zooming in and out.

This could potentially be implemented in one of the following ways as options if it doesn't exist (based on what's currently opened and active): When attempting to move up or down timeframes based on the current note...

  1. Prompt the user with "___ doesn't exist. Would you like to create a new note?" if the desired time frame doesn't have an existing note.
  2. Automatically create a new note for the desired time frame if one doesn't exist without prompting.
  3. If a valid note isn't opened and active, do nothing.

Coupled with the ability to navigate back and forth between existing entries with keyboard only, whew. It would simply feel incredible to fly through the calendar. Not necessary, but just a thought. I am not experienced enough in coding, so I humbly request the main feature above. Thank you for all you've contributed thus far! Sorry if this is more convoluted than it needs to be.

srg-kostyrko commented 4 months ago

thank you for feedback and ideas zoom in/out is really great idea - will definitely add it

A have a question re open in calendar functionality I was considering to auto adjust calendar view based on active note - so if you opened a note several months in path calendar view will automatically switch to that month. This way no additional hotkeys needed. On other hand calendar that is not adjusting might be good as well - you have control which month is is there and with hotkeys can quickly switch. Would like to hear your opinion on what makes more sense for you

obsidianspear commented 4 months ago

Hello, thank you for your consideration. In my opinion, auto-adjusting the calendar to reflect the active note sounds more intuitive. I only assumed you had your reasons for this and wanted to request additional functionality. That would be much simpler to implement 🙂

srg-kostyrko commented 4 months ago

Great, I'll add this in next release

srg-kostyrko commented 3 months ago

Released in 1.3.0