Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(web): integration for detecting, managing key-specific gestures 🐵 #9690

Merged
merged 15 commits into from
Oct 20, 2023

Conversation

jahorton
Copy link
Contributor

@jahorton jahorton commented Oct 5, 2023

The primary focus of this PR is to enable the Web OSK to ensure that gestures are only considered for selection (by the gesture-recognizer engine) if their corresponding key supports that gesture. The abstractions previously put in place toward this end seem sufficient for the task, which is always nice to see. Part of this includes restoring the standard, repeating held-backspace behavior - as that is (1) key-specific and (2) backspace uses special-key characteristics. (It should trigger immediately, not after the key is 'released'.)

The secondary focus is to fix some of the notable bugs that arose as integration's been improving; at this stage, simple-taps and roaming touch appear to have fully stabilized. Roaming touch, in particular, gets most of the love in this regard; the most notable bugs being fixed herein are due to previously-incomplete handling of its supporting aspects within the gesture engine. (The gaps caused some... very interesting side-effects to debug.) Also, the "off-the-top padding" permitted by the OSK in the past gets re-established through use of the corresponding part of the gesture-engine's config abstraction.

Automated tests are still broken at this point. I considered including their fixes in this PR, but the changeset is pretty orthogonal and would add complexity for the review, so I spun it off as #9719. Web's CI build check should pass there, though probably not the filesize check.

@keymanapp-test-bot skip

@jahorton jahorton added this to the A17S23 milestone Oct 5, 2023
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Oct 5, 2023

User Test Results

Test specification and instructions

User tests are not required

@jahorton jahorton marked this pull request as ready for review October 12, 2023 02:01
@mcdurdin mcdurdin modified the milestones: A17S23, A17S24 Oct 15, 2023
web/src/engine/osk/src/visualKeyboard.ts Outdated Show resolved Hide resolved
Base automatically changed from feat/web/base-recognizer-integration to feature-gestures October 20, 2023 09:14
@jahorton jahorton merged commit 20c627b into feature-gestures Oct 20, 2023
3 checks passed
@jahorton jahorton deleted the feat/web/key-specific-gesture-integration branch October 20, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants