Commit graph

4976 commits

Author SHA1 Message Date
Joshua Horton
d0a0f0d9ff chore(web): remove abandoned dev artifact file (within PR) 2025-01-23 08:13:41 +07:00
Joshua Horton
0097242f5e feat(web): allow main manual-test page to load from KMP 2025-01-22 09:07:19 +07:00
Joshua Horton
91bec4ff2a
Merge pull request #12964 from keymanapp/fix/web/longpress-modifier-multitap-warning
fix(web): prevent warning that occurs when multitapping longpressable modifier keys
2025-01-22 08:07:50 +07:00
Meng-Heng
8459472f75 chore: adds h1 tags 2025-01-21 15:57:54 +07:00
Joshua Horton
44483be688 fix(web): prevents multitap warning that occurs multitapping longpressable modifier keys
Fixes: #12963
2025-01-21 14:32:57 +07:00
Joshua Horton
b4ca7cb8c6 fix(web): patches up unit test with execution dependent on autocorrect state 2025-01-17 15:29:47 +07:00
Joshua Horton
0cbbcaa52a
Merge pull request #12906 from keymanapp/change/web/keep-suggestion-transforms
change(web): make 'keep' transform pattern match standard suggestion pattern by including the prefix string
2025-01-16 15:49:21 +07:00
Joshua Horton
5ef5ccac45
Merge pull request #12866 from keymanapp/chore/web/build-test-integration
chore(web): integrates predictive-text builds to top level script, reconnects headless tests
2025-01-16 10:22:27 +07:00
Joshua Horton
bf9b601d7a change(web): keep transform pattern should match standard suggestion format 2025-01-16 08:36:23 +07:00
Eberhard Beilharz
c23533cb97
Merge pull request #12890 from keymanapp/docs/web/addKeyboards
docs(web): fix `adding-keyboards.md`
2025-01-15 10:36:12 +01:00
Joshua Horton
24e5f2d37d
Merge pull request #12864 from keymanapp/fix/web/12494-multitoken-context-split
fix(web): Improve predictive-text handling of text wordbreaking transitions
2025-01-15 08:06:36 +07:00
Eberhard Beilharz
24d4c10430
docs(web): fix adding-keyboards.md
- `kmw` is no longer used on this page, so we don't have to mention it
- the `european2` keyboard is deprecated and the text mentions EuroLatin,
  so changed the sample to `sil_euro_latin`
2025-01-14 18:42:55 +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
Eberhard Beilharz
bc8c2e8967
Merge pull request #12862 from keymanapp/refactor/web/ci
refactor(web): modernize `web/ci.sh` script
2025-01-09 16:11:38 +01:00
Eberhard Beilharz
820375b8fd
refactor(web): fix typo
Remove the space that sneaked in at the wrong place. Also another
refactoring.
2025-01-09 08:55:15 +01: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
f71da43be5 chore(web): reconnects web headless tests 2025-01-09 14:46:06 +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
ada5806525
refactor(web): modernize web/ci.sh script
Also add check for necessary environment variables before trying to
upload to Sentry. This allows to run the script on a dev machine.
2025-01-08 18:06:33 +01: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
6731cc44ab
chore(web): rename file missed in #12704 2024-11-27 12:13:57 +01: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
Marc Durdin
6c145cb775 refactor(web): move web engine help to app repo
Note: build.sh updated to make sure that test:help build action:target
doesn't also call test.sh by adding `:_all` meta-target.

Note: CI will need a new help-keyman-com.sh build step to deploy web
engine help.

Fixes: #12347
2024-10-31 11:00:06 +07: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
3b9c6ef2e4
refactor(web): move KeyboardObject type to common/web/types
Fixes: #11612
2024-10-08 18:53:14 +02:00
Eberhard Beilharz
e9f7bd6cab
Merge pull request #12492 from keymanapp/chore/web/fixtest
docs(web): fix structure of test document
2024-10-02 18:45:52 +02:00
Eberhard Beilharz
7d61d4bcc3
docs(web): fix structure of test document
When looking at `index.html` in VSCode's hierarchical view I noticed that
the structure was off because some closing tags were missing. This fixes
that.
2024-09-30 18:52:08 +02:00
Eberhard Beilharz
c5ded39fe0
docs(web): fix paths to several help pages 2024-09-30 18:49:43 +02:00
Eberhard Beilharz
fc32f02dc9
Merge pull request #12400 from keymanapp/chore/web/testexplorer
chore(web): allow to run unit tests in vscode test explorer
2024-09-12 14:07:55 +07:00
Eberhard Beilharz
95f36acb68
chore(web): allow to run unit tests in vscode test explorer
#11746 removed the `ts-node` dependency. Unfortunately that broke running
TypeScript test files with Mocha in VSCode Test Explorer because it no
longer knows what to do with .ts files. This change adds the more modern
`tsx` package as developer dependency, which allows to use Test Explorer
again.

See https://stackoverflow.com/a/77609121.
2024-09-11 19:28:33 +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-bundlingcommon/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