iamjustkoi / StudyTimeStats

Customizable statistics add-on for Anki.
https://ankiweb.net/shared/info/1247171202
MIT License
19 stars 4 forks source link

Viewing order #7

Closed cjdduarte closed 2 years ago

cjdduarte commented 2 years ago

Is it possible for the add-on information to appear before the heatmap?

Screenshots/Visuals

image

made in paint image

System/Debug Info: You can get this from Anki in Help -> About -> Copy Debug Info,

Additional context Any other context that might seem important to the issue.

iamjustkoi commented 2 years ago

Is it possible for the add-on information to appear before the heatmap?

It might be, but I'll probs have to look more into how add-ons get loaded in Anki a bit more, first. Will see if I can maybe make this an option in the near future, though!

madmaximux commented 2 years ago

If it helps, this addon is able to render above the heatmap:

https://github.com/cjdduarte/MDS_Time_Left/blob/master/mds_time_left.py

iamjustkoi commented 2 years ago

If it helps, this addon is able to render above the heatmap:

https://github.com/cjdduarte/MDS_Time_Left/blob/master/mds_time_left.py

Yeah, to be honest, I do kind of know why MDS is rendering above Review Heatmap, already. Has to do with how Anki sorts add-ons before loading them, if I remember rightly, but I haven't been able to look into it more than that, for the time being, unfortunately. Either way, I defs appreciate it, thanks!

iamjustkoi commented 2 years ago

Small update: I didn't really think about this until now, but it kind of looks like this also has a bit to do with how each add-on's appending its elements to the main window, actually. I can probs look into changing how that works a bit more and control where stuff's getting placed using that, too, though!

I might be able to get this done in next update, or do something with a bit more customization on top of that. Will see!

iamjustkoi commented 2 years ago

The add-on's append method's been updated for the most recent release. Thanks for writing in!

madmaximux commented 2 years ago

The add-on's append method's been updated for the most recent release. Thanks for writing in!

It's working great! Thank You!