Commit graph

6332 commits

Author SHA1 Message Date
Joshua Horton
cc1aca63d5 refactor(web): replace ContextToken.addInput with constructor taking a SearchQuotientNode
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Build-bot: skip build:web
Test-bot: skip
2026-06-11 10:02:27 -05:00
Joshua Horton
08eda109d7 change(web): track ContextState tokenization in array to prep for whitespace correction
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Build-bot: skip build:web
Test-bot: skip
2026-06-11 09:45:23 -05:00
Joshua Horton
8bf43ecc02 change(web): Merge branch 'epic/autocorrect' into change/web/A19S30-merge-autocorrect-into-boundarycorrect 2026-06-10 14:51:08 -05:00
Joshua Horton
a397c65d47 fix(web): ensure efficiency test is done without non-BMP mode enabled
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-09 15:46:24 -05:00
Joshua Horton
4632f9809e Merge branch 'epic/autocorrect' into auto/A19S30-merge-master-into-autocorrect 2026-06-09 14:50:36 -05:00
Marc Durdin
dec447f210 chore(web): disable .kmx baseline tests 2026-06-02 10:10:03 +02:00
Marc Durdin
29618fb943 chore: remove kmx-specific keyboard tests
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-02 08:26:21 +02:00
Marc Durdin
bf1e272d17 chore: remove commented code
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-06-01 16:56:00 +02:00
Marc Durdin
ee8e3e8664 chore: remove keymancore.d.ts 2026-06-01 16:54:45 +02:00
Marc Durdin
439bdce6b5
Merge branch 'chore/web-core-preflight' into chore/web-core-strip-core 2026-06-02 00:52:28 +10:00
Marc Durdin
bb66bf42f0
Merge branch 'chore/web-core-preflight' into chore/web-core-strip-core 2026-06-02 00:48:52 +10:00
Marc Durdin
fc82f28b2d chore(web): web-core preflight - strip core references
In order to maintain roughly the current build artifact size, strip out
the unfinished core integration from what we merge with preflight.

Test-bot: skip
Build-bot: release:android,ios,developer,web
2026-06-01 14:44:45 +02:00
Marc Durdin
691ee626b5
Merge branch 'chore/web-core-preflight-replay-15888-kbdDetails' into chore/web-core-preflight-replay-15899-15894_test-index
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-01 16:11:20 +10:00
Marc Durdin
543dd5f3f7
Merge branch 'chore/web-core-preflight-replay-15887-renames' into chore/web-core-preflight-replay-15888-kbdDetails
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-01 16:11:13 +10:00
Marc Durdin
7d734fef6e
Merge branch 'chore/web-core-preflight-replay-15856-cleanup' into chore/web-core-preflight-replay-15887-renames
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-01 16:11:08 +10:00
Marc Durdin
0044a69fe5
Merge branch 'chore/web-core-preflight-replay-15858-squiggles' into chore/web-core-preflight-replay-15856-cleanup
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-01 16:11:00 +10:00
Marc Durdin
56bdc83863
Merge branch 'chore/web-core-preflight-replay-15949-15895_WindowsTc' into chore/web-core-preflight-replay-15858-squiggles
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-01 16:10:55 +10:00
Joshua Horton
8b659b989e
Merge pull request #15722 from keymanapp/feat/web/test-quotient-specialized-splits
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
feat(web): add test for split operations on quotient-graph doc example 🚂
2026-05-29 21:45:30 +07:00
Joshua Horton
b2e629f459
Merge pull request #15872 from keymanapp/fix/web/link-and-fix-pred-text-helpers
fix(web): link and patch up predictive-text test helper function unit tests 🚂
2026-05-29 21:45:20 +07:00
Joshua Horton
f841b32a93
Merge pull request #15721 from keymanapp/feat/web/extend-graph-test-helpers
feat(web): extend search-graph test-helper funcs to handle specialized spur types 🚂
2026-05-29 21:45:08 +07:00
Joshua Horton
7d36c4ac8c
Merge pull request #15720 from keymanapp/feat/web/deletion-spurs
feat(web): add dedicated DeletionQuotientSpur type for handling deletion-edit search-graph edges 🚂
2026-05-29 21:44:53 +07:00
Joshua Horton
1ee482e128
Merge pull request #15714 from keymanapp/feat/web/insertion-spurs
feat(web): add dedicated quotient-spur type for insertion edits 🚂
2026-05-29 21:44:35 +07:00
Joshua Horton
1415cec807
Merge pull request #15911 from keymanapp/fix/web/block-default-predictable-unless-needed
fix(web): block use of predictable "fallback" result to cases where no corrections could be found 🚂 🔪
2026-05-29 21:44:20 +07:00
Joshua Horton
2c9d550c9b
Merge pull request #15688 from keymanapp/feat/web/substitution-spurs
feat(web): implement dedicated substitution-spur class, tests 🚂 🔪
2026-05-29 21:44:01 +07:00
Eberhard Beilharz
79fdadc87f chore(web): use .d.ts instead of .d.js for types
The convention is to use the `.d.ts` extension for typescript types, and
that's what is used elsewhere in the `package.json` file. This change
fixes the two instances that had `.d.js`.
2026-05-29 12:02:20 +02:00
Eberhard Beilharz
9423ee504f chore(web): cleanup web/src/app/browser/src/test-index.ts exports
The export of `test-index.ts` were intended to be used by tests only,
but over time they contained also exports that were consumed else where,
e.g. in UI classes like `kmwuibutton.ts`. This change removes unused
exports, moves test-only classes to a `unitTestEndPoints` container and
marks test-only types with `@internal`.

Build-bot: skip build:web
Test-bot: skip
2026-05-29 12:02:19 +02:00
Eberhard Beilharz
d2f9e39c3e refactor(web): use KeyboardDetails type 🧼
PR #15856 introduced the `KeyboardDetails` type but overlooked the use in
one file.

Follow-up-of: #15856
Follows: #15887
Build-bot: skip build:web
Test-bot: skip
2026-05-29 12:00:17 +02:00
Eberhard Beilharz
904fa97198 refactor(web): address code review comment
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-05-29 11:59:56 +02:00
Eberhard Beilharz
689f664ea0 refactor(web): rename variables and parameter names in KeymanEngine 🧼
Build-bot: skip build:web
Test-bot: skip
2026-05-29 11:59:55 +02:00
Eberhard Beilharz
b5be1d45f0 chore(web): address code review comments 2026-05-29 11:59:33 +02:00
Eberhard Beilharz
bc8a4b6f43 refactor(web): cleanup return types in KeymanEngine
This change explicitly specifies the return types and access for the
functions in KeymanEngine. Also introduce `KeyboardDetails` instead of
`ReturnType<>`.

Test-bot: skip
2026-05-29 11:59:32 +02:00
Eberhard Beilharz
0d266cf873 chore(web): fix red squiggles in .ts test files in vscode
VSCode shows red squiggles under things like `describe` or `it` in
.ts test files for web. This change adds the types to the `tsconfig.json`
file which fixes this problem.

Build-bot: skip build:web
Test-bot: skip
2026-05-29 11:59:04 +02:00
Eberhard Beilharz
6af638b9a8 maint(web): fix starting local dev server for e2e tests
Starting the local dev server before running the e2e tests with
`web/build.sh start` didn't work on Windows. This change now directly
calls `node` to start the server which seems to work cross-platform.

Fixes: #15895
Build-bot: skip build:web
Test-bot: skip
2026-05-29 11:57:28 +02:00
Eberhard Beilharz
81bae574b9 maint(web): output name of TC reporter
This change outputs the name of the TC reporter used for a test. This
will help in troubleshooting.

Build-bot: skip build:web
Test-bot: skip
2026-05-29 11:57:27 +02:00
Joshua Horton
b432c918c1 change(web): Revert "change(web): disables one unit test temporarily (to be restored in followup PR)"
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
This reverts commit da12b14a3f.
2026-05-28 16:38:02 -05:00
Joshua Horton
cdf2031e99 Merge branch 'feat/web/substitution-spurs' into fix/web/block-default-predictable-unless-needed 2026-05-28 16:36:33 -05:00
Joshua Horton
da12b14a3f change(web): disables one unit test temporarily (to be restored in followup PR)
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-28 16:36:14 -05:00
Joshua Horton
1a1c93d098 docs(web): add test file header
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-05-28 12:46:08 -05:00
Marc Durdin
9f75726344 chore(web): Merge branch 'master' into chore/web-core-preflight 2026-05-28 13:47:36 +02:00
Eberhard Beilharz
d3269fa247
Merge pull request #16021 from keymanapp/refactor/web/docs
docs(web): reformat and small fixes
2026-05-28 10:31:54 +02:00
Eberhard Beilharz
f61ad57544
refactor(web): don't wrap in the middle of links
Addresses code review comment.
2026-05-28 10:28:40 +02:00
Eberhard Beilharz
78ea935fe5
docs(web): reformat and small fixes
- rewrap lines
- change http:// to https://

Build-bot: skip
Test-bot: skip
2026-05-27 19:55:36 +02:00
Eberhard Beilharz
748ad4aa01
chore(web): add filename to link text of manual web tests
This change appends the filename to the description of the tests on
the index page of the manual web tests. This makes it easier to find
the test on the rendered index page when having the directory name
of the test available.

Build-bot: skip
Test-bot: skip
2026-05-27 19:34:09 +02:00
Marc Durdin
6a98a39b8a
Merge branch 'master' into chore/web-core-preflight 2026-05-27 22:37:12 +10:00
Eberhard Beilharz
3c11eae964
chore(web): remove obsolete file
This change removes a file that is no longer needed. The link is
redirected to keyman.com, so it's kind of pointless to keep it around.

Build-bot: skip
Test-bot: skip
2026-05-27 11:59:43 +02:00
Joshua Horton
30f2f363b3
change(web): Apply EB suggestions from code review
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-15 01:47:47 +07:00
Joshua Horton
98165291ea
docs(web): fix header comment
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-15 01:40:44 +07:00
Joshua Horton
e9346dea91 change(web): use enum val for deletion edge check
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-14 13:38:41 -05:00
Joshua Horton
5ced0d0fb5
fix(web): apply logic fix from suggestion
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-14 22:48:44 +07:00
Joshua Horton
6ca785cd13 change(web): address PR suggestion of local var reuse
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-08 15:04:36 -05:00