mcndt / obsidian-toggl-integration

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

[[Issue]] : infinite loading's query #114

Closed joniac1 closed 1 year ago

joniac1 commented 1 year ago

Hi, thanks for this great plugin

I have an issue, the query does not show de chart because it loads infinitely.

Has anyone a solution ?

Joniac

rogden-pe commented 1 year ago

This is also an issue for me. It renders the integration practically unusable

mcndt commented 1 year ago

How big is the timespan over which you are querying?

The Toggl API can be very slow with large intervals (e.g. 6 months, 1 year), there's not much I can do about it unfortunately.

If you find that the entire plugin gets stuck loading (because you queued too many large queries), you can try running the Obsidian command "Reload app without saving". That should restart the plugin as well and reset the queue.

mcndt commented 1 year ago

Closing this for now, assuming it is related to the slow API. #91 might fix it (if the v9 API from Toggl is any better)

mcndt commented 1 year ago

Migration to new toggl API is finished in release 0.10.0. Loading summary reports should be much faster now!

https://github.com/mcndt/obsidian-toggl-integration/releases/tag/0.10.0