Skip to content

Keep clipboard confirmations tied to the current scenario - #32

Merged
dev-belly merged 1 commit into
mainfrom
codex/share-state-20261102
Nov 2, 2026
Merged

dev-belly merged 1 commit into
mainfrom
codex/share-state-20261102

Conversation

@dev-belly

@dev-belly dev-belly commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

A slow clipboard write can finish after the visitor edits a timestamp and display 'Scenario link copied' beneath a different scenario. Capture the link at click time, serialize pending writes across edits, and announce success or fallback only while that exact link is still the visible valid scenario. Restore the button according to current validity when the write finishes.

Add real-Chrome controls for delayed success after a scenario switch, duplicate clicks, delayed rejection after invalid input, current failure/fallback and successful retry at desktop and 390px widths. Clipboard promises are controlled so the checks do not write to a runner's actual clipboard. Existing selection, download and independent Python replay checks remain in place.

Validation: real Chrome passes 38 interaction checks across seven visits at observed 1280px/390px widths, including both actual downloads and their independent replay. The shipped core passes 71 scenarios against SQLite and the independent Python engine; all 68 valid exported inputs independently replay. The local suite reports 152 tests with 16 optional pandas skips, zero failures/errors. UI/test script syntax, Ruff and git diff --check pass. Package runtime, data contracts, release assets and timing algorithms are unchanged.

@dev-belly
dev-belly marked this pull request as ready for review November 2, 2026 04:34
@dev-belly
dev-belly merged commit 40152e3 into main Nov 2, 2026
20 checks passed
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.

1 participant