j-palindrome / obsidian-time-ruler

A drag-and-drop time ruler combining the best of a task list and a calendar view (integrates with Tasks, Full Calendar, and Dataview).
MIT License
214 stars 7 forks source link

Add a setting to prevent the current day/time from being truncated #94

Closed jjmaldonis closed 8 months ago

jjmaldonis commented 8 months ago

Awesome plugin!

Currently, when I schedule a task and didn't complete it on time, the task disappears from the Time Ruler calendar view because the current day's view begins at the current time of day.

I'd like a toggle in the setting to prevent the current day's view from beginning at the current time of day. Instead, I always today's view to begin at the beginning of the day (which I have set to 6am). This allows me to see what I've completed and allows me to move any tasks I didn't complete to a later time.

Also, if I am currently working on a task that started at 12:30pm and it's now 12:35pm, I can't see the task because of the same viewing issue.

j-palindrome commented 8 months ago

The Now view will now show what you've completed in the past. It's to the left of the day.

jjmaldonis commented 8 months ago

Hey, it's okay to have this in the Now view, but I want to see the completed tasks in the current day's calendar view because it's useful to see when the task was scheduled during the day.

I found this code which seems to be relevant, but without spending a lot more time digging in I can't create a PR to do this myself.

j-palindrome commented 8 months ago

Use the Past view for that, it shows all completed tasks when they were schedule for time tracking.

jjmaldonis commented 8 months ago

Is it possible to view the Past and Future views at the same time?

j-palindrome commented 8 months ago

Not currently that is a good idea though. Show Completed Tasks setting allows you to see stuff completed today