Repository navigation
Conversation
Collaborator
Author
|
Reviewed. Stacked on #1811. |
houko
merged commit Nov 22, 2026
bd7be4a
into
nsgo-dev:refactor/nsgotest-web-config-181
19 of 24 checks passed
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
nsgotest.App.Reportan ownednsgotest.Eventandnsgotest.TouchGeometryinstead of public aliases of the driver messages. Reports copy URI, selection and touch slices, navigation state, hit-target maps and per-view position slices, preserving nil/empty values and nativeDatapayload identity. The WebConfig event factory returns the owned event too, and both legacy protocol types leave the API allowlist.Migrate checkbox, list and lifecycle tests to the owned report; the external base tests also use public modifiers and event constants. Update the testing architecture, public English/Chinese guides, skill and changelog.
Dependency: stacked on #1811 at exact commit
e6168828aeece42c9c7c3c4a4e4d19d1d0a65b99. That PR owns WebConfig, whose public event factory otherwise exposes the private event and touch geometry. The base branch isrefactor/nsgotest-web-config-181; rebase onto main after #1811 merges. This PR adds only the report-event slice.Refs #181. EventKind/EventMask and mounted ViewStyle/ViewProps/ViewKind remain separate work.
Targets
Screenshots
None.
Verification
go tool nsgo test ./nsgotest -- -p 1 -count=1: 161 passed, one skipped, including the dependency's WebConfig test and the new event ownership/touch routing tests.go tool nsgo test ./base -- -p 1 -run 'TestCheckbox|TestAListLeavesAFocusedButtonItsKeys|TestList' -count=1: 24 passed.go tool nsgo check -target macos,ios,windows,linux,android_arm64,web -jobs 1passed on the remote Mac builder, including both desktop architectures, iOS and Android arm64.TestMinimalAppLinks(macOS:net/http,crypto/tls,crypto/x509; Linux:net/http), reproducing the exact clean-main091984681baseline confirmed for refactor(core): own the host storage contract #1866.git diff --checkpassed.Checklist