Repository navigation
Implement reviewed Flex desktop component waves - #4528
Draft
Jason Morse (JasonVMo) wants to merge 9 commits into
Draft
Jason Morse (JasonVMo) wants to merge 9 commits into
Jason Morse (JasonVMo) wants to merge 9 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Contributor
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 <223556219+Copilot@users.noreply.github.com> Copilot-Session: b2a9c8a2-7065-41f0-850e-f3627ca65cad
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 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 <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3a664b44-e9a8-4958-bb22-a691a5a00f3b
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.
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):