Commit graph

2119 commits

Author SHA1 Message Date
Marc Durdin
267a519943
Merge branch 'epic/web-core' into auto/A19S31-merge-master-into-web-core 2026-06-25 00:06:12 +10:00
Eberhard Beilharz
046100a5f8
Merge pull request #16067 from keymanapp/fix/web/validateForCustomKeyboard
fix(web): fix `KeyboardStub.validateForCustomKeyboard`

This change fixes a misleading error message in `validateForCustomKeyboard` - `KR` is not the region as the error implies - furthermore it doesn't make sense to check `KR` since it is the optional   [keyboard registration function](https://help.keyman.com/developer/engine/web/18.0/reference/interface/registerKeyboard),   so this change removes it.
2026-06-10 12:44:41 +02:00
Eberhard Beilharz
623a73242c
Merge pull request #16086 from keymanapp/chore/web/cleanup
chore(web): remove outdated `*_load.js` files

This change removes unused `*_load.js` files and inlines the code from `laokeys_load.js`. Current Keyman versions no longer produce _load.js files when compiling a keyboard, so these files were pretty outdated.
2026-06-10 08:14:07 +02:00
Eberhard Beilharz
31843db6f9
Merge pull request #16083 from keymanapp/chore/web/kmxsample
chore(web): hide KMX keyboard test page
2026-06-10 08:13:13 +02:00
Eberhard Beilharz
9733ea4211
chore(web): remove outdated *_load.js files
This change removes unused `*_load.js` files and inlines the code from
`laokeys_load.js`. Current Keyman versions no longer produce _load.js
files when compiling a keyboard, so these files were pretty outdated.

Build-bot: skip build:web
Test-bot: skip
2026-06-09 18:42:47 +02:00
Eberhard Beilharz
52e6854d9f
Merge pull request #16070 from keymanapp/chore/web/improvedoc
chore(web): more improvements to documentation

- some small updates to the text
2026-06-09 18:19:00 +02:00
Eberhard Beilharz
517e9d26f3
Merge pull request #16064 from keymanapp/chore/web/449_rm_kmw
chore(web): improve the KeymanWeb integration documentation

- replace use of `kmw` with `keyman` 
- unify pattern to load keyboards: do it in `keyman.init().then()` instead   of in the document `onload`

Part-of: keymanapp/keyman.com#449
2026-06-09 18:08:15 +02:00
Eberhard Beilharz
f697cffe58
chore(web): Merge branch 'chore/web/449_rm_kmw' into chore/web/improvedoc 2026-06-09 18:03:50 +02:00
Eberhard Beilharz
a354ba1f4a
chore(web): clean up some test headers 2026-06-09 17:39:41 +02:00
Eberhard Beilharz
52b2e676cf
chore(web): hide KMX keyboard test page
Since we removed the .kmx keyboard loading from Keyman 19 the test page
no longer works. This change hides the link to the test page.

Build-bot: skip
Test-bot: skip
2026-06-09 17:21:54 +02:00
Eberhard Beilharz
cea706c562
chore(web): address code review comments 2026-06-09 17:13:47 +02:00
Eberhard Beilharz
c31cbecce1
Merge pull request #16066 from keymanapp/refactor/web/reformatting
refactor(web): reformatting of files
2026-06-09 14:38:32 +02:00
Eberhard Beilharz
c1113ac21d
chore(web): address code review comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Also change a few places that I missed.
2026-06-08 19:27:12 +02:00
Eberhard Beilharz
15d020298e
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-06-08 18:14:25 +02:00
Eberhard Beilharz
57a0d63e47
refactor(web): address code review comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-08 17:47:45 +02:00
Eberhard Beilharz
09a6ea87c2
fix(web): fix KeyboardStub.validateForCustomKeyboard
This change fixes a misleading error message in `validateForCustomKeyboard`
- `KR` is not the region as the error implies
- furthermore it doesn't make sense to check `KR` since it is the optional
  [keyboard registration function](https://help.keyman.com/developer/engine/web/18.0/reference/interface/registerKeyboard),
  so this change removes it.

Test-bot: skip
2026-06-03 19:52:36 +02:00
Eberhard Beilharz
f218aa92db
refactor(web): reformatting of files
Test-bot: skip
2026-06-03 19:51:44 +02:00
Eberhard Beilharz
d7439e68ac
chore(web): more improvements to documentation
- update text in `__control-by-control.html` sample
- some small updates to the text

Build-bot: skip
Test-bot: skip
2026-06-03 19:40:01 +02:00
Eberhard Beilharz
9ced04684a
chore(web): improve the KeymanWeb integration documentation
- replace use of `kmw` with `keyman`
- unify pattern to load keyboards: do it in `keyman.init().then()` instead
  of in the document `onload`

Part-of: keymanapp/keyman.com#449
Test-bot: skip
2026-06-03 19:37:08 +02:00
Eberhard Beilharz
43398df243
refactor(web): extract function, rename variables
Test-bot: skip
2026-06-03 18:40:18 +02:00
Eberhard Beilharz
ef9c0331d0
chore(web): remove unnecessary .editorconfig file
Build-bot: skip
Test-bot: skip
2026-06-03 18:39:44 +02:00
Eberhard Beilharz
a7b9d5da5a
fix(web): fix displaying of keyboard menu
The recent partial merge of epic/web-core missed some code that causes
the keyboard menu to work. This change re-applies those changes.

Test-bot: skip
2026-06-02 18:29:03 +02:00
Eberhard Beilharz
e21f2020d0
Merge pull request #16042 from keymanapp/fix/web/16041_displaymenu
fix(web): fix race displaying active keyboard in menu
2026-06-02 15:28:19 +02:00
Marc Durdin
236fc88a4d chore(web): revert additional preflight changes 2026-06-02 13:58:40 +02:00
Marc Durdin
c710945593 chore: Revert "chore(web): disable .kmx baseline tests"
This reverts commit dec447f210.
2026-06-02 13:53:29 +02:00
Marc Durdin
ee2321180f chore: Revert "chore: remove kmx-specific keyboard tests"
This reverts commit 29618fb943.
2026-06-02 13:53:20 +02:00
Marc Durdin
182fc3de61 chore: Revert "chore: remove commented code"
This reverts commit bf1e272d17.
2026-06-02 13:53:07 +02:00
Marc Durdin
9ddb8958f9 chore: Revert "chore: remove keymancore.d.ts"
This reverts commit ee8e3e8664.
2026-06-02 13:52:56 +02:00
Marc Durdin
ed3e907d59 chore: Revert "chore(web): web-core preflight - strip core references"
This reverts commit fc82f28b2d.
2026-06-02 13:52:30 +02:00
Marc Durdin
bd2a09a6c9 chore: Merge branch 'epic/web-core' into auto/A19S30-merge-master-into-web-core 2026-06-02 13:42:10 +02:00
Eberhard Beilharz
f827936362
fix(web): fix race in kmwuifloat.ts as well 2026-06-02 12:15:12 +02: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
Eberhard Beilharz
3cb59e3cf9
fix(web): fix race displaying active keyboard in menu
Fixes: #16041
Build-bot: skip release:web
Test-bot: skip
2026-06-01 17:51:42 +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
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