Repository navigation
Conversation
The swipe measured the fingers' speed and let it go stale with time.Now, while the ring's springs and the headless model's events run on the graph's clock. A test's swipe could fling one card further or not depending on how long the machine took between events (#326). It now reads Scope.Now, which is the system's clock in an app and the test's manual clock headless.
This branch has not been deployed
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.
Ref.Focus()previously marked any view focused in headless tests while native backends only handled text fields. A search field could therefore pass a test that moved focus to a result button, yet leave the keyboard in the field on the desktop.Enabled pressable and
Focusableviews now take programmatic focus on macOS, Windows, Linux and the web; tvOS asks its native focus engine to move to the stop. Phone focus stays on inputs. The headless model follows these platform contracts, rejects plain, hidden, disabled andNoFocusviews, and preserves another view’s focus when an unrelated ref is blurred. Windows and Linux also include ordinary stops in Tab order and activate them with Space/Return once per physical press. Accessibility focus shares the desktop focus handlers.Native regressions inspect AppKit’s first responder, GTK’s focused widget, Windows’ focused stop and the browser’s active element. They check focus styling, input-to-button focus, activation and key repeats. The manual Test workflow adds macOS, Windows and browser regressions; Linux runs its regression in the full native suite. Public docs and the app-authoring skill describe the implemented contract.
This branch also includes the existing baseline CI repairs from #340, #341, #342 and #151, plus explicit Stocks ticks, an isolated terminal shell and the shared touch-refresh threshold repair. Those repairs are needed for the full Test workflow and are also present in #345.
Validation:
go tool nsgo check -target allpassed for every supported Go/Xcode target.go tool nsgo test: 2229 passed, 0 failed, 16 skipped; the final headless model suite also passed (40 tests).actionlintandgit diff --checkpassed.main, the core suite passed (541 tests), the model suite passed (40 tests), native macOS roving controls passed, and the host/Linux/Windows checks passed.28d7dddb: all 5 jobs passed. Linux: 2253 passed, 0 failed, 26 skipped, including the native focus regression; its additional native RadioGroup/Tab tests both passed. Windows, macOS and the browser each ran all 3 native focus and roving-control tests with no skips. Apple's shared platform suite also passed.Closes #348.
Closes #266.