Closed tonysgi closed 5 years ago
Normally it shouldn't show "heatmap.loading", there should be a text.
I think it doesn't load because the API returns null
if the user has no actions yet, which the js library then fails to parse. I'll submit a patch tomorrow
@kolaente I already proposed a fix. You are right, it is because the array is not init (in the api reply) and the json representation is null
not []
.
@sapk Great! Thanks!
[x]
):Description
As a new user, the heatmap does not render until you have submitted the first commit. Until that happens, it is perpetually displaying the "heatmap.loading" icon.
Screenshots
Originally posted by @tonysgi in https://github.com/go-gitea/gitea/pull/5131#issuecomment-432329383