Repository navigation
Implement reviewed Flex desktop component waves - #4528
Jason Morse (JasonVMo) wants to merge 10 commits into
Conversation
Co-authored-by: Copilot <[email protected]> Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <[email protected]> Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <[email protected]> Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <[email protected]> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Co-authored-by: Copilot <[email protected]> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Co-authored-by: Copilot <[email protected]> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Bundle size reportTree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.
The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail. |
Co-authored-by: Copilot <[email protected]> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Co-authored-by: Copilot <[email protected]> Copilot-Session: 3a664b44-e9a8-4958-bb22-a691a5a00f3b
Add mounted collection and navigation components and AppKit-backed dialog, picker, and numeric controls. Keep Windows-only native registrations and editable tag entry gated until those providers exist. Co-authored-by: Copilot <[email protected]> Copilot-Session: 3a664b44-e9a8-4958-bb22-a691a5a00f3b
Co-authored-by: Copilot <[email protected]> Copilot-Session: 74789a3e-a45d-43f9-a3f5-4e106cc6755c
Fourth Flex wave: Windows continuationVerified that Windows Fabric (RNW 0.81.38). Native-core Office Win32 (RN Win32 0.81.9 / REX 0.81.1, Paper). Focused runs passed inline Nav/SimpleNav, Tree keyboard expansion, TreeItem selected state, and native Expand/Toggle with checked/mixed readback. The physical lane verified select-only TagPicker commits a second tag, preserves the first, and leaves options available. Target-window screenshots were inspected for Nav, SimpleNav, Tree/TreeItem, and TagPicker. The Tree fix avoids the opaque fill produced by zero-alpha Flex backgrounds in this host. REX did not expose UIA Level on the branch; that check is explicitly unsupported. No new native adapter or compiled functionality was added to REX. The actual picker/editor/modal registrations and missing contracts are recorded in #4384. Gates retained. Fabric physical input became unavailable after the RDP session disconnected, and Windows Graphics Capture did not yield target frames. The public higher-order Rating/Slider Windows previews and default exclusions remain gated. The Fabric WinUI Select prototype rendered and exposed native disabled options, but mirrored/stale UIA option references prevented selection qualification. The SpinEditor prototype failed fast on first mount ( Commands and evidenceCommands below ran in
Focused supervisors settled and released their app incarnations and claims. After failed runs, only the matching exited claims/leases were reconciled; Fabric's durable quarantine was lifted through the trusted Repository validation: After all native runs settled, |
Platforms Impacted
Description of changes
First batch from the Flex catalog contracts in #4527: spread-only AvatarGroup, CompoundButton, DestructiveButton,
and RatingDisplay with an internal RatingItem. Each implementation received an Opus 5.5 source review, followed by
an update to the authoring guidance. Native verification exposed a missing assistive activation path on the two
commands; both now invoke the same callback once through native accessibility tap without fabricating a gesture event.
The second batch adds PresenceBadge, Persona, Label, Swatch, InteractionTag, SplitButton, Textarea, MessageBar,
TeachingPopover, and inline Drawer. Each received a separate Opus 5.5 source review before runtime validation.
The authoring guidance now distinguishes native captions from labeling relationships, verifies segmented focus geometry,
and requires rejection-path tests for controlled focus and announcement behavior.
The third batch adds Breadcrumb, Field, InfoLabel, standalone Link, NavItem, RadioGroup, native-owner Scrollbar,
SearchBox, SwatchPicker, and Toolbar. Each received a separate Opus 5.5 source review. Native inspection exposed
clipped popup content, a missing leading SearchBox glyph, and misaligned secondary actions. The fixes give compact
anchors independent surface sizing, resolve Input's structural props before its first phase, and center sibling actions.
The PR remains a draft for Windows and Win32 qualification; more components can follow in this PR. Combobox,
editable Rating, AvatarGroup stack masking, and overlay Drawer are out of scope.
Verification
Third batch
yarn test 'src/(index\.test|components/(breadcrumb|field|info-label|link|nav-item|popover|radio-group|scrollbar|search-box|swatch|swatch-picker|toolbar)/)'(66 tests);yarn lint,yarn build,yarn check:token-icons, andyarn check:spec-contracts(67 contracts).yarn change:check;node scripts/agent-content/build.mtsfollowed byyarn lintandyarn testinpackages/agentic/skills(five installer tests).yarn clean-lage-cachefollowed byCI=true FURN_JEST_MAX_WORKERS=1 FURN_TEST_TIMEOUT_SCALE=2 yarn lage buildci --concurrency 2(186 tasks, run separately after native smoke).STORYBOOK_SMOKE_TAG=flex-third-wave yarn storybook smoke --macos --mode stories-and-tests --input accessibleand
--input physical: 10/10 and 18/18 authored cases. Re-ran SearchBox withSTORYBOOK_SMOKE_STORY=components-searchbox--project-searchin the accessible lane after restoring the glyph,and in the physical lane after centering the clear target. Each owned run traversed 275 stories.
STORYBOOK_SMOKE_TAG=flex-third-wave yarn storybook smoke --macos --paper --mode stories-and-tests --input accessibleand
--input physical: 10/10 and 18/18 authored cases. Both runs traversed 275 stories.and Paper, in Flex light/standard contrast at 2×: wrapped and disabled labels, full popup destinations, separate
navigation actions, rounded and square selection chrome, the scroll thumb in motion, and the independent clear target.
yarn storybook test --windows --list --tag flex-third-wave --input accessibleand its
--win32equivalent (10 cases each);--input physicalon both endpoints discovered 17 cases each.yarn storybook bundle --windowsandyarn storybook bundle --win32passed. Native Windows and Win32 are notqualified by these checks. VoiceOver/Narrator speech, native form relations, IME composition, and popup boundary
continuation remain separate gates.
Second batch
yarn workspace @fluentui-react-native/components test 'src/(index\.test|components/(presence-badge|persona|label|swatch|interaction-tag|split-button|textarea|message-bar|teaching-popover|drawer|menu-button)/)'(66 tests).yarn clean-lage-cachefollowed byCI=true FURN_JEST_MAX_WORKERS=1 FURN_TEST_TIMEOUT_SCALE=2 yarn lage buildci --concurrency 2;yarn change:check.STORYBOOK_SMOKE_TAG=flex-second-wave yarn storybook smoke --macos --paper --mode stories-and-tests --input accessibleand
--input physical: 14/14 and 19/19 authored cases, respectively; 255 stories traversed per run. Re-ran theupdated Textarea cases with
STORYBOOK_SMOKE_STORY=components-textarea--commentsand--input physical.STORYBOOK_SMOKE_TAG=flex-second-wave yarn storybook smoke --macos --mode stories-and-tests --input accessible(14 passed) and
STORYBOOK_SMOKE_STORY=components-textarea--comments yarn storybook smoke --macos --mode stories-and-tests --input physical(2 passed). The other 17 physical cases had already passed
yarn storybook test --macos --tag flex-second-wave --input physical.The owned smoke runs each traversed 255 stories. The Textarea AX name case is explicitly unsupported on macOS Fabric;
the separate native value and newline cases passed.
status marks, overflow and text layout, the SplitButton seam, Textarea line breaks, and inline vs. anchored panels.
yarn storybook test --windows --list --tag flex-second-wave --input accessibleand its
--win32equivalent (15 cases each);yarn storybook bundle --windowsandyarn storybook bundle --win32.The second-wave hosted run passed the
Windows and Win32 app jobs. Windows Fabric Storybook failed a PresenceBadge test that treated raw automation ID lookup
as accessible traversal; the third wave updates the assertion to use the exposed accessibility tree. Both Win32
Storybook lanes stopped at the Textarea Comments preview before reaching authored cases. Screen-reader speech, high
contrast, native label relationships, and full popup Tab continuation are separate gates, not claimed by these runs.
First batch
yarn clean-lage-cacheandCI=true FURN_JEST_MAX_WORKERS=1 FURN_TEST_TIMEOUT_SCALE=2 yarn lage buildci --concurrency 2;yarn change:check.STORYBOOK_SMOKE_TAG=flex-first-wave yarn storybook smoke --macos --mode stories-and-tests --input accessibleand the same command with
--input physical: 10/10 and 13/13 authored cases, respectively, and 234 stories rendered per run.STORYBOOK_SMOKE_TAG=flex-first-wave yarn storybook smoke --macos --paper --mode stories-and-tests --input accessibleand the same command with
--input physical: 10/10 and 13/13 authored cases, respectively, and 234 stories rendered per run.The first accessible Paper attempt stopped before any cases in the app launch/cleanup path; the retry passed.
contrast at 2× backing scale. AX naming, native actions and physical keyboard were checked separately; VoiceOver/Narrator
speech, high contrast and fractional backing scales were not run.
yarn storybook test --windows --list --tag flex-first-wave --input accessibleand its--win32equivalent select eight cases each. Passed (JS bundles):
yarn storybook bundle --windowsandyarn storybook bundle --win32.The first-batch Windows and Win32 jobs all passed.
Pull request checklist
This PR has considered (when applicable):