Commit graph

6294 commits

Author SHA1 Message Date
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
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
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
Eberhard Beilharz
94da9183eb
Merge pull request #15912 from keymanapp/docs/web/fixtypos
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-08 17:18:16 +02:00
Eberhard Beilharz
c414904da8
docs(web): fix minor typo and add links
Build-bot: skip
Test-bot: skip
2026-05-06 11:27:28 +02:00
Joshua Horton
7b52db2e84
Merge pull request #15855 from keymanapp/feat/web/quotient-node-finalizer
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
feat(web): adds finalizer quotient-node type for facilitating multi-word corrections 🚂
2026-05-06 02:53:08 +07:00
Joshua Horton
656b392bc8
Merge pull request #15162 from keymanapp/feat/web/search-space-node-propagation
feat(web): ensure all child spaces are notified when parent reaches end of a correction path 🚂
2026-05-06 02:52:57 +07:00
Joshua Horton
64b7807658
Merge pull request #15818 from keymanapp/feat/web/multi-token-corrector
feat(web): add classes for use in multi-token correction 🚂
2026-05-06 02:52:46 +07:00
Joshua Horton
f7a7978852 change(web): adjustments per PR review 2026-05-05 14:42:23 -05:00
Joshua Horton
2f7b1fadf0 fix(web): missed inclusion in merge conflict resolution 2026-05-05 14:39:39 -05:00
Joshua Horton
e2de46f609 Merge branch 'feat/web/search-space-node-propagation' into feat/web/quotient-node-finalizer 2026-05-05 14:36:26 -05:00
Joshua Horton
91fe1b1382 Merge branch 'feat/web/multi-token-corrector' into feat/web/search-space-node-propagation
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-05 12:27:02 -05:00
Joshua Horton
91b097f7a4 change(web): address other concerns from PR review 2026-05-05 12:25:35 -05:00
Joshua Horton
3c03a53e64 change(web): address multiple concerns from PR review 2026-05-05 12:18:23 -05:00
Joshua Horton
7fa980e0ef
docs(web): clarify doc-comment on TokenizationCorrector uncorrectable vs correctable entries
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-05 20:46:07 +07:00
Joshua Horton
33dea12729
change(web): add return-type suggestion from PR 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-05 20:44:29 +07:00
Joshua Horton
65e8932eb2 change(web): address PR review concerns
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Adds lots of documentation, adjusts name of one field and property, and has `TokenResultMapping` explicitly inherit from the new `TokenResult` interface that abstracts it further.
2026-04-28 11:41:15 -05:00
Joshua Horton
0bb69a5a69 Merge branch 'epic/autocorrect' into change/web/suggestion-range
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-24 11:11:02 -05:00
Joshua Horton
c251def81f
Merge pull request #15817 from keymanapp/feat/web/correction-search-abstraction
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
feat(web): add abstraction for main correction-search algorithm, leveraged types 🚂
2026-04-24 23:10:11 +07:00
Joshua Horton
d54f0cfef3 change(web): store cost in deduplication object, not actual results 2026-04-24 10:32:32 -05:00
Joshua Horton
7f8555ffd8 Merge branch 'change/web/return-search-token-mapping' into refactor/web/extract-duplicate-result-filter 2026-04-24 10:28:12 -05:00
Joshua Horton
117ce99989 Merge branch 'epic/autocorrect' into change/web/return-search-token-mapping 2026-04-24 09:59:36 -05:00