Skip to content

dashboard: merged odometer rolls while the bee is still flying — sequence the roll after the landing #15568

Closed

Description

@clubanderson

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

  1. added a commit that references this issue on Oct 29, 2026
    30cfb74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions