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): initial integration of gesture staging 🐵 #9605

Merged
merged 9 commits into from
Sep 29, 2023

Conversation

jahorton
Copy link
Contributor

@jahorton jahorton commented Sep 21, 2023

Up until this point, all the fancy gesture-processing code has been completely headless and not integrated with the touchpath-tracking code. While the GestureSource class is used in both places, that was about the only bit of common code between the two areas. Until now.

This PR integrates all the gesture-processing layers with the TouchpointCoordinator class, the headless-capable base class of the top-level object for the gesture-recognizer library-engine. As such, this change will allow actual detection of gestures from live, interactive inputs... not that we're testing those quite yet.

While the new tests only cover integration for the cases already handled - and thus modipress and flick are still not covered - it does a new test for the blocking of additional new gestures during subkey-selection. (This was not viable with just the 'sequencing' layer when not integrated due to its requirements.) As a result, this adds coverage for the selectionMode setting introduced in #9455, which is something that will also be used by modipresses, so we are at least a bit closer in that regard.

@keymanapp-test-bot skip

@jahorton jahorton added this to the A17S22 milestone Sep 21, 2023
@jahorton jahorton force-pushed the feat/web/gesture-staging branch from 9149693 to 5b6932a Compare September 26, 2023 01:53
@jahorton jahorton force-pushed the feat/web/gesture-staging-integration branch from 91bb6f1 to ca4ce8c Compare September 26, 2023 01:57
@github-actions github-actions bot added web/ and removed web/ labels Sep 26, 2023
@jahorton jahorton marked this pull request as ready for review September 26, 2023 03:05
@jahorton jahorton requested a review from mcdurdin as a code owner September 26, 2023 03:05
@github-actions github-actions bot added web/ and removed web/ labels Sep 27, 2023
Copy link
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see a few TODOs scattered around. Are you tracking those?

LGTM

@jahorton
Copy link
Contributor Author

jahorton commented Sep 29, 2023

I see a few TODOs scattered around. Are you tracking those?

LGTM

The ones I could find (via CTRL-F) when looking at this PR's changeset are all addressed by later PRs that have already been made - generally, by #9624 or before.

Base automatically changed from feat/web/gesture-staging to feature-gestures September 29, 2023 08:43
@jahorton jahorton merged commit 58b3d7c into feature-gestures Sep 29, 2023
2 checks passed
@jahorton jahorton deleted the feat/web/gesture-staging-integration branch September 29, 2023 08:43
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