mcndt / obsidian-toggl-integration

A Toggl integration plugin for the popular knowledge base application Obsidian.
GNU General Public License v3.0
270 stars 19 forks source link

Real time or Refresh sidebar view (report) #28

Closed tonyxiao closed 2 years ago

tonyxiao commented 2 years ago

The timer is in real time, but the sidebar summary view itself doesn't seem to update. Is there a time-interval with with it updates? And is there a way to manually refresh the report?

Adding a gif to make it clear. CleanShot 2021-09-05 at 16 34 42

mcndt commented 2 years ago

Hi Tony! You are correct, the summary does not update at regular intervals. iirc, it is updated in these cases:

Currently, refreshing the overview can be done by reloading Obsidian (command palette: "Reload app without saving"), although regardless the currently running timer is never part of the summary (Toggl does not include it in their report endpoint).

mcndt commented 2 years ago

Could you describe the ideal behavior for your use case? I am always open to feature requests and perhaps I could make a setting for including the current running timer in the summary, with real-time total time for the day.

tonyxiao commented 2 years ago

I would love for current timer to be part of the summary! It is actually something I am sorely missing from Toggl. That plus refresh at the end of saving would totally do if.

mcndt commented 2 years ago

Sorry this took so long. Just added it in release 0.6.0, should be live in a few days I think!