Skip to content

fix(Selector, MultiSelector, ComplexSelector): a press on the trigger paints and never scales it - #12324

Open
cixzhang wants to merge 12 commits into
mainfrom
lane2/selector-trigger-press-recipe
Open

cixzhang wants to merge 12 commits into
mainfrom
lane2/selector-trigger-press-recipe

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Owner: fix lane 2. Land path: draft → Specs check → CodeBunny → merge queue.

Overlap checked: #12087, #11916, #12274, #11681, #11246 (#12087 changes Selector and MultiSelector option and status code; #11916 the status buttons' aria-describedby; #12274 the trigger-width list minimum; #11681 and #11246 Tooltip loading and the disabled reason. None changes a trigger's press styles, and each conflicts with this at most by line position.)

User impact

A press on a ghost or secondary Selector, MultiSelector or ComplexSelector trigger shrank the trigger to 98 %, even under Reduce Motion, where no press may scale (design:reduced-motion DR1). A person who turns on Reduce Motion to avoid motion still saw the trigger move on every press. Now the trigger never scales. The press shows as the shared pressed tint, the same for a finger, a mouse and a pen.

Change

The three triggers drop their own press transform (scale(0.98) on :active and on the press controller's data-astryx-press="on"), the transform in their transition, and the LAYER_OPEN selector that kept the scale off while the list was open. The disabled and read-only ghost styles drop the transform: none that only cancelled that scale. The press tint they already paint through the shared interaction overlay and the press controller (usePressFeedback) is unchanged.

This is press-feedback recipe 1, the momentary control, which architecture:press-feedback lists for the Selector-family triggers: the system pressed tint on the control's own press layer. The recipe says "A standalone control may also scale, as its record states", and the Selector, MultiSelector and ComplexSelector records state no press scale, so the records decide the change (D-20261117-116). No change to the default (input) variant, which paints no press.

Public theming surface (one addition). Removing LAYER_OPEN removed Core's only style on an open Selector, and the theme editor offers an ARIA state only where Core paints it, so the selector target lost the expanded state a theme could set on main. To keep that theme capability, the selector theming target now declares expanded in Selector.doc.mjs, and themeProps writes data-expanded="expanded" on the selector box while the list is open (editable trigger only, matching the trigger's aria-expanded). A theme rule --state expanded --on selector builds .astryx-selector[data-expanded="expanded"]. The probe theme is regenerated for the new state. Public API delta: the selector theme target's states add expanded; the selector box gains the data-expanded attribute (architecture:public-component-api DEC-2 requires a record to name it: component:Selector does).

Records

