Repository navigation
refactor(nsgotest): own mounted view props - #1876
Merged
Merged
Conversation
Collaborator
Author
|
Reviewed. Field sets of |
houko
enabled auto-merge (rebase)
November 22, 2026 04:20
houko
force-pushed
the
refactor/view-props-181
branch
from
November 22, 2026 04:34
9caeb03 to
398d78f
Compare
houko
force-pushed
the
refactor/view-props-181
branch
3 times, most recently
from
November 22, 2026 09:40
446bd3e to
82928fb
Compare
houko
added this pull request to the merge queue
Nov 22, 2026
houko
force-pushed
the
refactor/view-props-181
branch
from
November 23, 2026 00:03
82928fb to
4d794e5
Compare
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.
Summary
Give mounted test views an owned
nsgotest.ViewPropsrecord for identity, accessible names and state, actions, focus, pointer and presentation settings. The model explicitly maps incoming driver props, copying label-ID and action lists plus ripple settings while preserving nil/empty values and the record's comparability.HelpText,HasAction,ActionListandFocusStopdelegate to the existing policies through an explicit private conversion, which hit testing uses too.Remove
ViewPropsfrom the public driver API allowlist. Update the testing architecture, public English/Chinese guides, skill and changelog. This is an independent slice against main with no PR dependency.Refs #181. Event kinds/masks and ViewStyle remain separate work.
Targets
Screenshots
None.
Verification
go tool nsgo test ./nsgotest -- -p 1 -count=1: 160 passed, one skipped on the remote Mac builder, including two new regressions for actual mount snapshots and accessibility queries/actions/keyboard stops.go tool nsgo check -target macos,ios,windows,linux,android_arm64,web -jobs 1passed remotely, including both desktop architectures, iOS and Android arm64.TestMinimalAppLinks(macOS: net/http, crypto/tls, crypto/x509; Linux: net/http), reproducing the exact clean-main 0919846 baseline confirmed for refactor(core): own the host storage contract #1866.git diff --checkpassed.Checklist