Commit graph

939 commits

Author SHA1 Message Date
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
Eberhard Beilharz
91bbc250a8
refactor(web): move model/templates to web/src/engine/predictive/text
Part-of: #12133
2024-09-10 17:10:12 +02:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
Part-of: #12133
2024-09-09 19:59:01 +02:00
Eberhard Beilharz
f7f26e87f8
feat(web): refactor loading of .js keyboards
- split keyboard loading into loading into blob and then loading the script
- look at first four bytes to see if it's a .js or a .kmx keyboard
- for domKeyboardLoader, use fetch to get the blob, then use indirect
  eval to load the script, instead of injecting a script element.

This does not yet implement the loading of .kmx keyboards.
2024-08-31 21:58:37 +07:00
Eberhard Beilharz
165829beb5
Merge branch 'epic/web-core' into chore/merge-master-into-web-core 2024-08-30 15:17:47 +07:00
Joshua Horton
5b5fd30efc
Merge pull request #12313 from keymanapp/fix/web/mid-context-accept-space-interactions 2024-08-29 21:23:04 +07:00
Joshua A. Horton
721bc9172e fix(web): prevent unintuitive space-output blocking for mid-context suggestions
Fixes: #12309
2024-08-29 10:01:45 +07:00
Eberhard Beilharz
0ae160c74f
Merge pull request #12304 from keymanapp/chore/web/comment
chore(web): remove obsolete comment
2024-08-29 09:17:30 +07:00
Eberhard Beilharz
39f0d5b057
Merge pull request #12194 from keymanapp/refactor/web/12151_gestures
refactor(web): move `gesture-recognizer` → `gesture-processor` 🏗️
2024-08-29 09:16:42 +07:00
Eberhard Beilharz
cf3eef418a
chore(web): remove obsolete comment 2024-08-28 14:32:27 +07:00
Joshua A. Horton
98a27925f4 chore(web): Merge branch 'master' into feat/web/utf8-charset-output 2024-08-27 10:20:25 +07:00
Eberhard Beilharz
0d194faa71
refactor(web): fix tests 2024-08-27 09:37:43 +07:00
Eberhard Beilharz
b1fb8122c2
refactor(web): move gesture-processor tests under web/src/test
`gesture-processor/src/test/auto/browser/web-test-runner.config.mjs`
run the tests on iOS and Android. However, if we enable these browsers
in `web/src/test/auto/dom/web-test-runner.config.mjs` we get failing
tests in osk, therefore these browsers are commented for now.
2024-08-26 15:29:22 +07:00
Eberhard Beilharz
7dabd30cae
refactor(web): move gesture-recognizer → gesture-processor
Moves `common/web/gesture-recognizer/` →
`web/src/engine/osk/gesture-processor`.

Fixes: #12151
2024-08-26 15:29:21 +07:00
Eberhard Beilharz
13f052f766
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-08-26 14:49:54 +07:00
Joshua Horton
fe96d81307
Merge pull request #12232 from keymanapp/fix/web/doc-keyboard-spacebar-scaling
fix(web): fix documentation-keyboard spacebar-text scaling
2024-08-23 08:18:31 +07:00