Closed MickeyAnne closed 2 years ago
Issue persists on 2.1.49
I also have this issue and in my case it was due to an issue with also having the "Stats Plus" add-on (1009670238) installed. That add-on defines "require" in the global scope which breaks var d3 = typeof require === "function" ? require("d3") : window.d3;
in cal-heatmap v3.6.3.2-anki.
So, if the root cause of your issue is the same as mine and if you'd rather have this add-on work you can go to Add-ons in Anki, locate "Stats Plus" and disable it. Then restart Anki.
@swerage that fixed it! I would rather have the heatmap. Thank you!
Hi guys, thanks for the reports! I've linked a new test build in #149 that should resolve the conflict (thanks to @swerage for investigating this). Would appreciate it if you gave it a try and let me know if it works for you. If you can, please post your results over on the other issue report, so that everything's in one place. Thanks!
(Note: the test build is based on the recently released v1.0.0 update, so it's only been tested on 2.1.49 and up, though it might work on Anki releases as early as 2.1.28.
Thanks for looking at it. Unfortunately I did not get the test build to work in 2.1.49. The console shows some issue with getting the .js file. This is without having enabled Stats Plus, I just replaced Review Heatmap 1.0.0-beta.1 with the test build.
@swerage ah, apologies. Ran the wrong build command. This build should hopefully work.
And thanks for giving it a try!
@glutanimate That build works and seems to work fine with Stats Plus!
@swerage That's great to hear, thanks for giving it a spin!
Problem description
I had to uninstall everything and reinstall it to fix a different problem with Anki itself. When I reinstalled the only version I saw available was 2.1.48 so I chose it. After everything is reinstalled the heatmap part of the addon is not working. I can still see the arrow buttons and the option and support buttons. None of the colored boxes are there anymore.
Checklist
Please replace the space inside the brackets with an x if the following items apply:
Information about your Anki set-up
Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below: