feat(web): enhanced flick resetting via path base-coord replacement 🐵#10173
Merged
jahorton merged 5 commits intofeature-gesturesfrom Dec 13, 2023
Merged
feat(web): enhanced flick resetting via path base-coord replacement 🐵#10173jahorton merged 5 commits intofeature-gesturesfrom
jahorton merged 5 commits intofeature-gesturesfrom
Conversation
User Test ResultsTest specification and instructions
|
Does not yet replace segment starting coordinate, though.
06eeb96 to
a8e7320
Compare
4cdc1fe to
6688a58
Compare
ermshiperete
approved these changes
Dec 11, 2023
Base automatically changed from
change/web/path-evaluate-signature
to
feature-gestures
December 13, 2023 07:09
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.
Rather than requiring a user to remember exactly where their initial touch location was for a flick during resets, this set of changes allow for flicks to 'change' their start location when reset. A location nearish the center of the base key will always be chosen in a manner that also favors the actual location of the active contact-point when reasonable.
Deliberately not picking the actual center, but an off-center location with a moderate radius of it toward the actual location of a touch, it becomes far easier to swap flick direction intuitively after a reset.
User Testing
TEST_FLICK_LOCKING: Using the standard "Test unminified KeymanWeb" test page from a mobile device...
ukey.ûkey in the preview area (assuming it's not blocked by your finger).ufully recenters: that indicates a successful "reset".üas you do so.úas you do so.úis visible and in the center, lift your finger and end the gesture.úis output.akey; you should see similar previews and text there. (â,ä,á)NOTE: this should replace the corresponding test from Web's regression-test specification if possible. Consider it an update.