Skip to content

Conversation

@jahorton
Copy link
Contributor

Relates-to: #14480

This is being done to prepare for a fix to #14480, which is needed to better handle complex input transforms and tokenization scenarios. The easiest way to consistently index the tokenized transforms... is to perform context alignment on the results of transform application.

@keymanapp-test-bot skip

Relates-to: #14480

This is being done to prepare for a fix to #14480, which is needed to better handle complex input transforms and tokenization scenarios.  The easiest way to consistently index the tokenized transforms... is to perform context alignment on the results of transform application.
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Aug 20, 2025

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Android
    • KeyboardHarness apk - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample1 apk - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample2 apk - build : all tests passed (no artifacts on BuildLevel "build")
  • iOS
    • Keyman for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • TestFlight internal PR build version - 19.0.100 (0.14573.14367)
  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")
  • Windows
    • Keyman for Windows - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for Windows - build : all tests passed (no artifacts on BuildLevel "build")
    • Text Editor (32 bit) - build : all tests passed (no artifacts on BuildLevel "build")
    • Text Editor (64 bit) - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot bot changed the title refactor(web): move computeAlignment core to standalone method refactor(web): move computeAlignment core to standalone method 🚂 Aug 20, 2025
@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S10 milestone Aug 20, 2025
@jahorton jahorton marked this pull request as ready for review August 20, 2025 17:49
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

Comment on lines 17 to 22
export type ContextStateAlignment = {
/**
* Denotes whether or not alignment is possible between two contexts.
*/
canAlign: false
} | {
Copy link
Contributor

Choose a reason for hiding this comment

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

I see this a lot in the tests. Is it worth making a const?

@darcywong00 darcywong00 modified the milestones: A19S10, A19S11 Aug 29, 2025
Base automatically changed from fix/web/sliding-tokenization-alignment to epic/autocorrect September 3, 2025 16:59
@jahorton jahorton merged commit 1a1fd79 into epic/autocorrect Sep 3, 2025
17 of 18 checks passed
@jahorton jahorton deleted the refactor/web/independent-compute-alignment branch September 3, 2025 16:59
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants