Commit graph

69 commits

Author SHA1 Message Date
Marc Durdin
48d61b9b03
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect 2025-05-16 12:12:05 +07:00
Joshua Horton
d606563a8c
Merge pull request #13820 from keymanapp/maint/web/simplify-worker-main-test-script
maint(web): simplify worker-main test.sh
2025-05-06 08:16:47 +07:00
Joshua Horton
1438704ee0
Merge pull request #13819 from keymanapp/maint/web/use-builder_is_ci_build
chore(web): replace --ci flag with builder_is_ci_build
2025-05-06 08:16:37 +07:00
Joshua Horton
e382bf45ce
Merge pull request #13785 from keymanapp/change/web/drop-usvstring-alias
change(web): replace USVString with string in predictive-text engine
2025-05-06 08:16:28 +07:00
Joshua Horton
2db4c16751
Merge pull request #13726 from keymanapp/refactor/web/eliminate-kmwstring-side-effects
refactor(web): refactor string-helper library to eliminate its module side-effect 🧶
2025-05-05 15:05:11 +07:00
Joshua Horton
b6fbf165dd maint(web): simplify worker-main test.sh 2025-05-02 09:52:43 +07:00
Joshua Horton
cb5e3035a7 chore(web): replace --ci flag with builder_is_ci_build
Fixes: #12640
2025-05-02 09:39:39 +07:00
Joshua Horton
dfe3de4ce1
chore: fix indentation in worker-main/build.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-05-02 08:13:30 +07:00
Joshua Horton
14657c3894 maint(web): run LMLayer tests during standard Web module tests
Related-to: #12872

Test-bot: skip
2025-04-30 15:06:11 +07:00
Joshua Horton
16fb2fef49 Merge branch 'chore/web/add-string-handling-unit-tests' into refactor/web/eliminate-kmwstring-side-effects 2025-04-30 08:57:36 +07:00
Joshua Horton
e601d59b59 change(web): replace USVString with string in predictive-text engine
Fixes: #12046

It was only ever an alias (for `string`!) for its intended use, with actual `USVString` typing being unavailable in the browser.
2025-04-29 10:47:20 +07:00
Marc Durdin
365bfa48b9
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect 2025-04-24 19:07:47 +07:00
Joshua Horton
dc450cde9e chore(web): finalize removal of side-effect KMWString implementation 2025-04-22 11:40:57 +07:00
Joshua Horton
f8ea902fd9 refactor(web): refactor _kmwCharAt 2025-04-22 11:40:57 +07:00
Joshua Horton
70c1920854 refactor(web): refactor _kmwSlice, _kmwSubstr, _kmwSubstring 2025-04-22 11:40:57 +07:00
Joshua Horton
418f3d6aec chore(web): update all Web engine uses of kmwLength, kmwCodePointToCodeUnit, kmwCodeUnitToCodePoint 2025-04-22 10:17:07 +07:00
Marc Durdin
4f829f5c8f chore: Merge remote-tracking branch 'origin/master' into chore/merge-beta-to-master-b18s5 2025-04-21 07:13:35 +07:00
Eberhard Beilharz
c1683b4be2
chore(web): improve error logging
Previously logging an error resulted in two Sentry issues to be created.
This change now combines the log message and the error into one call to
`console.error`, thus resulting in only one Sentry issue being created.
2025-04-03 16:35:09 +02:00
Marc Durdin
cafa503124 chore: use explicit node: prefix on more module imports 2025-04-03 08:10:50 +07:00
Marc Durdin
29f0a20898
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect 2025-03-14 10:57:26 +07:00
Joshua Horton
baf2150542 fix(web): properly support workerless use of Web engine
Fixes: #13262
Fixes: KEYMANWEB-COM-1VH
2025-02-20 12:06:28 +07:00
Marc Durdin
a43a378be7
Merge pull request #13222 from keymanapp/chore/merge-master-into-autocorrect
chore: merge master into autocorrect 🚂
2025-02-14 05:29:34 +07:00
Joshua Horton
b2598e76ba chore(web): fix coverage-reporting artifact
Fixes: #13195
2025-02-12 15:56:54 +07:00
Joshua Horton
3e456bbf3b chore(web): top-level clean affects predictive-text child projects
Addresses parts of #12735.
2025-02-07 10:02:56 +07:00
Joshua Horton
0e7b47e075
Merge pull request #12927 from keymanapp/fix/web/context-match-applied-suggestions
fix(web): correctly track context transitions caused by applying suggestions 🖲️
2025-02-03 15:11:01 +07:00
Joshua Horton
3c7ae5d7f6
Merge pull request #12925 from keymanapp/fix/web/context-match-path-ordering
fix(web): correct edit-path ordering at source 🖲️
2025-02-03 15:10:50 +07:00
Joshua Horton
316395a180
Merge pull request #12911 from keymanapp/change/web/context-tracker-backspaces-and-alignment
change(web): add context tracker bksp handling, alignment-offset calculations 🖲️
2025-02-03 15:10:36 +07:00
Marc Durdin
74db3c9833
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect 2025-01-30 18:50:17 +07:00
Joshua Horton
e97cd3094f fix(web): disabled correction state should prevent predictive corrections
Fixes: #12214
2025-01-29 10:12:53 +07:00
Joshua Horton
ce705500d7 chore(web): better cloning of cloned object's values 2025-01-22 08:27:20 +07:00
Joshua Horton
d9058adfae
Merge pull request #12930 from keymanapp/chore/merge-master-into-autocorrect
chore: merge master into autocorrect 🚂
2025-01-21 09:49:28 +07:00
Joshua Horton
44cb4044df fix(web): clone token replacement arrays properly 2025-01-21 09:06:27 +07:00
Joshua Horton
5a0e6a3b01 change(web): minor tweak in constructor for clarity 2025-01-21 09:04:52 +07:00
Joshua Horton
54e2e70c23
Merge pull request #12877 from keymanapp/change/web/prevent-autocorrect-for-numbers
change(web): add auto-correct filter that requires letter in initial position 🚂
2025-01-20 15:41:32 +07:00
Joshua Horton
5633b9ca36 fix(web): track shifts in context across applied suggestions 2025-01-17 10:40:56 +07:00
Joshua Horton
9b48385095 fix(web): correct edit-path ordering at source 2025-01-17 10:26:01 +07:00
Joshua Horton
817adffc70 fix(web): prevent array aliasing during context-token cloning 2025-01-17 10:15:18 +07:00
Joshua Horton
b314cee54b Merge branch 'master' into change/web/context-tracker-backspaces-and-alignment 2025-01-17 10:14:52 +07:00
Joshua Horton
0cbbcaa52a
Merge pull request #12906 from keymanapp/change/web/keep-suggestion-transforms
change(web): make 'keep' transform pattern match standard suggestion pattern by including the prefix string
2025-01-16 15:49:21 +07:00
Joshua Horton
d798083c76 feat(web): track token shift counts during context tracking 2025-01-16 10:58:32 +07:00
Joshua Horton
e61e79e01b change(web): enable context-tracker matching to track across backspaces 2025-01-16 10:56:45 +07:00
Joshua Horton
84875cdc6e change(web): simplify context-tracker token cloning 2025-01-16 10:52:30 +07:00
Joshua Horton
5ef5ccac45
Merge pull request #12866 from keymanapp/chore/web/build-test-integration
chore(web): integrates predictive-text builds to top level script, reconnects headless tests
2025-01-16 10:22:27 +07:00
Joshua Horton
bf9b601d7a change(web): keep transform pattern should match standard suggestion format 2025-01-16 08:36:23 +07:00
Joshua Horton
9796ab32a5
chore(web): apply suggestion from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-01-14 08:03:20 +07:00
Joshua Horton
ea466d7e5d change(web): adds auto-correct filter, requiring letter in existing text 2025-01-13 10:30:00 +07:00
Joshua Horton
3f35478c6b
chore(web): Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-01-10 08:17:44 +07:00
Joshua Horton
4fdd16a64b change(web): CI vs local testing control flow for predictive-text 2025-01-09 14:54:27 +07:00
Joshua Horton
92e2d533be chore(web): adds engine/predictive-text script for web/ build target 2025-01-09 14:45:51 +07:00
Joshua Horton
064d753653 fix(web): better bad-context match handling due to tokenization shifts
Fixes: #12494.
2025-01-09 09:48:40 +07:00