This issue exists since at least 2023, so I thought I’d give it a little nudge too.
The problem seems to be that those two calendars are created in a ‘load’ event handler, but load event does not fire at all when switching between different tabs of the profile page (/user/profile
and /user/profile/stats
). You can see in the network tab that there is no XHR call for data at /user/review_heatmap
It does fire when refreshing the stats page, so the calendars appear then.
Relevant code starts at /user/profile/stats:495
code
<script type="text/javascript">
window.addEventListener('load', () => {
...
var cal = new CalHeatMap();
cal.init({
...
data: "https://bunpro.jp/user/review_heatmap",
...
Frontend is not my specialty, so apologies if I’m barking up a wrong tree @veritas_nz