Skip to content

change(web): remove .preservationTransform, .taillessTrueKeystroke 🔪#16072

Open
jahorton wants to merge 1 commit into
change/web/remove-unused-transition-edit-fieldfrom
change/web/remove-preservation-transform
Open

change(web): remove .preservationTransform, .taillessTrueKeystroke 🔪#16072
jahorton wants to merge 1 commit into
change/web/remove-unused-transition-edit-fieldfrom
change/web/remove-preservation-transform

Conversation

@jahorton

@jahorton jahorton commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Now that much of the infrastructure for handling boundary-correction is in place, we have improved techniques for ensuring that text before the current token is maintained when applying suggestions. We can correct past just the token closest to the text insertion point; such corrections are what .preservationTransform and .taillessTrueKeystroke originally existed to support and model!

Furthermore, the old techniques being removed were based on the assumption of there being "one true tokenization" - an assumption that will soon be very much invalid. These will get in the way if we maintain them any longer, and so it is a good time to remove them.

Build-bot: skip build:web
Test-bot: skip

@github-project-automation github-project-automation Bot moved this to Todo in Keyman Jun 4, 2026
@github-actions github-actions Bot added web/ web/predictive-text/ change Minor change in functionality, but not new labels Jun 4, 2026
@keymanapp-test-bot

keymanapp-test-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot Bot changed the title change(web): remove .preservationTransform, .taillessTrueKeystroke change(web): remove .preservationTransform, .taillessTrueKeystroke 🔪 Jun 4, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S30 milestone Jun 4, 2026
@keyman-server keyman-server modified the milestones: A19S30, A19S31 Jun 8, 2026
@jahorton jahorton force-pushed the change/web/remove-unused-transition-edit-field branch from 3948c1d to 82b9f18 Compare June 12, 2026 15:44
@jahorton jahorton force-pushed the change/web/remove-preservation-transform branch from 147505d to b582cb6 Compare June 12, 2026 15:45
@jahorton jahorton force-pushed the change/web/remove-unused-transition-edit-field branch from 82b9f18 to 0b97139 Compare June 12, 2026 17:07
@jahorton jahorton force-pushed the change/web/remove-preservation-transform branch from b582cb6 to 864ed0d Compare June 12, 2026 17:08
Now that much of the infrastructure for handling boundary-correction is in place, we have improved techniques for ensuring that text before the current token is maintained when applying suggestions.

Furthermore, the old techniques being removed were based on the assumption of there being "one true tokenization" - an assumption that will soon be _very_ much invalid.  These will get in the way if we maintain them any longer, and so it is a good time to remove them.

Build-bot: skip build:web
Test-bot: skip
@jahorton jahorton force-pushed the change/web/remove-unused-transition-edit-field branch from 0b97139 to c2816da Compare June 12, 2026 17:12
@jahorton jahorton force-pushed the change/web/remove-preservation-transform branch from 864ed0d to bbce66b Compare June 12, 2026 17:13
@jahorton jahorton requested a review from ermshiperete June 12, 2026 17:36
@jahorton jahorton marked this pull request as ready for review June 12, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants