Skip to content

Commit e2092f9

Browse files
authored
Modernize native-core desktop primitives and track remaining qualification (#4381)
1 parent 4f45ad9 commit e2092f9

116 files changed

Lines changed: 4985 additions & 837 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@fluentui-react-native/components': patch
3+
---
4+
5+
Use Framework Base's `pointerFocus` mode for Tab. FocusZone stories request
6+
focus through focus targets so React Native macOS does not keep an unmounted
7+
item as its focused input.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@fluentui-react-native/desktop-driver': patch
3+
---
4+
5+
Make Windows physical clicks robust to another absolute pointing device, such as a remote-desktop or virtual-machine
6+
viewer, that moves the cursor back after injection. Pointer placement now confirms the cursor reached the target and
7+
retries before pressing, element clicks inject the press and release as one coordinate-carrying batch, and pointer
8+
actions carry their coordinate on every press and release. Previously such a device could redirect the press to its
9+
own cursor position, activating another window and leaving text inputs unfocused.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'@fluentui-react-native/desktop-driver': patch
3+
---
4+
5+
Report macOS elements that do not publish `AXEnabled`, such as React Native
6+
Paper views without an explicit disabled state, as enabled so they can be
7+
clicked and queried. Diagnose a locked or switched-out macOS login session:
8+
launch, attach, window discovery, and new physical input fail immediately with
9+
an explicit session diagnosis, and `doctor --permissions` reports the session.
10+
11+
Record macOS window notifications and recent helper commands in a bounded
12+
diagnostic timeline exposed through `furn/window-events`, publish
13+
`window-closed` events, and describe transient windows by role, frame, and
14+
WindowServer identity. Activate macOS targets through Accessibility instead of
15+
waiting about a second for cooperative workspace activation, and name the
16+
occluder of an intercepted click. Add `captureDesktopFailureEvidence`, which
17+
captures window events first and then the current and other open windows.
18+
Attached WebdriverIO sessions now use explicit wait defaults so `waitUntil`
19+
polls until its timeout instead of stopping after the first poll.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@fluentui-react-native/desktop-driver': patch
3+
---
4+
5+
Retry a Windows accessibility subtree read when a descendant disappears mid-read, such as an owned popup island
6+
closing, while its root remains available. Only an unavailable root reports a stale element.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@fluentui-react-native/framework-base': patch
3+
---
4+
5+
Clear React Native macOS's focused-input record when a focus target blurs or
6+
detaches. A View focused through `requestFocus()` previously stayed recorded
7+
after unmounting, so a later ScrollView touch dispatched `blur` to the removed
8+
view and raised a Paper exception.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@fluentui-react-native/framework-base': minor
3+
---
4+
5+
Replace `useFocusablePressable`'s `focusOnPress` boolean with a `pointerFocus`
6+
mode. `platform` (the default) keeps the existing behavior: Windows and Win32
7+
focus a pressed target, and macOS follows AppKit by leaving keyboard focus in
8+
place. `always` and `never` select an explicit behavior on every platform.
9+
Export `PointerFocusMode`, `FocusablePressableOptions`, and
10+
`requestsFocusOnPointerPress`.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@fluentui-react-native/components': patch
3+
---
4+
5+
Cover native focus from a physical pointer click on Input.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@fluentui-react-native/native-core': patch
3+
---
4+
5+
Fix macOS Fabric FocusZone inside popups. Opening a Callout whose content
6+
starts with a FocusZone no longer aborts the app, and Escape and other
7+
unhandled keys now continue past the zone, so they reach the popup and dismiss
8+
it. Add Menu composition stories for the default and explicit `pointerFocus`
9+
trigger behaviors.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
'@fluentui-react-native/native-core': minor
3+
---
4+
5+
Add platform-scoped React 19 Callout and FocusZone previews built as phased
6+
components, with live targets, confirmed cancellable native commands, a shared
7+
hook-free Callout host, Swift macOS focus/placement services, and a
8+
cross-machine validation plan. Implement the new macOS Paper Callout commands
9+
in Swift behind header-independent bridges. Preserve Win32 legacy
10+
registrations without new managed transport.
11+
12+
Honor explicit Windows FocusZone destinations without entry-focus redirection
13+
and cover live-target refusal, cancellation, and detached command handles in
14+
native stories.
15+
16+
Fix the Windows Callout crash on popup creation caused by an unsupported weak
17+
light-dismiss revoker, and release each mount's popup, window, and
18+
subscriptions on unmount. Windows Callout now dismisses on outside pointer
19+
input and Escape, honors legacy `dismissBehaviors`, returns keyboard input to
20+
the owner after a focused presentation closes, and keeps the requested gap
21+
when placement flips. Windows FocusZone requests inside owned popups are
22+
accepted while the popup's owner is active, enabling flat Menu and Popover
23+
composition.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@fluentui-react-native/storybook-desktop': patch
3+
---
4+
5+
Capture the Desktop Driver's shared failure evidence for Storybook `wdio`
6+
callbacks, including the window-event timeline, a failure screenshot, and the
7+
screenshot and source of other open windows.

0 commit comments

Comments
 (0)