Commit Graph
2 Commits
Author SHA1 Message Date
f573e93ed4 Fix heatmap activity (#15252)
* Group heatmap actions by 15 minute intervals

Signed-off-by: Sidd Weiker <[email protected]>

* Add multi-contribution test for user heatmap

Signed-off-by: Sidd Weiker <[email protected]>

* Add timezone aware summation for activity heatmap

Signed-off-by: Sidd Weiker <[email protected]>

* Fix api user heatmap test

Signed-off-by: Sidd Weiker <[email protected]>

* Update variable declaration style

Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: 6543 <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2021-06-25 12:59:25 -04:00
silverwindandGitHub 12c2efb45c Remove fetch request from heatmap (#13623)
* Remove fetch request from heatmap

Render heatmap data directly to HTML, eliminating one HTTP request on
frontpage and user profile. Also added min-height to the container so
the page content will no longer move after loading.

* rename and error display

* also log the js error

* add error handler

* remove useless inline style and hide divider on small screens

* Update routers/user/home.go

* Update routers/user/profile.go
2020-11-18 16:00:16 -06:00