Skip to content

Fix pie autoplay#622

Merged
artoonie merged 10 commits intomainfrom
fix-pie-autoplay
Apr 10, 2026
Merged

Fix pie autoplay#622
artoonie merged 10 commits intomainfrom
fix-pie-autoplay

Conversation

@artoonie
Copy link
Copy Markdown
Owner

@artoonie artoonie commented Apr 10, 2026

Copy of #618 with Heroku tests runnable

skaphan added 10 commits April 7, 2026 19:59
Add resumeFrom() to round player so the pie chart can advance the
dropdown during auto-play without stopping playback. When the pie
chart skips a round with no transfers, updateRound() now calls
resumeFrom() instead of setStep() to keep the animation going.

Co-Authored-By: Claude Opus 4.6
Revert round-player.js changes. The simpler approach is to skip
the setStep() call entirely during auto-play so it does not stop
playback. The round player timer catches up on its next tick.

Co-Authored-By: Claude Opus 4.6
The no-transfer round skipping has been reverted from the pie chart
component, so the workaround in updateRound is no longer needed.

Co-Authored-By: Claude Opus 4.6
Skip no-transfer rounds during pie chart animation by requesting the
controller to advance immediately. Remove firstStepHoldTimeMs workaround
since the first step now fires immediately.

Co-Authored-By: Claude Opus 4.6
The timer delay is for between steps, not before the first one.
Removes the need for the firstStepHoldTimeMs workaround.

Co-Authored-By: Claude Opus 4.6
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.09%. Comparing base (f691a50) to head (c6f7d55).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #622      +/-   ##
==========================================
- Coverage   96.10%   96.09%   -0.02%     
==========================================
  Files         133      133              
  Lines        6346     6346              
==========================================
- Hits         6099     6098       -1     
- Misses        247      248       +1     

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f691a50...c6f7d55. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@artoonie artoonie merged commit 9ee1f5d into main Apr 10, 2026
8 checks passed
@artoonie artoonie deleted the fix-pie-autoplay branch April 10, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants