2.8 KiB
2.8 KiB
Slow continuous Stop rotation
User requested the Stop button rotate slowly and continuously in chat.
- The glyph makes one linear turn every 8 seconds, repeating for as long as the processing turn keeps Stop visible. Native button geometry, semantics, tooltip, hit target and interrupt action stay stationary/unchanged; Send remains available. No transcript or transport state is driven by animation.
- A local RepaintBoundary confines painting to the icon. TickerMode silences hidden routes; controller disposal stops animation when Stop disappears.
- System reduced motion makes the icon static and resets its angle; re-enabling motion resumes rotation.
- Tests cover 8-second cadence/repetition, reduced-motion toggling, hidden mode, disposal, no ancestor repaint and both native button styles/actions/geometry.
- Functional chat tests use a scoped reduced-motion test configuration so their asynchronous pumpAndSettle remains meaningful with an intentionally infinite animation. Dedicated animation tests explicitly enable motion and pump time.
- This exposed an existing zero-duration AnimatedSize layout mutation under
reduced motion;
701449b4skips that size animator entirely, with two regression cases for asynchronously arriving rows. Default-motion behavior is unchanged. - Full gate: clean analysis and 1,860 tests pass.
- Normal-app browser probe CHECK_STOP_ROTATION=1 passes 20 checks/14 captures per
host in
build/stop-rotation-{material,cupertino}/. Pixel comparisons prove motion, identical hit-target geometry and static reduced-motion output. Both Material motion frames visually inspected. - No backend changes, service restarts or device operations. The prior stock-Back
APK 29880696 finished and is preserved in
build/candidates/stock-chat-back-29880696/; it is superseded by the combined release below. Actual device behavior unverified. - Focused exact scroll-roundtrip/system-Back tests also pass with the processing animation running at both 390/840 widths; it cannot hold the chat route open.
./install --websucceeded and the combined bundle is public, with rollbackapp/build/web-before-stop-rotation-1792844021/. Authenticated public downloads on HTTPS 8443/8096 match installed JS SHA25664fb0864ef9a9b92b740541b079b7329368894b47b8b1283a3e9adf6d03ae69d.- Combined APK 29880730 (
0.1.29880730) built and published, including stock chat Back and slow Stop rotation. ZIP integrity, current source cache287ff159610cef4d1cb3, unchanged signing certificate, feed version metadata and full authenticated downloads verified at localhost:8083 and HTTPS 8443/8096. APK SHA256:32e4bf81531b0c6a1d4e5d869d71168ecee6e4426b010598ecacd184a550076c. - APK rollback:
app/build/updates-before-stop-rotation-29880730/andapp/build/web/updates-before-stop-rotation-29880730/. No device installation.