Repository navigation
Replayer 'Skip inactive' - remove disable state and keep access to controls - #2020
Open
eoghanmurray wants to merge 2 commits into
Open
eoghanmurray wants to merge 2 commits into
eoghanmurray wants to merge 2 commits into
Conversation
|
@rrweb/all
@rrweb/browser-client
@rrweb/packer
@rrweb/record
@rrweb/replay
rrdom
rrdom-nodejs
rrvideo
rrweb
rrweb-player
rrweb-snapshot
@rrweb/types
@rrweb/utils
@rrweb/rrweb-plugin-canvas-webrtc-record
@rrweb/rrweb-plugin-canvas-webrtc-replay
@rrweb/rrweb-plugin-console-record
@rrweb/rrweb-plugin-console-replay
@rrweb/rrweb-plugin-network-record
@rrweb/rrweb-plugin-network-replay
@rrweb/rrweb-plugin-sequential-id-record
@rrweb/rrweb-plugin-sequential-id-replay
commit: |
… messing up the internal state which is fixed by a `backToNormal` call
eoghanmurray
force-pushed
the
skip-inactive-keep-controls
branch
from
November 23, 2026 16:41
83193b3 to
1839eaf
Compare
…witch `disabled` prop Lock in that a user-initiated reposition cancels an in-progress inactive-skip and restores the recorded normal speed. The guard is the `backToNormal()` call at the top of `Replayer.play()`; these tests assert the behaviour (speed FSM back to `normal`, timer speed restored) rather than the placement, so they fail if a future refactor lets a seek bypass it — in particular the seek-and-pause case, which today only reaches the guard because `pause(timeOffset)` delegates to `play(timeOffset)`. Each test injects the skipping state directly via a FAST_FORWARD send instead of waiting on organic fast-forward timing, keeping them deterministic: - seek during a skip (play offset) - seek-and-pause during a skip (pause offset) - in-place pause freezes the skip; resume restores it Also remove the now-unused `disabled` prop from the Switch component (and its dead styles/bindings): nothing passes it since the controls stopped being disabled during skipping, and Switch is internal to the player. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.