Looks correct.
Awesome script!
Looks correct.
Awesome script!
Sooooā¦ how about a toggle between reviews and lessons?
Oooh more data to play with
so I didnāt get the chart button showing up in the heatmap originally, so I had to click on the Graph button in the header instead - but then the chart button did show up after I reloaded the pageā¦
Anyway, my chart is:
I like how it shows how I virtually quit WK right after I hit L60 around Christmas 2018, but then came back to a mountain of reviews later on
Here is mine. The decrease after all lessons have been done is impressive.
Yes, I have the same issue.
When I load a page for the first time, it implements the āGraphā button.
When I refresh the page, it is again attached to the heatmap.
My guess is that since I have done so many reviews, it is not given enough time to determine whether the heatmap script is there. Just as an indication, I am currently sitting at 144k+ reviews.
EDIT: It takes 8 seconds for heatmap to show up. (Actually when I tested it this time it was correctly placed on the heatmap, even when using Shift+F5 )
Yeah, the Heatmap is pretty slow to load. I think itās rather because itās a lot of elements to render than it being a lot of reviews, but Iām not sure. Iāve been wanting to look into how to make it quicker.
Anyway, the workload graph only gives the heatmap around 6.4 seconds to load
Yes, I had a similar thought . It usually takes around 10s for the heatmap to show up when I havenāt loaded WK in a while, and then the graph button in the header appears before the heatmap.
(and when I tried my ancient macbook just now, it took 90s for the heatmap to arrive )
Well there ya go, extending that time should probably solve the issue.
Or if @rwesterhof wants to cooperate I could send out a custom event when it loads
Yeah, Iāve already given it more time locally - so itāll be part of the next update. The time mostly goes into the loading of the reviews and review_statistics via the wkof - the API calls tend to take a little longer than I originally accounted for.
Iād be very interested!
You think a graph of lessons would be interesting? Maybe I didnāt consider this because mine would be so boring. I did think about providing an input field + button so people could change the nr of days used in the running average calculation - itās something to play with
Not nearly as interesting as reviews, but once you see one you start feeling like you have to see the other
Need to do lessons and go for a run now, but Iāll take a look at it this afternoon. Lessons are retrieved quite differently I think - havenāt looked at that at all yet.
Hereās mine!
Since that data is available in the WKOF ItemData itās pretty easy to fetch
I have added a custom event heatmap-loaded
that fires on the heatmap element (and bubbles) once itās inserted into the page. Let me know if you want me to set a flag or something just to let your script know that the heatmap script is running at all
edit: Just remembered that WKOF has a flag system that we could use. I guess it doesnāt make much of a difference. If you prefer that just let me know and Iāll change it
Well you are still here, so Iād call that big dedication
Thank you kindly
Iām catching the heatmap-loaded event now. My graph script initially pushes the Graph button into the header and then moves it to the heatmap if the event is caught (meaning that dashboards without a heatmap will keep it in the header).
I had planned to do this yesterday, but I ended up Marie-Kondoāing my linen closet. Took more time than I thought
It looks like this script has a conflict with the level duration 2 script where it causes the level duration to display in the wrong place.