You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dashboard: merged odometer rolls while the bee is still flying — sequence the roll after the landing #15568
Follow-up to #15470 / #15545 (merged). Owner: "the odometer should roll only after the bee animation finishes so it looks correlated."
What happens today. On a merge the bee flies from the row's ✓ cell to the Merged pill for STAGE_TRACKER_CELEBRATE_FLY_MS (2 s) and the all-time count is meant to hold back until it lands (stageTrackerMergedHoldback). But the drum still moves under the flight:
the day/week line (N today · N this week) is never held back — stageTrackerMergedSync rolls it the moment the payload arrives, while the bee is mid-air;
the holdback only subtracts a pending flight when the server's recent list carries that PR, so when all_time rose but recent does not list it (bounded list, ident mismatch) the total rolls at once as well;
merges over the flight cap (and merges with no row) bump the total immediately while other bees are still flying — several rolls queued under one flight.
So the roll and the bee look unrelated.
Wanted. Sequence them: merge → bee flies → on its animationend (fallback timer = the flight duration, as stageTrackerAfter already does) → then the drum rolls once (STAGE_TRACKER_ODOMETER_MS, easing unchanged). Several merges during one flight → a single roll to the final value after the last bee lands, no queued multi-rolls. Reduced motion → both instant. First render → set directly, no bee, no roll.
Activity
🐛 dashboard: roll the merged odometer after the bee lands (#15570)