Commit graph

1254 commits

Author SHA1 Message Date
Eberhard Beilharz
b82aa5fd8f
refactor(web): remove default from JSKeyboard and export explicitly 2025-01-14 15:35:29 +01:00
Eberhard Beilharz
d82fa81ef6
refactor(web): rename JS Keyboard class to JSKeyboard 2025-01-14 15:35:28 +01:00
Eberhard Beilharz
a13981ebc9
feat(web): fix test failures
Several tests failed because of async issues, so I went through where
we should wait and didn't.
2025-01-14 11:27:52 +01: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
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
e7cc9d345d
Merge pull request #12865 from keymanapp/fix/web/12483-numpad-zoom
fix(web): numpad + and - with zoom shortcut use
2025-01-10 08:09:18 +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 A. Horton
2bd183c1c0 fix(web): numpad + and - with zoom shortcut use 2025-01-09 13:58:10 +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
Eberhard Beilharz
2b9d4e6c42
chore(web): disable auto-correct
Fixes: #12767
2025-01-06 17:43:32 +01:00
Eberhard Beilharz
94cf821a4d
feat(web): add KeymanWeb API for auto-correct
Part-of: #12203
2025-01-06 17:41:22 +01:00
Eberhard Beilharz
2e5722705b
feat(web): address code review comments 2025-01-06 15:12:09 +01:00
Eberhard Beilharz
a072171ec8
feat(web): load .kmx keyboard from blob
This change adds the web side of loading a .kmx keyboard from a
blob. It also replaces the `CoreProcessor` class with `CoreFactory`
that allows to directly use the methods defined in WASM without
having to add another wrapper for each method.
2024-12-20 18:01:42 +01:00
Eberhard Beilharz
d48acd3204
chore(web): rename type library to match target name
This change renames the type library from `km-core=-interface.d.ts`
to `keymancore.d.ts` to match the name of the target (`keymancore`)
to make it more obvious where this comes from and where/how it gets
build.
2024-12-16 18:01:09 +01:00
Marc Durdin
e6cf6186c2 chore: Merge remote-tracking branch 'origin/epic/web-core' into chore/merge-master-into-web-core 2024-12-05 15:04:11 +07:00
Eberhard Beilharz
08b4b6c2eb
Merge pull request #12704 from keymanapp/chore/web/rename-tests
chore(web): rename test files and folders
2024-11-27 16:07:56 +07:00
Marc Durdin
b10634eb97 refactor(common): move all lexical model types into LexicalModelTypes container
Many of the types had very generic names (e.g. `Configuration`), and as
the types are now exported from `@keymanapp/common-types`, this was
unhelpful.

For units with many references, I used TypeScript's import-equals to
reduce the change impact. For units with only a few references, I added
the `LexicalModelTypes.` prefix to the references in source.

(Best reference I could find for import-equals: b722fa4e49)

Fixes: #12516
2024-11-27 09:46:09 +07:00
Eberhard Beilharz
432ab7055f
chore(web): rename test files and folders
This change renames the test files for Web according to the discussion at
the Keyman conference in November 2024. It also renames some folders from
`test` to `tests`.
2024-11-26 17:10:19 +01:00
Eberhard Beilharz
fd629c574e
feat(core): rename core.js to km-core.js 2024-10-18 18:59:40 +02:00
Marc Durdin
e44e0c9feb
Merge branch 'epic/web-core' into chore/merge-master-into-web-core 2024-10-11 01:20:39 +02:00
Eberhard Beilharz
d849b30856
refactor(web): reverting unnecessary busy changes 2024-10-10 09:13:27 +02:00
Eberhard Beilharz
4f3a68494c
refactor(web): address code review comments 2024-10-10 09:09:17 +02:00
Eberhard Beilharz
9885a477ec
refactor(web): address code review comments 2024-10-09 20:37:51 +02:00
Eberhard Beilharz
de863c23f2
chore(core): Merge remote-tracking branch 'origin/epic/web-core' into feat/core/kbd_from_blob 2024-10-09 10:51:17 +02:00
Eberhard Beilharz
3b9c6ef2e4
refactor(web): move KeyboardObject type to common/web/types
Fixes: #11612
2024-10-08 18:53:14 +02:00
Eberhard Beilharz
db64bad4b0
docs(web): add clarification 2024-10-08 17:39:31 +02:00
Eberhard Beilharz
080b5ddfe8
chore(web): Merge branch 'chore/merge-master-into-web-core' into feat/web/readkbd 2024-10-08 15:22:07 +02:00
Eberhard Beilharz
df590addac
chore(web):: Merge remote-tracking branch 'origin/master' into epic/web-core 2024-10-08 15:21:25 +02:00
Eberhard Beilharz
3a74f85bc3
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-10-07 17:05:28 +02:00
Eberhard Beilharz
c5ded39fe0
docs(web): fix paths to several help pages 2024-09-30 18:49:43 +02:00
Eberhard Beilharz
387a697990
chore(web): Merge branch 'epic/web-core' into feat/web/readkbd 2024-09-27 17:35:29 +02:00
Eberhard Beilharz
de717cce58
feat(web): address code review comments 2024-09-26 19:47:48 +02:00
Eberhard Beilharz
840a773bdd
feat(web): throw scripError if script doesn't load keyboard 2024-09-26 17:32:33 +02:00
Eberhard Beilharz
b38ceb9427
Merge pull request #12418 from keymanapp/chore/web/kbdInterfaceTests
refactor(web): move kbdInterface tests to typescript 🎼
2024-09-18 04:01:56 +07:00
Eberhard Beilharz
94b06b7ed7
feat(web): improve errors and tests
Addresses code review comments.
2024-09-16 17:34:03 +02:00
Marc Durdin
7c75211f30 chore: update dependencies 2024-09-16 05:51:38 +07:00
Eberhard Beilharz
5d92ff6635
chore(web): move kbdInterface tests to typescript 2024-09-13 17:29:49 +02:00
Marc Durdin
9ebd1a9b0a
Merge branch 'epic/web-core' into chore/merge-master-into-web-core 2024-09-13 08:09:24 +02:00
Eberhard Beilharz
1dd6989747
feat(web): add error handling and tests
Addresses code review comments.
2024-09-12 18:37:25 +02:00
Eberhard Beilharz
f52a1209c8
refactor(web): merge device-detect with web/src/engine/main
This change moves `web/src/engine/device-detect/` →
`web/src/engine/main/` and renames the `Device` class to `DeviceDetector`.

Fixes: #12388
2024-09-11 16:48:15 +02:00
Eberhard Beilharz
b20d7f1eb4
refactor(web): move sentry-manager → web/src/engine/sentry-manager
Move `common/web/sentry-manager` to `web/src/engine/sentry-manager`.

Fixes: #12387
2024-09-11 15:15:01 +02:00
Eberhard Beilharz
d4a049f614
refactor(web): move to web/src/tools/es-bundling
Addresses code review comments.
2024-09-11 09:44:58 +02:00
Eberhard Beilharz
c7a7ea2c51
Merge branch 'refactor/web/12025_web-utils' into refactor/web/12385_es-bundling 2024-09-11 09:28:19 +02:00
Eberhard Beilharz
d7f7ce9209
Merge branch 'refactor/web/12133_modelsWorkdbreakers' into refactor/web/12025_web-utils 2024-09-11 09:27:35 +02:00
Eberhard Beilharz
7e30dbf392
Merge remote-tracking branch 'origin/master' into refactor/web/12133_modelsWorkdbreakers 2024-09-11 09:21:59 +02:00
Eberhard Beilharz
cc21dda3cc
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-11 09:17:01 +02:00
Eberhard Beilharz
6553bd6233
refactor(web): move common/web/es-bundling → common/tools/es-bundling
Fixes: #12385
2024-09-10 18:57:42 +02:00
Eberhard Beilharz
a6d2d02e61
refactor(web): move common/web/utils to web/src/engine/common/web-utils/
Fixes:#12025
2024-09-10 18:12:46 +02:00
Eberhard Beilharz
a9b9c4d016
refactor(web): move common/models to web/src/engine/predictive-text
Fixes: #12133
2024-09-10 17:45:22 +02:00