Skip to content

change(web): return token-correction mapping from search-oriented methods 🚂#15815

Open
jahorton wants to merge 5 commits intorefactor/web/move-and-rename-SearchResultfrom
change/web/return-search-token-mapping
Open

change(web): return token-correction mapping from search-oriented methods 🚂#15815
jahorton wants to merge 5 commits intorefactor/web/move-and-rename-SearchResultfrom
change/web/return-search-token-mapping

Conversation

@jahorton
Copy link
Copy Markdown
Contributor

@jahorton jahorton commented Apr 2, 2026

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

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

keymanapp-test-bot Bot commented Apr 2, 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): return token-correction mapping from search-oriented methods change(web): return token-correction mapping from search-oriented methods 🚂 Apr 2, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S26 milestone Apr 2, 2026
…hods

Build-bot: skip build:web
Test-bot: skip
@jahorton jahorton force-pushed the refactor/web/move-and-rename-SearchResult branch from c92585c to 77b8af2 Compare April 9, 2026 21:36
@jahorton jahorton force-pushed the change/web/return-search-token-mapping branch from 8666dcd to b4b40bd Compare April 9, 2026 21:36
@jahorton jahorton requested a review from ermshiperete April 9, 2026 21:52
@jahorton jahorton marked this pull request as ready for review April 9, 2026 21:52
@keyman-server keyman-server modified the milestones: A19S26, A19S27 Apr 14, 2026
After using devin.ai to check some of my PRs, it caught something on #15817 that I was able to trace back to some decisions already in place for `TokenResultMapping`.  It appears best to simplify the type and its relation to spaceId-tagging now to simplify it, to prevent the bug, and to hopefully prevent re-implementing the bug in the future.

I did consider constructing new instances of SearchNode, just with the changed spaceId... but that may be prone to causing memory churn that can be avoided by just letting spaceId be public.

Build-bot: skip build:web
Test-bot: skip
Copy link
Copy Markdown
Contributor

@ermshiperete ermshiperete left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants