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

refactor(web): unifies touch-layout typing, updating Web to the common/web/types version 🐵 #9663

Conversation

jahorton
Copy link
Contributor

@jahorton jahorton commented Oct 3, 2023

In order to integrate the Web OSK for our new, upcoming gesture types... Web needs the corresponding type information. Rather than continue to keep the touch-layout typing WET, I've put in the work necessary to have Web use the definitions from common/web/types - meaning KMW will now use the exact same type specification as Developer's Web-keyboard compiler.

There were a few rough edges to resolve in doing so, but it also provided a wonderful excuse to take care of a few longstanding nits we've had. In particular, Web finally gets to say farewell to string form pad, width, and sp typing - though it keeps the legacy-friendly sanitize methods that enforce the correct typing via Number.parse.

The main benefit: Web now has access to flick and multitap layout-spec data, which I'll need for upcoming work.

This was motivated by follow-up work to #9657, but since that starts ripping apart KMW's OSK to the point that certain integration tests will be failing, it's probably clearer for the review process (and for management checks) to 'base' it just before that point.

@keymanapp-test-bot skip

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

User Test Results

Test specification and instructions

User tests are not required

@jahorton jahorton force-pushed the refactor/web/common-layout-typing branch from 6898439 to 41ae974 Compare October 3, 2023 07:17
@jahorton jahorton merged commit 41ae974 into feat/web/base-recognizer-integration Oct 3, 2023
@jahorton jahorton force-pushed the feat/web/base-recognizer-integration branch from 0429a1c to de83fee Compare October 3, 2023 07:19
@jahorton jahorton deleted the refactor/web/common-layout-typing branch October 3, 2023 07:19
@jahorton jahorton restored the refactor/web/common-layout-typing branch October 3, 2023 07:21
@jahorton jahorton deleted the refactor/web/common-layout-typing branch October 3, 2023 07:21
@jahorton jahorton restored the refactor/web/common-layout-typing branch October 3, 2023 07:21
@jahorton jahorton deleted the refactor/web/common-layout-typing branch October 3, 2023 07:27
@jahorton jahorton restored the refactor/web/common-layout-typing branch October 3, 2023 07:28
@jahorton
Copy link
Contributor Author

jahorton commented Oct 3, 2023

Dang it... forgot to change the base after moving the noted base branch after this one via rebasing. Replacement is up at #9664.

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.

1 participant