Skip to content

fix(macos): build the menu anchor test's selection without the reducer's file-private range - #4669

Merged
datlechin merged 1 commit into
mainfrom
fix/macos-menu-anchor-test
Nov 28, 2026
Merged

datlechin merged 1 commit into
mainfrom
fix/macos-menu-anchor-test

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • DataGridMenuAnchorTests (fix(macos): open row context menus from VoiceOver and the keyboard #4664) called GridSelectionReducer.range(from:to:), which sits in a file-scope private extension and is file-private. TableProTests does not compile on main.
  • The test now builds the same selection with GridSelection(rectangles:activeCell:anchor:) and GridRect.between, as GridSelectionReducerTests does. Production code is unchanged.

Test plan

  • Not built on this branch. The same file, byte for byte, compiled and passed on integ/mac-keys-ui-r1 at d6dbbb0. That branch carries main bed162f, and nothing under apple/ changed from bed162f to d8e4772.
  • Run there: 22 suites, 276/276, including DataGridMenuAnchorTests, TableContextMenuTests and FieldDrivenListMenuTests.

@datlechin
datlechin merged commit d970079 into main Nov 28, 2026
2 checks passed
@datlechin
datlechin deleted the fix/macos-menu-anchor-test branch November 28, 2026 19:19
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