Leaderboards refresh themselves
Feature
Why it matters: During a round you can leave the leaderboard open and watch it move, with no reloading.
The group leaderboard refreshes every 60 seconds while you’re looking at it. Only the parts that changed are updated, so the page doesn’t flash or jump back to the top. It pauses while the tab is hidden or you’re offline.
Commits (1)
-
2569e59Auto-refresh leaderboard with Turbo 8 morphing every 60 seconds
Files Changed (3)
.../controllers/auto_refresh_controller.js | 31 ++++++++++++++++++++++++++++++ app/views/golfers/index.html.erb | 9 ++++++++- app/views/layouts/eom_v4.html.erb | 1 + 3 files changed, 40 insertions(+), 1 deletion(-)