Skip to content

Preserve the first zone checkbox toggle - #696

Merged
matteius merged 3 commits into
mainfrom
fix/zone-editor-first-toggle
Oct 31, 2026
Merged

matteius merged 3 commits into
mainfrom
fix/zone-editor-first-toggle

Conversation

@matteius

@matteius matteius commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

The first click or Space activation on an unselected zone checkbox could be lost when the parent card selected the zone before the native change event recorded its value.

Record the checkbox value before selecting the card. Keep the existing label, focus behavior, and save payload.

  • Three files: the component, a standalone browser regression suite using existing test dependencies, and its selection in the existing integration workflow. The regression runs on the first UI shard.
  • On main, two first-activation cases fail and four controls pass. With the fix, all six pass; the 16 geometry tests and all 569 web unit tests also pass. Production build passes.
  • Run: npm --prefix web run test:e2e -- --testPathPatterns=zoneEditorCheckbox (root/web dependencies and Playwright Chromium required).

Extracted independently from #693; no foundation tooling or accessibility redesign is included.

@codecov

codecov Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@matteius
matteius merged commit b2720ef into main Oct 31, 2026
13 checks passed
@matteius
matteius deleted the fix/zone-editor-first-toggle branch October 31, 2026 14:41
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