architecture:press-feedback (recipe 1, INV2; INV8: under reduced motion no press scales) and design:reduced-motion DR1 decide the change. The press-feedback record already names the Selector-family triggers under recipe 1. Its readiness row lists two gaps this closes, and this pull request removes both: the Selector-family triggers among the controls that re-declare press styles (INV1 gap), and the INV8 gap sentence "Selector-family triggers scale under reduced motion". (The idea of dropping them came from @josephfarina's closed press-feedback pull request #12415, which rewrote the same table.)

component:Selector adds one row to its concept table: open state, expanded, a stable theming state on the selector target while its list is open (editable trigger; default neither; owner Selector; additive; unknown states are not emitted). architecture:component-theming-surface INV6 decides it: state stays on the owning target and reaches themes through themeProps.

Writing rubric results

Records: docs/specs/components/Selector/Selector.spec.md (one concept-table row) and docs/architecture/press-feedback.md (its readiness row: the Selector-family triggers leave the INV1 gap list, and the INV8 gap sentence is removed).

  • R1 narration: none; the rows state the current gaps and the open state as they are.
  • R2 research: none.
  • R3 evidence: INV8's verification row stays; the readiness row now names only gaps that still exist.
  • R4 rejected alternatives: none.
  • R5 change references: none.
  • R6 open questions: none.
  • R7 project status: the row keeps only gaps that still exist.

Evidence

Real Chromium (HeadlessChrome 155): a Storybook built from main (13b8981) and from this head. A mouse press held for 350 ms on the trigger of each story, then read the computed transform of the trigger and its three nearest ancestors:

Story main, motion main, Reduce Motion this head, motion this head, Reduce Motion
Selector ghost scale 0.98 scale 0.98 none none
Selector secondary scale 0.98 scale 0.98 none none
MultiSelector ghost scale 0.98 scale 0.98 none none
MultiSelector secondary scale 0.98 scale 0.98 none none
ComplexSelector secondary scale 0.98 scale 0.98 none none
ComplexSelector ghost (toolbar trigger) scale 0.98 scale 0.98 none none

The pressed tint paints in every case, before and after.

Stills, real Chromium 155, a mouse press held on the trigger, cropped at 2×. On main the trigger sits inset from the crop (scaled to 0.98); at this head it fills it, with the same pressed tint:

Story Mode main (13b8981) this head
Selector ghost with motion main head
Selector ghost Reduce Motion main head
Selector secondary with motion main head
Selector secondary Reduce Motion main head
MultiSelector ghost with motion main head
MultiSelector ghost Reduce Motion main head
MultiSelector secondary with motion main head
MultiSelector secondary Reduce Motion main head
ComplexSelector secondary with motion main head
ComplexSelector secondary Reduce Motion main head
  • SelectorTriggerPress.interaction.browser.spec.ts (new) checks the same thing for the six stories, with motion and under Reduce Motion, with a mouse and with a finger, in CI's browsers. For each press it checks that the pressed tint paints (the pressable box's background image changes from rest while the press is on) and that no transform lands on the trigger or its three nearest ancestors. Main scales every trigger; this head paints and scales none.
  • LayerPressTransform.interaction.browser.spec.ts waited for the 0.98 scale on a pressed ghost or secondary Selector before checking that the list opens in place. It now waits for the press to reach the trigger and checks the trigger stays at scale 1, as its open-trigger cases already do; the list-placement checks are unchanged.
  • The open state paints (Chromium): SelectorTriggerPress.interaction.browser.spec.ts adds "a theme's expanded state paints the open trigger only". It injects the rule a theme builds for --state expanded --on selector and polls the box fill: red only while the list is open, not before and not after Escape.
  • The theme editor keeps the state (node): theme-states-core-paints-aria.test.mjs adds "builds an open selector as its expanded state" (how offers expanded; set … --state expanded builds .astryx-selector[data-expanded="expanded"]). theme-readers-part-named-color.test.mjs is unchanged and passes at this head (the exact-head preflight's node run).
  • ci-interaction-webkit.test.mjs's "no interaction spec" list names Badge/Badge.tsx, because Selector now has one.
  • vitest run --project ui for Selector, MultiSelector and ComplexSelector: 30 files, 777 tests pass.

Merge gate

This changes how a press feels, so it merges only after Cindy records her own touch-feel check on a phone (her 11/20 rule). The tint-without-transform evidence above, for finger and mouse, is what that check compares against.

Scope

Components: Selector, MultiSelector, ComplexSelector, data-expanded (the selector theming target's open state)

  • One fix.
  • Test-backed, red first.
  • Public text contains no internal context.

… paints and never scales it

The ghost and secondary triggers scaled to 0.98 on press, also under Reduce Motion, where no press scales. They now follow the momentary-control press recipe: the shared pressed tint only. The LAYER_OPEN selector and the disabled and read-only transform overrides only served the scale and go with it.
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 23, 2026 5:30am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 17, 2026
@astracat-bot

astracat-bot Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 23, 2026, 2:32 PM UTC

@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Nov 17, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 41b2f52

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 0bb533b

Storybook · Sandbox · built from this PR's head

Modified components

Component Size LoC Visual · A11y · RTL
LayerProvider 4.4 kB (0) · 20 B CSS (0) — — · — · —
SelectorOption 24.9 kB (0) · 6.8 kB CSS (0) — — · — · —
richtext/RichTextEditorToolbar 317.1 kB (−53 B) · 454 B CSS (0) — — · — · —
6 more components
Component Size LoC Visual · A11y · RTL
ComplexSelector · Storybook 84.3 kB (−31 B) · 13.2 kB CSS (−24 B) 722 (−28) — · — · —
lab/TransferListSelector 152.0 kB (−64 B) · 1.4 kB CSS (0) — — · — · —
Pagination 154.8 kB (−60 B) · 20.0 kB CSS (−52 B) — — · — · —
PowerSearch 320.5 kB (−60 B) · 27.3 kB CSS (−53 B) — — · — · —
Selector 121.8 kB (−61 B) · 19.7 kB CSS (−52 B) — — · — · —
MultiSelector · Storybook 109.9 kB (−72 B) · 18.9 kB CSS (−52 B) 2,756 (−33) — · — · —

Package size: @astryxdesign/core 8.00 MB packed (−1.4 kB); no new dependencies.

API changes: core +1 · ~1 · −0

2 API changes (advisory)
Package Where Signature Usage
+ core Public attributes · attr data-expanded attr data-expanded (theme reflection on 1 target) [data-expanded] { … }
~ core Theme targets · target selector (Selector) target selector (Selector) props [size, status, variant] states [disabled, readonly] → target selector (Selector) props [size, status, variant] states [disabled, expanded, readonly] defineTheme({components: {'selector': {…}}})

Wide change (shared styles: packages/themes/probe/src/probeTheme.ts): add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.

CI impact: 0 job-min per update · pool 0% · time to green −0.6 min · standard runners · 1 CI action or script file changed (not measured)
Before After Change
Job-minutes per PR update 209.2 209.2 0
Runner pool, runner-minutes a day 53,760 53,760 0 (0%)
Average concurrent jobs 37.3 37.3 0
Time to green (median → this run) 21.9 min 21.3 min −0.6 min
Runs a day 257 257 0

Not measured (the jobs that use these keep their recent minutes above): .github/scripts/ci-interaction-webkit.test.mjs.

Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.


Generated by PR Enrichment workflow | View full report

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes: removing the trigger press scale matches the press-feedback recipe and the reduced-motion rule, but an existing interaction spec still waits for the old scale.

  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts:276 and :401 call expectPressed on .astryx-selector. It waits for the 0.98 press scale, so the mouse ghost and secondary Selector cases and the finger ghost Selector case time out at this head. Wait for the press to reach the trigger, as expectPressedUnscaled does, and assert scale 1 instead.

Non-blocking: after this change, the INV8 gap and the Selector mention in the INV1 gap of docs/architecture/press-feedback.md describe behavior that no longer exists. The new spec could also add the ComplexSelector ghost story (core-complexselector--controlled-toolbar-trigger), which the changeset names.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: a ghost or secondary Selector, MultiSelector or ComplexSelector trigger no longer shrinks on press. Verified: no transform is left in the trigger styles, and a held mouse press on six stories reads scale 0.98 on main and none here.
  • Claim: it never shrinks under Reduce Motion. Verified on the same six stories with reduced motion.
  • Claim: the press shows as the shared pressed tint for finger, mouse and pen. Verified: the shared overlay paints the pressed overlay token for :active and for the press controller's attribute (interactionOverlay.stylex.ts), and the mouse tint is the same on main and here.
  • Claim: the scale, its transition, LAYER_OPEN and the disabled and read-only transform: none overrides are removed, and those overrides cancelled nothing else. Verified: no other style the trigger composes sets transform.
  • Claim: the press tint through the shared overlay and the press controller is unchanged. Verified (Selector.tsx:2268, :2284; same tint).
  • Claim: the press-feedback record lists the Selector-family triggers under recipe 1, and the three component records state no press scale. Verified. Claim: no record changes are needed. Partly: two gap lines go stale (non-blocking note above).
  • Claim: no public API change, and no change to the default input variant. Verified: zero API surface rows, and the removed styles apply only to ghost and secondary.
  • Claim: main scales every listed trigger and this head none, and the new spec checks it. Verified: the spec's ten cases pass here, and main scales.
  • Claim: Selector, MultiSelector and ComplexSelector unit tests pass (23 files, 738 tests). Verified, same count.
  • Claim: the public text has no internal context. Verified.
  • File .changeset/selector-trigger-press-no-scale.md: clear.
  • File packages/core/src/Selector/Selector.tsx: clear in itself; leaves LayerPressTransform expectations stale (finding above).
  • File packages/core/src/MultiSelector/MultiSelector.tsx: clear.
  • File packages/core/src/ComplexSelector/ComplexSelector.tsx: clear.
  • File packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear; could add the ComplexSelector ghost story.

Automated review (maintainer link)

Comment thread packages/core/src/Selector/Selector.tsx Resolved
…press record drops the Selector gaps

LayerPressTransform waited for the 0.98 press scale on a Selector trigger, which no longer exists; it now waits for the press to reach the trigger and checks scale 1. The trigger-press spec covers the ghost ComplexSelector too. architecture:press-feedback no longer lists the Selector-family triggers under the INV1 re-declared-press gap or the INV8 reduced-motion gap.
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 17, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 7c684a1

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 17, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not run on this head yet. Removing the trigger press scale brings the ghost and secondary Selector, MultiSelector and ComplexSelector triggers onto the shared momentary-control press recipe and the reduced-motion rule, and the new and updated interaction cases fail on main and pass here.

No blocking findings. The earlier request is resolved: the layer press spec's Selector cases now assert an unscaled trigger, the press-feedback readiness row drops the two closed gaps, and the new spec covers the ghost ComplexSelector trigger.

Claims and files checked

Review mode: full; reason: spec-record

Claims:

  • Changeset: a press on a ghost or secondary trigger of the three components no longer shrinks it, and never under Reduce Motion: verified by held-press probes and the new spec (no transform at this head, a 0.98 scale on main, in both motion modes).
  • Changeset: the press shows the shared pressed tint, the same for finger, mouse and pen: verified, the shared overlay paints the pressed overlay token for :active and for the press attribute (interactionOverlay.stylex.ts:244-264), and the probes read the same tint on main and here.
  • Description: the triggers drop their own press transform, the transform in their transition, the open-list selector and the disabled and read-only transform: none: verified in all three component diffs.
  • Description: the press tint from the shared overlay and the press controller is unchanged: verified, usePressFeedback and the overlay styles are untouched.
  • Description: the press-feedback record lists the Selector-family triggers under recipe 1, and the three component records state no press scale: verified.
  • Description: no public API change, and the default input variant, which paints no press, is unchanged: verified, the API surface comparison lists no rows and the input variant does not compose the overlay.
  • Description: the readiness row's two Selector-family gaps leave it: verified, only that row changes.
  • Description: the five overlapping open pull requests change no trigger press styles: verified from their file patches.
  • Description: on main every listed trigger scales to 0.98 with and without Reduce Motion, and here none does: verified by independent probes on both builds.
  • Description: the new spec checks the six stories in both motion modes: verified, its 12 cases fail on a main build and pass here.
  • Description: the layer press spec now waits for the press and checks scale 1, with list placement unchanged: verified, its three Selector cases fail on a main build and all 11 cases pass here.
  • Description: 23 unit test files and 738 tests pass for the three components: verified.
  • Title: a press on the trigger paints and never scales it: verified for the ghost and secondary variants the description scopes it to.

Files:

  • .changeset/selector-trigger-press-no-scale.md: clear
  • docs/architecture/press-feedback.md: clear
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear
  • packages/core/src/Selector/Selector.tsx: clear
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear

Automated review (maintainer link)

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 648f0d3

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not run on this head yet. After the merge of main, the ghost and secondary Selector, MultiSelector and ComplexSelector triggers still keep full size under a press, with or without Reduce Motion, and show the shared pressed tint; the new and updated interaction cases fail on main and pass here.

No blocking findings.

Claims and files checked

Review mode: full; reason: merge-touches-pr-files

Claims:

  • Changeset: a press on a ghost or secondary trigger of the three components no longer shrinks it: verified by held-press probes and the new spec (no transform here, a 0.98 scale on main).
  • Changeset: it never shrinks under Reduce Motion: verified by the same probes and spec cases with Reduce Motion on.
  • Changeset: the press shows the shared pressed tint for finger, mouse and pen: verified, the shared overlay paints the pressed overlay for :active and for the press controller's attribute, and the probes read the same 10% tint on main and here.
  • Description: the triggers drop their own press transform, its transition entry, the open-list selector and the disabled and read-only transform: none: verified in all three component diffs.
  • Description: the tint from the shared overlay and the press controller is unchanged: verified, those modules are untouched and each trigger still composes them.
  • Description: the press-feedback record lists the Selector-family triggers under the momentary-control recipe, and the three component records state no press scale: verified.
  • Description: no public API change, and the default input variant, which paints no press, is unchanged: verified, the API surface comparison of Core and the seven themes lists no rows and the input variant composes no overlay.
  • Description: only the readiness row's two Selector-family gaps leave the record: verified by a whitespace-insensitive diff of the record.
  • Description: the five overlapping pull requests change no trigger press style and conflict at most by line position: verified from their file patches, and the merge of main, which now holds one of them, is clean.
  • Description: main scales every listed trigger with and without Reduce Motion, this head none, and the pressed tint paints in every case: verified by independent probes of both builds in all six stories.
  • Description: the new spec checks the six stories in both motion modes: verified, its 12 cases fail against a main build and pass here.
  • Description: the layer press spec now waits for the press and checks scale 1, with list placement unchanged: verified, its three Selector cases fail on a main build and all 11 cases pass here.
  • Description: the three components' unit suites pass: verified, 29 files and 761 tests pass at this head (the stated 23 files and 738 tests predate the merge of main).
  • Description: the stills show the trigger inset on main and at full size here: verified by fresh captures of both builds.
  • Description: public text contains no internal context: verified.
  • Title: a press on the trigger paints and never scales it: verified for the ghost and secondary variants the changeset scopes it to.

Files:

  • .changeset/selector-trigger-press-no-scale.md: clear
  • docs/architecture/press-feedback.md: clear
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear
  • packages/core/src/Selector/Selector.tsx: clear
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear

Automated review (maintainer link)

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 9d62534

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not run on this head yet. After the latest merge of main, a press on a ghost or secondary Selector, MultiSelector or ComplexSelector trigger still keeps it at full size, with or without Reduce Motion, and shows the shared pressed tint; the new and updated interaction cases fail on main and pass here.

No blocking findings.

Claims and files checked

Review mode: full; reason: merge-touches-pr-files

Claims:

  • Changeset: a press no longer shrinks a ghost or secondary trigger of the three components: verified by held-press probes and the new spec (a 0.98 scale on main, none here).
  • Changeset: the trigger never shrinks under Reduce Motion: verified by the same probes and spec cases with Reduce Motion on.
  • Changeset: the press shows the shared pressed tint for a finger, a mouse and a pen: verified, the shared overlay paints the pressed token for a mouse or pen press and for the press controller's touch state, and the probes read the same 10% tint on main and here.
  • Description: on main the triggers shrank to 98% on a press, also under Reduce Motion: verified on a main build.
  • Description: the triggers drop their own press transform, its transition entry and the open-list selector: verified in all three components.
  • Description: the disabled and read-only ghost styles drop their transform: none: verified (ComplexSelector has only the disabled one).
  • Description: the tint from the shared overlay and the press controller is unchanged: verified, those modules are untouched and each trigger still composes them.
  • Description: the press-feedback record lists the Selector-family triggers under the momentary-control recipe, and the three component records state no press scale: verified.
  • Description: no public API change, and the default input variant, which paints no press, is unchanged: verified, the API surface comparison of Core and the seven themes lists no rows and the input variant composes no press overlay.
  • Description: only the readiness row's two Selector-family gaps leave the record: verified by a whitespace-insensitive diff.
  • Description: the five overlapping pull requests change no trigger press style: verified from their file patches, which touch no press, scale or transform line in the three components.
  • Description: main scales every listed trigger with and without Reduce Motion, this head none, and the tint paints in every case: verified by independent probes of both builds in all six stories.
  • Description: the stills show the trigger inset on main and at full size here: verified by fresh captures of both builds.
  • Description: the new spec checks the six stories in both motion modes: verified, its 12 cases fail against a main build and pass here.
  • Description: the layer press spec now waits for the press and checks scale 1, with list placement unchanged: verified, its three Selector cases fail on a main build and all 11 cases pass here.
  • Description: the three components' unit suites pass: verified, 30 files and 765 tests pass here (the stated 23 files and 738 tests predate the merges of main).
  • Description: one fix, test-backed and red first, with no internal context in public text: verified.
  • Title: a press on the trigger paints and never scales it: verified for the ghost and secondary variants the changeset names.

Files:

  • .changeset/selector-trigger-press-no-scale.md: clear
  • docs/architecture/press-feedback.md: clear
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear
  • packages/core/src/Selector/Selector.tsx: clear
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear

Automated review (maintainer link)

…the WebKit routing test names a component with no interaction spec
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 20, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 09028ac

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 0e460df

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. CI has passed on this head, including the new press and open-state cases in both the Chromium and WebKit interaction runs. Dropping the trigger press scale brings the ghost and secondary Selector, MultiSelector and ComplexSelector triggers in line with the press-feedback recipe and the reduced-motion rule, and the new expanded state on the selector theme target is additive and announced in its own changeset.

Claims and files checked

Review mode: same-head; reason: none

Claims:

  • Changeset: a press no longer shrinks a ghost or secondary trigger of the three components: verified, held mouse presses read a 0.98 scale on main and none here, and the 12 trigger-press cases fail on main and pass here and in CI.
  • Changeset: the trigger never shrinks under Reduce Motion: verified by the same probes and cases with Reduce Motion on.
  • Changeset: the press shows the shared pressed tint for a finger, a mouse and a pen: verified, the shared overlay and press controller are unchanged, probes read the same 10% tint on main and here, and the layer spec's finger case sees the press reach the trigger.
  • Changeset: the selector theme target has an expanded state, the box carries data-expanded="expanded" while its list is open, and a rule for that state paints only the open trigger: verified by the doc entry, the component code, the theme-edit test and the open-state browser case.
  • Description: the five overlapping pull requests change no trigger press style: verified from their file patches.
  • Description: on main a press shrank these triggers to 98%, also under Reduce Motion: verified on a main build.
  • Description: the triggers drop their own press transform, its transition entry and the open-list selector, and the disabled and read-only ghost styles drop their transform: none: verified (ComplexSelector has only the disabled one).
  • Description: the tint from the shared overlay and the press controller is unchanged: verified.
  • Description: the press-feedback record lists the Selector-family triggers under the momentary-control recipe, and the three component records state no press scale: verified.
  • Description: no change to the default input variant, which paints no press: verified.
  • Description: removing the open-list selector took away the expanded state the theme editor offered on selector: verified; on main that state could be set but its rule never matched, because aria-expanded sits on the inner combobox.
  • Description: selector now declares expanded, written as data-expanded="expanded" while the list is open on an editable trigger, matching the trigger's aria-expanded: verified.
  • Description: a theme rule for that state builds .astryx-selector[data-expanded="expanded"]: verified by the theme-edit test, which passes in CI.
  • Description: the probe theme is regenerated for the new state: verified, the probe-theme lint check passes.
  • Description: the public API delta is the expanded state and the data-expanded attribute, which the Selector record names: verified, the surface generator lists exactly those two rows.
  • Description: the records change only the press-feedback readiness row and one Selector concept row, with rubric results: verified.
  • Description: main scales every listed trigger with and without Reduce Motion, this head none, and the tint paints in every case: verified by probes of both builds and by the new spec's cases.
  • Description: the stills show the trigger inset on main and at full size here: verified by captures (31.36 and 32 CSS px tall).
  • Description: the new spec checks the six stories in both motion modes in CI's browsers: verified, its 12 press cases pass in CI's Chromium and WebKit runs and fail on main.
  • Description: the layer press spec now waits for the press and checks scale 1, with list placement unchanged: verified, its Selector cases fail on main and pass here and in CI.
  • Description: the open-state browser case paints only while the list is open: verified, it passes here and in CI and fails on main.
  • Description: the theme-edit test adds the open selector case: verified, 6 of 6 pass.
  • Description: the part-named-color test is unchanged and passes: verified, 12 of 12 pass.
  • Description: the WebKit routing test now names Badge, because Selector has an interaction spec: verified, Badge has none and the test passes.
  • Description: the three components' unit suites pass: verified, they pass at this head, now with more files and tests than the stated counts.
  • Description: one fix, test-backed and red first, with no internal context in public text: verified.
  • Title: a press on the trigger paints and never scales it: verified for the ghost and secondary variants; the input variant paints no press and is unchanged.

Files:

  • .changeset/selector-expanded-theme-state.md: clear.
  • .changeset/selector-trigger-press-no-scale.md: clear.
  • .github/scripts/ci-interaction-webkit.test.mjs: clear.
  • docs/architecture/press-feedback.md: clear.
  • docs/specs/components/Selector/Selector.spec.md: clear.
  • packages/cli/api/theme-edit/theme-states-core-paints-aria.test.mjs: clear.
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear.
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear.
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear.
  • packages/core/src/Selector/Selector.doc.mjs: clear.
  • packages/core/src/Selector/Selector.tsx: clear.
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear.
  • packages/themes/probe/src/probeTheme.ts: clear.

Automated review (maintainer link)

@cixzhang
cixzhang marked this pull request as ready for review November 20, 2026 06:03
@cixzhang
cixzhang marked this pull request as draft November 20, 2026 07:47
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 20, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 413dc49

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 20, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes for one scope fix; the press-scale removal itself checks out, and the expanded theme state has an engineering owner's approval for this head.

  • Miss: the new public data-expanded attribute (the selector box's open state) is outside this pull request's named scope (Selector, MultiSelector, ComplexSelector); name it in the ## Scope section, for example as a backticked entry on the Components: line, since the owner decision it needs already exists.

Not blocking: after merge, the press-feedback record's readiness row still lists the Selector-family triggers under its INV1 and INV8 gaps, so the records-only follow-up the description promises should land soon.

Claims and files checked

Review mode: full; reason: spec-record

Claims:

  • Changeset: a press no longer shrinks a ghost or secondary trigger of the three components: verified, held mouse presses read a 0.98 scale on main and none here in seven stories.
  • Changeset: the trigger never shrinks under Reduce Motion: verified by the same probes with Reduce Motion on.
  • Changeset: the press shows the shared pressed tint for a finger, a mouse and a pen: verified, the shared overlay and press controller are unchanged and the probes read the same 10% tint on main and here.
  • Changeset: the selector theme target has an expanded state, the box carries data-expanded="expanded" while its list is open, and a rule for that state paints only the open trigger: verified by the doc entry, the component code, a box probe and the theme-edit test.
  • Description: the five overlapping pull requests change no trigger press style: verified from their file patches.
  • Description: on main a press shrank these triggers to 98%, also under Reduce Motion: verified on a main build.
  • Description: the triggers drop their own press transform, its transition entry and the open-list selector, and the disabled and read-only ghost styles drop their transform: none: verified (ComplexSelector has only the disabled one).
  • Description: the tint from the shared overlay and the press controller is unchanged: verified.
  • Description: the press-feedback record lists the Selector-family triggers under the momentary-control recipe, and the three component records state no press scale: verified.
  • Description: no change to the default input variant, which paints no press: verified.
  • Description: removing the open-list selector took away the expanded state the theme editor offered on selector: verified; the editor offers an ARIA state only where Core's styles name it.
  • Description: selector now declares expanded, written as data-expanded="expanded" while the list is open on an editable trigger, matching the trigger's aria-expanded: verified.
  • Description: a theme rule for that state builds .astryx-selector[data-expanded="expanded"]: verified by the theme-edit test, which passes.
  • Description: the probe theme is regenerated for the new state: verified, its generator reports it current.
  • Description: the public API delta is the expanded state and the data-expanded attribute, which the Selector record names: verified, the surface generator lists exactly those two rows; the attribute row is outside the named scope (above).
  • Description: the press-feedback record stays as on main because an open pull request rewrites the same table, and a later records-only change removes its two Selector-family gap lines: verified, two open pull requests rewrite that row and the record here equals main.
  • Description: the Selector record gains one open-state concept row, with rubric results: verified.
  • Description: main scales every listed trigger with and without Reduce Motion, this head none, and the tint paints in every case: verified by probes of both builds.
  • Description: the stills show the trigger inset on main and at full size here: verified by captures (31.36 and 32 CSS px tall).
  • Description: the new spec checks the six stories in both motion modes in CI's browsers: the spec covers them; CI has not run on this head yet.
  • Description: the layer press spec now waits for the press and checks scale 1, with list placement unchanged: verified by reading the spec and the head's unscaled trigger.
  • Description: the open-state browser case paints only while the list is open: verified by reading the case and a box probe.
  • Description: the theme-edit test adds the open selector case: verified, it passes.
  • Description: the part-named-color test is unchanged and passes: verified.
  • Description: the WebKit routing test now names Badge, because Selector has an interaction spec: verified, Badge has none and the case passes.
  • Description: the three components' unit suites pass: verified, they pass at this head with more files and tests than the stated counts after the merges of main.
  • Description: one fix, test-backed and red first, with no internal context in public text: verified.
  • Title: a press on the trigger paints and never scales it: verified for the ghost and secondary variants; the input variant paints no press and is unchanged.

Files:

  • .changeset/selector-expanded-theme-state.md: clear.
  • .changeset/selector-trigger-press-no-scale.md: clear.
  • .github/scripts/ci-interaction-webkit.test.mjs: clear.
  • docs/specs/components/Selector/Selector.spec.md: clear.
  • packages/cli/api/theme-edit/theme-states-core-paints-aria.test.mjs: clear.
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear.
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear.
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear.
  • packages/core/src/Selector/Selector.doc.mjs: clear.
  • packages/core/src/Selector/Selector.tsx: the data-expanded row outside the named scope (above).
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear.
  • packages/themes/probe/src/probeTheme.ts: clear.

Automated review (maintainer link)

Comment thread packages/core/src/Selector/Selector.tsx Resolved

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not run on this head yet; it runs once the pull request is marked ready for review.

Removing the trigger press scale restores the shared press recipe and the reduced-motion rule for ghost and secondary Selector, MultiSelector and ComplexSelector triggers, the expanded theme state has an engineering owner's approval for this head, and data-expanded is now named in the scope.

Not blocking: after merge, the press-feedback record's readiness row still lists the Selector-family triggers under its INV1 and INV8 gaps, so the records-only follow-up the description promises should land soon.

Claims and files checked

Review mode: same-head; reason: none

Claims:

  • Changeset: a press no longer shrinks a ghost or secondary trigger of the three components: verified, held mouse presses read a 0.98 scale on main and none here in seven stories.
  • Changeset: the trigger never shrinks under Reduce Motion: verified by the same probes with Reduce Motion on.
  • Changeset: the press shows the shared pressed tint for a finger, a mouse and a pen: verified, the shared overlay and press controller are unchanged and the probes read the same 10% tint on main and here.
  • Changeset: the selector theme target has an expanded state, the box carries data-expanded="expanded" while its list is open, and a rule for that state paints only the open trigger: verified by the doc entry, the component code, a box probe and the theme-edit test.
  • Description: the five overlapping pull requests change no trigger press style: verified from their file patches.
  • Description: on main a press shrank these triggers to 98%, also under Reduce Motion: verified on a main build.
  • Description: the triggers drop their own press transform, its transition entry and the open-list selector, and the disabled and read-only ghost styles drop their transform: none: verified (ComplexSelector has only the disabled one).
  • Description: the tint from the shared overlay and the press controller is unchanged: verified.
  • Description: the press-feedback record lists the Selector-family triggers under the momentary-control recipe, and the three component records state no press scale: verified.
  • Description: no change to the default input variant, which paints no press: verified.
  • Description: removing the open-list selector took away the expanded state the theme editor offered on selector: verified; the editor offers an ARIA state only where Core's styles name it.
  • Description: selector now declares expanded, written as data-expanded="expanded" while the list is open on an editable trigger, matching the trigger's aria-expanded: verified, both use the same condition.
  • Description: a theme rule for that state builds .astryx-selector[data-expanded="expanded"]: verified by the theme-edit test, which passes.
  • Description: the probe theme is regenerated for the new state: verified, its generator reports it current.
  • Description: the public API delta is the expanded state and the data-expanded attribute, which the Selector record names: verified, the surface generator lists exactly those two rows.
  • Description: the press-feedback record stays as on main because an open pull request rewrites the same table, and a later records-only change removes its two Selector-family gap lines: verified, two open pull requests rewrite that row and the record here equals main.
  • Description: the Selector record gains one open-state concept row, decided by the theming-surface rule that state stays on its owning target: verified.
  • Description: rubric results for that one row: verified; the gap and verification-row wording in R1, R3 and R7 describes press-feedback lines this head leaves unchanged, so those items hold only vacuously.
  • Description: main scales every listed trigger with and without Reduce Motion, this head none, and the tint paints in every case: verified by probes of both builds.
  • Description: the stills show the trigger inset on main and at full size here: verified by captures (31.36 and 32 CSS px tall).
  • Description: the new spec checks the six stories in both motion modes in CI's browsers: the spec covers them; CI has not run on this head yet.
  • Description: the layer press spec now waits for the press and checks scale 1, with list placement unchanged: verified by reading the spec and the head's unscaled trigger.
  • Description: the open-state browser case paints only while the list is open: verified by reading the case and a box probe.
  • Description: the theme-edit test adds the open selector case: verified, it passes.
  • Description: the part-named-color test is unchanged and passes again: verified; it sets the selector expanded state, which needs the declared state.
  • Description: the WebKit routing test now names Badge, because Selector has an interaction spec: verified, Badge has none and the case passes.
  • Description: the three components' unit suites pass: verified, they pass at this head with more files and tests than the stated counts after the merges of main.
  • Scope: the Components line names Selector, MultiSelector, ComplexSelector and data-expanded: verified, every public API row is named in the scope.
  • Scope: one fix, test-backed and red first, with no internal context in public text: verified.
  • Title: a press on the trigger paints and never scales it: verified for the ghost and secondary variants; the input variant paints no press and is unchanged.

Files:

  • .changeset/selector-expanded-theme-state.md: clear.
  • .changeset/selector-trigger-press-no-scale.md: clear.
  • .github/scripts/ci-interaction-webkit.test.mjs: clear.
  • docs/specs/components/Selector/Selector.spec.md: clear.
  • packages/cli/api/theme-edit/theme-states-core-paints-aria.test.mjs: clear.
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear.
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear.
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear.
  • packages/core/src/Selector/Selector.doc.mjs: clear.
  • packages/core/src/Selector/Selector.tsx: clear.
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear.
  • packages/themes/probe/src/probeTheme.ts: clear.

Automated review (maintainer link)

@cixzhang cixzhang added lane:2 Astryx fix-loop lane 2 owns this and removed needs:design-review Affects visuals — Design should review labels Nov 20, 2026
… INV8 gaps; the trigger-press proof covers a finger and checks the pressed tint
@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Nov 23, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 44e1970

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes for one description fix; the press-scale removal, the expanded theme state and both record edits check out, and an engineering owner has approved the records for this head.

  • The ## Writing rubric results section says docs/architecture/press-feedback.md is unchanged, but this head rewrites its readiness row (line 45) to drop the Selector-family INV1 and INV8 gaps, so name that record in the rubric results' Records line.

Not blocking: the unit-suite line ("23 files, 738 tests") and the note that the part-named-color test "failed at the previous head" describe an earlier head; refresh them in the same edit. CI has not run on this head yet because the pull request is a draft.

Claims and files checked

Review mode: full; reason: spec-record

Claims:

  • Changeset (fix): a press on a ghost or secondary trigger of the three components no longer shrinks it, and never under Reduce Motion: verified, held mouse and finger presses read a 0.98 scale on main and none here in six stories, with and without Reduce Motion.
  • Changeset (fix): the press shows the shared pressed tint for a finger, a mouse and a pen: verified for a mouse and a finger by probes and the new browser cases; a pen goes through the same shared overlay (read from the code).
  • Changeset (feat): the selector theme target has an expanded state, the box carries data-expanded="expanded" while its list is open, and a rule for that state paints only the open trigger: verified by the doc entry, the component code, a box probe, the browser case and the theme-edit test.
  • Description: the five overlapping pull requests change no trigger press style: verified from their file patches.
  • Description: on main a press shrank these triggers to 98%, also under Reduce Motion: verified on a main build.
  • Description: the triggers drop their own press transform, its transition entry and the open-list selector, and the disabled and read-only ghost styles drop their transform: none: verified (ComplexSelector has only the disabled one).
  • Description: the tint from the shared overlay and the press controller is unchanged: verified.
  • Description: the press-feedback record lists these triggers under the momentary-control recipe, and their component records state no press scale: verified.
  • Description: no change to the default input variant, which paints no press: verified.
  • Description: removing the open-list selector took away the expanded state the theme editor offered on selector: verified from the editor code, which offers an ARIA state from the conditions in Core's styles.
  • Description: selector now declares expanded, written as data-expanded="expanded" while the list is open on an editable trigger, matching the trigger's aria-expanded: verified, both use the same condition.
  • Description: a theme rule for that state builds .astryx-selector[data-expanded="expanded"]: verified, the theme-edit test passes.
  • Description: the probe theme is regenerated for the new state: verified, its generator reports it current.
  • Description: the public API delta is the expanded state and the data-expanded attribute, which the Selector record names: verified, the surface generator lists exactly those two rows.
  • Description: the press-feedback readiness row loses its two Selector-family gap lines: verified (record line 45).
  • Description: the idea came from a closed pull request that rewrote the same table: verified, it is closed and edits that record.
  • Description: the Selector record gains one open-state concept row, decided by the theming rule that state stays on its owning target: verified.
  • Rubric results: the press-feedback record is unchanged here: false, this head rewrites its readiness row.
  • Rubric results R1 to R7: verified for the rows they describe; the readiness row keeps only gaps that still exist.
  • Evidence: main scales every listed trigger with and without Reduce Motion, this head none, and the tint paints in every case: verified by probes of both builds.
  • Evidence: the stills show the trigger inset on main and at full size here: consistent with this review's captures (31.36 and 32 CSS px tall).
  • Evidence: the new spec checks the six stories in both motion modes, with a mouse and a finger, for the tint and for no transform: verified, 25 of 25 cases pass in Chromium at this head; CI has not run here.
  • Evidence: the layer press spec waits for the press and checks scale 1, with list placement unchanged: verified, 11 of 11 cases pass in Chromium.
  • Evidence: the open-state browser case paints only while the list is open: verified, it passes.
  • Evidence: the theme-edit test adds the open selector case: verified, it passes.
  • Evidence: the part-named-color test is unchanged and passes: verified; the remark that it failed at the previous head describes an earlier head.
  • Evidence: the WebKit routing test now names Badge, because Selector has an interaction spec: verified, Badge has none.
  • Evidence: the three components' unit suites pass: verified, 30 files and 777 tests pass now; the stated counts are older.
  • Merge gate: an owner's touch check on a phone before merge: the author's plan, not checked.
  • Scope: the Components line names Selector, MultiSelector, ComplexSelector and data-expanded: verified, every public API row is in scope.
  • Scope: one fix, test-backed and red first, with no internal context in public text: verified; main fails the new assertions.
  • Title: a press on the trigger paints and never scales it: verified for the ghost and secondary variants; the input variant paints no press and is unchanged.

Files:

  • .changeset/selector-expanded-theme-state.md: clear.
  • .changeset/selector-trigger-press-no-scale.md: clear.
  • .github/scripts/ci-interaction-webkit.test.mjs: clear.
  • docs/architecture/press-feedback.md: clear; the edit is correct, but the rubric results call it unchanged (see the finding above).
  • docs/specs/components/Selector/Selector.spec.md: clear.
  • packages/cli/api/theme-edit/theme-states-core-paints-aria.test.mjs: clear.
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear.
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear.
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear.
  • packages/core/src/Selector/Selector.doc.mjs: clear.
  • packages/core/src/Selector/Selector.tsx: clear.
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear.
  • packages/themes/probe/src/probeTheme.ts: clear.

Automated review (maintainer link)

Comment thread docs/architecture/press-feedback.md Resolved
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 0bb533b

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes for one description fix; the press change, the records and the tests check out.

  • The description's ## Writing rubric results still says docs/architecture/press-feedback.md is unchanged, but this pull request rewrites that record's readiness row (line 45); name it in the Records line with its rubric results and drop "is unchanged here".

While you edit the description, refresh two stale evidence lines: the ui run for the three components now covers 30 files and 777 tests, and theme-readers-part-named-color.test.mjs passes at this head. CI has not run on this head yet, since the pull request is a draft.

Claims and files checked

Review mode: same-head; reason: none

changed rules (0)

Claims:

  • Release note, press fix: a press on a ghost or secondary trigger no longer shrinks it, also under Reduce Motion, and shows the shared tint for every pointer: verified for mouse and finger (the trigger press spec fails on the base and passes here); pen follows the same shared press controller (code).
  • Release note, open state: the selector theme target has an expanded state and the box carries data-expanded="expanded" while open, so a theme rule paints only the open trigger: verified (Selector.doc.mjs:149, Selector.tsx:2308-2309; the browser and CLI cases pass).
  • The listed overlapping pull requests do not change the triggers' press styles: verified from their patches.
  • On the base a press scaled these triggers to 0.98, also under Reduce Motion: verified (the base build).
  • The triggers drop their own press transform, its transition entry, the open-list selector and the ghost disabled and read-only transform: none, and keep the shared tint: verified (diff; the tint check passes on base and head).
  • The press record's momentary-control recipe names these triggers and their records state no press scale: verified.
  • The default input variant is unchanged: verified (Selector.tsx:2315-2317).
  • Removing the open-list selector removed the editor's expanded offer, so the target now declares it, written only on an editable open trigger like aria-expanded: verified (Selector.tsx:2308-2309, :2384).
  • The probe theme is regenerated for the new state: verified (its generator check reports it current).
  • The public API delta is the selector target's expanded state and the data-expanded attribute, named by the Selector record: verified (built surface comparison: those two rows only).
  • The press record's readiness row drops the two Selector-family gaps: verified (press-feedback.md:45).
  • The idea of dropping them came from an earlier closed pull request that edited the same record: verified (closed, edits press-feedback.md).
  • The Selector record adds one open-state row: verified (Selector.spec.md:149).
  • The rubric results call the press record unchanged: false (see above).
  • The INV8 verification row stays: verified.
  • The Chromium table (every listed story scales on the base with and without Reduce Motion, none here): verified.
  • The embedded stills: not checked (hosted outside this repository).
  • The new trigger press spec covers six stories, both motion settings, mouse and finger, the tint and no transform: verified (24 press cases fail on the base and pass here).
  • The layer press spec now waits for the press and checks the trigger stays at scale 1: verified (fails on the base at 0.98, passes here).
  • The open-state browser case and the theme-editor case: verified (pass here).
  • theme-readers-part-named-color.test.mjs passes again after failing at the previous head: passes here; the second half describes an earlier head.
  • The WebKit routing test names Badge because Selector now has an interaction spec: verified (the case passes).
  • The ui run counts 23 files and 738 tests: stale (30 files, 777 tests pass).
  • The merge waits on an owner's touch-feel check on a phone: a merge plan, not a code claim.
  • Test-backed, red first: verified.
  • Public text carries no internal context: verified.

Files:

  • .changeset/selector-expanded-theme-state.md: clear
  • .changeset/selector-trigger-press-no-scale.md: clear
  • .github/scripts/ci-interaction-webkit.test.mjs: clear
  • docs/architecture/press-feedback.md: clear (the description misreports it)
  • docs/specs/components/Selector/Selector.spec.md: clear
  • packages/cli/api/theme-edit/theme-states-core-paints-aria.test.mjs: clear
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear
  • packages/core/src/Selector/Selector.doc.mjs: clear
  • packages/core/src/Selector/Selector.tsx: clear
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear
  • packages/themes/probe/src/probeTheme.ts: clear (generated, current)

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not run on this head yet, because the pull request is still a draft. Removing the trigger press scale restores the press-feedback momentary-control recipe and the reduced-motion rule, the new expanded theme state is covered by the approved Selector record, and the description's rubric results now name both changed records.

Nothing else is needed from you before CI runs; the merge guard waits for the required checks to pass at this head.

Claims and files checked

Review mode: same-head; reason: none

changed rules (0)

Claims:

  • Release note, press fix: a press on a ghost or secondary trigger no longer shrinks it, also under Reduce Motion, and shows the shared tint for every pointer: verified for mouse (held presses in Chromium on four triggers, with and without Reduce Motion) and finger (the trigger press spec); a pen uses the same press controller (code).
  • Release note, open state: the selector theme target has an expanded state and the box carries data-expanded="expanded" while open, so a theme rule paints only the open trigger: verified (Selector.doc.mjs:149, Selector.tsx:2308-2309; the attribute is absent, then expanded, then absent after Escape; the browser and CLI cases pass).
  • The listed overlapping pull requests do not change the triggers' press styles: verified from their patches.
  • On the base a press shrank these triggers to 98%, also under Reduce Motion: verified (31.36 of 32 px tall while held).
  • The triggers drop their own press transform, its transition entry, the open-list selector and the ghost disabled and read-only transform: none, and keep the shared tint: verified (diff; the same tint paints on base and head).
  • The press record's momentary-control recipe names these triggers and their records state no press scale: verified.
  • The default input variant is unchanged: verified (Selector.tsx:2317).
  • Removing the open-list selector removed the theme editor's expanded offer, so the target now declares it, written only on an editable open trigger like aria-expanded: verified (Selector.tsx:2308-2309, :2384).
  • The probe theme is regenerated for the new state: verified (its generator check reports it current).
  • The public API delta is the selector target's expanded state and the data-expanded attribute, named by the Selector record: verified.
  • The press record's readiness row drops the two Selector-family gaps: verified (press-feedback.md:45).
  • The idea of dropping them came from an earlier closed pull request that edited the same table: verified (closed; it edits the same contract table).
  • The Selector record adds one open-state row: verified (Selector.spec.md:149).
  • The rubric results name both changed records with one line per item: verified.
  • The INV8 verification row stays and the readiness row keeps only gaps that remain: verified (only the two closed gaps leave it).
  • The Chromium table (every listed story scales on the base with and without Reduce Motion, none here): verified (four stories captured here; all six by the trigger press spec).
  • The embedded stills: not checked (hosted outside this repository).
  • The new trigger press spec covers six stories, both motion settings, mouse and finger, the tint and no transform: verified (24 press cases fail on the base and pass here).
  • The layer press spec now waits for the press and checks the trigger stays at scale 1: verified (fails on the base at 0.98, passes here).
  • The open-state browser case and the theme-editor case: verified (pass here).
  • The theme-readers named-colour test is unchanged and passes at this head: verified (not changed; 12 of 12 pass).
  • The WebKit routing test names Badge because Selector now has an interaction spec: verified (the case passes; Badge has none).
  • The ui run for the three components passes 30 files and 777 tests: verified.
  • The merge waits on an owner's touch-feel check on a phone: a merge plan, not a code claim.
  • One fix: verified (the press fix, with the theme state as its disclosed supporting change).
  • Test-backed, red first: verified.
  • Public text carries no internal context: verified.

Files:

  • .changeset/selector-expanded-theme-state.md: clear
  • .changeset/selector-trigger-press-no-scale.md: clear
  • .github/scripts/ci-interaction-webkit.test.mjs: clear
  • docs/architecture/press-feedback.md: clear
  • docs/specs/components/Selector/Selector.spec.md: clear
  • packages/cli/api/theme-edit/theme-states-core-paints-aria.test.mjs: clear
  • packages/core/src/ComplexSelector/ComplexSelector.tsx: clear
  • packages/core/src/Layer/__tests__/LayerPressTransform.interaction.browser.spec.ts: clear
  • packages/core/src/MultiSelector/MultiSelector.tsx: clear
  • packages/core/src/Selector/Selector.doc.mjs: clear
  • packages/core/src/Selector/Selector.tsx: clear
  • packages/core/src/Selector/__tests__/SelectorTriggerPress.interaction.browser.spec.ts: clear
  • packages/themes/probe/src/probeTheme.ts: clear (generated, current)

Automated review (maintainer link)

@cixzhang
cixzhang marked this pull request as ready for review November 23, 2026 17:33

This branch was successfully deployed

1 active deployment
Preview — 0bb533bb Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. lane:2 Astryx fix-loop lane 2 owns this needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant