Commit graph

6452 commits

Author SHA1 Message Date
Keyman Server
a92bd79afd
Merge branch 'epic/boundary-correction' into auto/A19S33-merge-master-into-boundary-correction 2026-07-20 07:26:17 +02:00
Marc Durdin
8d533da167
Merge pull request #16225 from keymanapp/docs/web/typos
docs(web): fix typos following #16170
2026-07-20 10:32:34 +10:00
Marc Durdin
3852d354f7
Merge pull request #16221 from keymanapp/chore/web/stubAndKeyboardCacheScope
chore(web): declare scope for stubAndKeyboardCache members
2026-07-14 21:22:09 +10:00
Marc Durdin
0e076d5389 chore(web): declare scope for stubAndKeyboardCache members
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Also remove redundant `fetchKeyboardForStub` function, as it had only a
single use (and was not unit tested directly).

Test-bot: skip
2026-07-11 14:47:32 +02:00
Marc Durdin
b25005b7db docs(web): fix typos following #16170
Test-bot: skip
Build-bot: skip
Follows: #16170
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-07-11 09:23:20 +02:00
Marc Durdin
0d8e6ae929
Merge pull request #16171 from keymanapp/docs/web/16169-cleanup
docs(web): cleanup of index pages and page titles
2026-07-11 17:14:59 +10:00
Marc Durdin
07daf94555
Merge pull request #16170 from keymanapp/fix/web/16144-define-interfaces-for-imes-in-base
fix(web): define IME interfaces in `KeyboardInterfaceBase`
2026-07-11 00:25:31 +10:00
Marc Durdin
83328c904b fix(web): ensure onmouseleave does not crash if mouseEnterPromise is not set 2026-07-10 15:32:56 +02:00
Marc Durdin
4ab67f5812
Merge pull request #16127 from keymanapp/fix/developer/15217-resync-model-after-device-switch
fix(web): resync model in `set osk()` (as used by Server)
2026-07-09 18:50:11 +10:00
Joshua Horton
21c43452e0
Merge pull request #16209 from keymanapp/fix/auto-test-cookies-and-paths
fix(web): fixes cookie unit-tests and path for OSK resources during testing
2026-07-09 00:45:43 +07:00
Marc Durdin
34c6beb958
Merge pull request #16176 from keymanapp/chore/16172-remove-deprecated-html-metas
chore: remove deprecated "X-UA-Compatible" and "apple-mobile-web-app-capable" metas
2026-07-08 22:34:00 +10:00
Marc Durdin
c9bfc87828
Merge pull request #16174 from keymanapp/refactor/web/16168-ui-remove-keymanweb-variable
refactor(web): rename `keymanweb` to `keyman` in UI modules
2026-07-08 22:33:48 +10:00
Joshua Horton
81b0c0b706 fix(web): fixes cookie unit-tests and path for OSK resources during testing
Build-bot: skip build:web
Test-bot: skip
2026-07-06 11:13:24 -05:00
Joshua Horton
2f0f8cab2b Merge branch 'epic/boundary-correction' into auto/A19S32-merge-base-into-boundary-correction
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-06 07:49:50 -05:00
Marc Durdin
db881049e1 fix(developer): move osk banner resync from Server frontend to Web set osk
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
After review, it is better to do the sync of the model banner in
KeymanWeb `set osk()` than in the client of the API. The client should
be able to assign a new OSK and have it "just work" without needing to
attach things to it.

Fixes: #15217
2026-07-02 14:55:46 +02:00
Marc Durdin
a1bd0987a8
Merge branch 'master' into fix/web/16144-define-interfaces-for-imes-in-base
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-02 22:00:39 +10:00
Joshua Horton
824925a387
Merge pull request #16136 from keymanapp/fix/ios/load-via-scheme-handler 2026-07-01 21:57:37 +07:00
Marc Durdin
cda7dc6d24 chore: remove deprecated "X-UA-Compatible" and "apple-mobile-web-app-capable" metas
For Keyman Developer Server, add app.webmanifest so that it can be saved
to the home screen; other pages should not require this.

Fixes: #16172
Test-bot: skip
2026-07-01 10:27:22 +02:00
Marc Durdin
e6d86d7e04 refactor(web): rename keymanweb to keyman in UI modules
The variable name `keymanweb` used in the UI modules is confusing
because `KeymanWeb` also exists and points to something else. Rename to
`keyman` which just mirrors `window.keyman`.

Also fixup type declaration for toolbar `lastDismissalCallback`, which
did not match the assigned type.

Fixes: #16168
Test-bot: skip
2026-07-01 09:18:11 +02:00
Marc Durdin
d527e3739e docs(web): cleanup of index pages and page titles
Fixes: #16169
Test-bot: skip
2026-07-01 08:06:26 +02:00
Marc Durdin
0fc869faa4 fix(web): define IME interfaces in KeyboardInterfaceBase
Ensure that the IME interface methods are all defined for both browser
and webview modes. Deprecate 'Element' methods and replace with
'TextStore' to clarify return type. Add deprecation flags where needed
and update documentation accordingly.

Fixes: #16144
2026-07-01 07:43:08 +02:00
Joshua Horton
8689e207d5
Merge pull request #16072 from keymanapp/change/web/remove-preservation-transform
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
change(web): remove .preservationTransform, .taillessTrueKeystroke 🔪
2026-06-30 22:41:49 +07:00
Joshua Horton
6265f02c9b
Merge pull request #16071 from keymanapp/change/web/remove-unused-transition-edit-field
change(web): remove unused transition-edit field 🔪
2026-06-30 22:41:38 +07:00
Joshua Horton
28b33853ad
Merge pull request #15955 from keymanapp/change/web/adjust-tokenization-corrector-spec
change(web): adjust TokenizationCorrector spec 🚂 🔪
2026-06-30 22:41:29 +07:00
Joshua Horton
66c07a5576 Merge branch 'epic/boundary-correction' into change/web/multi-token-prediction-intermediates 2026-06-29 14:12:18 -05:00
Joshua Horton
f439696404
Merge pull request #15952 from keymanapp/change/web/multi-token-suggestion-similarity
change(web): support multi-token suggestion similarity 🚂 🔪
2026-06-30 01:54:48 +07:00
Joshua Horton
7ea42fb7d7
Merge pull request #15951 from keymanapp/refactor/web/intermediate-composited-prediction
refactor(web): refactor intermediate composited prediction type 🚂 🔪
2026-06-30 01:54:36 +07:00
Joshua Horton
9a0af09b30 Merge branch 'change/web/remove-unused-transition-edit-field' into change/web/remove-preservation-transform
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-29 13:07:50 -05:00
Joshua Horton
8bdebac13a Merge branch 'change/web/adjust-tokenization-corrector-spec' into change/web/remove-unused-transition-edit-field
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-29 13:06:11 -05:00
Joshua Horton
874cd335fd Merge branch 'change/web/multi-token-prediction-intermediates' into change/web/adjust-tokenization-corrector-spec
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-29 13:05:41 -05:00
Joshua Horton
473ca850ee Merge branch 'change/web/multi-token-suggestion-similarity' into change/web/multi-token-prediction-intermediates
Also renames IntermediateTokenizedPrediction to TokenizedIntermediatePrediction.
2026-06-29 12:24:58 -05:00
Joshua Horton
39d5550f84 Merge branch 'refactor/web/intermediate-composited-prediction' into change/web/multi-token-suggestion-similarity 2026-06-29 12:19:06 -05:00
Joshua Horton
03d20f1d1c change(web): rework type nomenclature 2026-06-29 12:17:51 -05:00
Eberhard Beilharz
a2150b17bf
Merge pull request #16108 from keymanapp/test/web/guide-examples
test(web): add e2e tests for examples from guide
2026-06-29 17:29:59 +02:00
Eberhard Beilharz
b805f66177
chore(android): address code review comment 2026-06-29 17:08:24 +02:00
Joshua Horton
eea463b18b fix(web): set proper font path for doc-keyboards 2026-06-29 09:38:03 -05:00
Marc Durdin
c2d72b7a03 fix(web): revert regression in setting activeKeyboard in set osk
Fixes: #16155
Test-bot: skip
2026-06-29 15:40:05 +02:00
Joshua Horton
b3ee271aee fix(ios): load host page, keyboards through a consistent WKURLSchemeHandler
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
This bypasses any need to modify KMW keyboard loading (say, via .fetch), though it does require a number of collateral changes to be made in order for CORS, etc to be satisfied.

Build-bot: skip build:ios
2026-06-26 14:37:11 -05:00
Marc Durdin
debe12f5d5 chore: Merge branch 'epic/autocorrect' into auto/A19S31-merge-master-into-autocorrect 2026-06-24 16:13:50 +02:00
Joshua Horton
59969c5e37
Merge pull request #16124 from keymanapp/docs/web/add-context-tokenization-docs
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
docs(web): add doc-comments for context-tokenization.ts params, types 🚂
2026-06-24 00:42:13 +07:00
Joshua Horton
370928c8e5 change(web): clean ContextState unit tests
Addresses these comments:
- https://github.com/keymanapp/keyman/issues/15265#issuecomment-3636890802
-   https://github.com/keymanapp/keyman/issues/15265#issuecomment-3636901217

Build-bot: skip build:web
Test-bot: skip
2026-06-22 15:55:03 -05:00
Joshua Horton
229e535592 docs(web): add doc-comments for context-tokenization.ts params, types
Build-bot: skip build:web
Test-bot: skip
2026-06-22 15:30:45 -05:00
Joshua Horton
cda2d40ac1 Merge branch 'change/web/multi-token-prediction-intermediates' into change/web/adjust-tokenization-corrector-spec 2026-06-22 10:48:52 -05:00
Joshua Horton
bdc824a9c1 change(web): rename compositeIntermdiatePredictions to composeIntermediatePredictions
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-22 10:48:26 -05:00
Joshua Horton
ed422810be change(web): apply suggestions from PR review
- A few let -> const
- Adds and fixes doc-comments
2026-06-22 10:26:13 -05:00
Joshua Horton
ed15bf89c6 docs(web): document TokenizationCorrector fields, rearrange into proper groups
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-22 10:14:14 -05:00
Joshua Horton
4e309375df
Merge pull request #15950 from keymanapp/fix/web/create-default-keep
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
fix(web): fix bugs in createDefaultKeep, extend unit testing 🚂 🔪
2026-06-22 20:52:08 +07:00
Joshua Horton
c949dcf10e
Merge pull request #15897 from keymanapp/feat/web/multi-token-predict-core
feat(web):  tokenize input corrections and provide for multi-token predictions 🚂 🔪
2026-06-22 20:51:57 +07:00
Joshua Horton
1ff249a228
Merge pull request #16023 from keymanapp/refactor/web/single-char-correction-penalty
refactor(web): rework application of single-char correction penalty 🚂 🔪
2026-06-22 20:50:23 +07:00
Joshua Horton
433641d637
Merge pull request #15920 from keymanapp/change/web/rework-traversalless-prediction
change(web): rework traversalless prediction, add mild whitespace-correction 🚂 🔪
2026-06-22 20:50:11 +07:00