Skip to content

change(web): rework suggestion-application range calculation 🚂#15782

Draft
jahorton wants to merge 2 commits intorefactor/web/build-and-map-predictionsfrom
change/web/suggestion-range
Draft

change(web): rework suggestion-application range calculation 🚂#15782
jahorton wants to merge 2 commits intorefactor/web/build-and-map-predictionsfrom
change/web/suggestion-range

Conversation

@jahorton
Copy link
Copy Markdown
Contributor

This PR calculates the magnitude of left-deletes needed when applying a suggestion via a new approach better suited toward operation under whitespace fat-fingering conditions.

The new method also determines a range of context - possibly comprised of multiple tokens - that should comprise predictions, but doesn't yet do anything with that part.

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

This PR calculates the magnitude of left-deletes needed when applying a suggestion via a new approach better suited toward operation under whitespace fat-fingering conditions.

The new method also determines a range of context - possibly comprised of multiple tokens - that should comprise predictions, but doesn't yet do anything with that part.

Build-bot: skip build:web
Test-bot: skip
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Mar 25, 2026

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): rework suggestion-application range calculation change(web): rework suggestion-application range calculation 🚂 Mar 25, 2026
@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S25 milestone Mar 25, 2026
@github-actions github-actions bot added web/ web/predictive-text/ change Minor change in functionality, but not new labels Mar 25, 2026
@keyman-server keyman-server modified the milestones: A19S25, A19S26 Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change Minor change in functionality, but not new epic-autocorrect web/predictive-text/ web/

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants