glutanimate / review-heatmap

Anki add-on to help you keep track of your review activity
https://ankiweb.net/shared/info/1771074083
Other
1.2k stars 90 forks source link

Add context to stdHtml on Overview._renderPage() for use in gui_hooks #139

Closed Shirajuki closed 2 years ago

Shirajuki commented 2 years ago

Description

As of now the hooks of webview_will_set_content for instance, returns a context of type None after navigating to the Overview webview. Adding the line of 140 would simply fix this bug.

Checklist:

Please replace the space inside the brackets with an x and fill out the ellipses if the following items apply:

glutanimate commented 2 years ago

Hey Shirajuki, appreciate the contribution! This code path is no longer in the latest version of the add-on as I decided to drop support for Anki versions below 2.1.28. Still, I do appreciate the thoughtful PR. Thank you!