Commit graph

1597 commits

Author SHA1 Message Date
Eberhard Beilharz
8124cd6b6b
Merge pull request #13408 from keymanapp/test/web/core-stresstest
test(web): add stress-test page for loading KMX keyboard from blob 🎼
2025-03-17 16:03:48 +01:00
Marc Durdin
676967e95c chore(web): rename KeyboardInterface to JSKeyboardInterface in one test 2025-03-15 15:12:00 +07:00
Marc Durdin
068da83e50 chore: Merge branch 'epic/web-core' into chore/merge-master-into-web-core 2025-03-14 11:05:17 +07:00
Marc Durdin
c35e0dac5f chore: Merge branch 'epic/web-core' into chore/merge-master-into-web-core 2025-03-14 11:02:37 +07:00
Eberhard Beilharz
18aed967cc
Update web/src/test/manual/web/index.html 2025-03-05 18:27:43 +01:00
Eberhard Beilharz
a8d37843e5
Update web/src/test/manual/web/core/stress.html
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-05 18:25:08 +01:00
Eberhard Beilharz
626a43f6a1
docs(web): update parameter name in function headers
Addresses code review comment.
2025-03-05 18:23:20 +01:00
Marc Durdin
024f1a918e test(web): remove unnecessary import map standalone file 2025-03-04 13:51:03 +01:00
Marc Durdin
e16452b784 test(web): polish stress test for KM_Core
Makes use of modules to make it easier to make additional tests,
establishes an import map, renames to stress.html, and adds the stress
test link to the manual testing home page.
2025-03-04 13:47:20 +01:00
Eberhard Beilharz
30fc5db6f6
test(web): add stress-test page for loading KMX keyboard from blob
This currently occasionally fails when run with WebKit (e.g. Epiphany
browser).
2025-03-03 18:06:17 +01:00
Eberhard Beilharz
3b2157cb83
refactor(web): cleanup OutputTarget class names
- rename `js-processor`'s `OutputTarget` → `OutputTargetBase`
- rename `element-wrappers`' `OutputTarget` → `OutputTargetElementWrapper`
2025-03-03 18:02:47 +01:00
Eberhard Beilharz
bd1c610d65
refactor(web): rename base KeymanEngine to KeymanEngineBase 2025-03-03 11:29:46 +01:00
Eberhard Beilharz
8e8816adc2
feat(web): fix tests 2025-03-03 11:28:39 +01:00
Eberhard Beilharz
fe3e02cf9e
feat(web): implement getting properties of KMXKeyboard 2025-03-01 17:18:31 +01:00
Joshua Horton
5db10ea436
Merge pull request #13331 from keymanapp/fix/web/init-should-not-cookie-default
fix(web): prevent cookie-default behavior from mangling engine init
2025-02-26 09:29:54 +07:00
Joshua Horton
0a8c99e322
Merge pull request #13291 from keymanapp/fix/web/engine-main-headless-tests
fix(web): reconnect, patch up engine/main headless unit tests
2025-02-25 08:17:48 +07:00
Joshua Horton
72a9e8b8fe fix(web): fix up applied suggestion - properly "fill in" Worker type 2025-02-24 13:06:17 +07:00
Joshua Horton
f3946ffc76 fix(web): prevent cookie-default behavior from mangling engine init
Fixes: #13278

The fallback default keyboard corresponding to an uninitialized cookie is `Keyboard_us:en`.   This should only occur if the site actually registers its stub before initialization - and we weren't checking/filtering for this properly.

The error itself only occurred if there _were_ stubs pre-registered before init - if none existed, the error does not result.
2025-02-24 12:37:09 +07:00
Joshua Horton
accdb3752e
change(web): apply focused try-catch suggestion from review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-02-24 09:15:50 +07:00
Joshua Horton
3d879ed295 docs(web): remove outdated comment in engine/main/build.sh 2025-02-21 08:16:21 +07:00
Joshua Horton
94df946b0e fix(web): reconnect, patch up engine/main headless unit tests 2025-02-20 12:13:11 +07:00
Joshua Horton
a5c987116b fix(web): patches up affected unit test 2025-02-20 12:11:41 +07:00
Joshua Horton
baf2150542 fix(web): properly support workerless use of Web engine
Fixes: #13262
Fixes: KEYMANWEB-COM-1VH
2025-02-20 12:06:28 +07:00
Joshua Horton
94023cd692 fix(web): provide informative error + message when loading UI without the engine
Fixes: #13261
2025-02-18 09:47:17 +07:00
Joshua Horton
14bca9fffd
Merge pull request #13196 from keymanapp/chore/web/fix-coverage-reporting
chore(web): fix coverage-reporting artifact
2025-02-14 14:57:05 +07:00
Joshua Horton
90b4318d84
Merge pull request #13158 from keymanapp/chore/web/top-level-clean-predictive-text
chore(web): ensure /web/build.sh clean triggers all predictive-text child actions
2025-02-14 14:56:52 +07:00
Joshua Horton
7feb496718
Merge pull request #13141 from keymanapp/change/web/drop-CI-unit-test-concurrency
change(web): drop 'dom' unit test concurrency when run in CI mode
2025-02-14 14:56:37 +07:00
Marc Durdin
130e697d40
Merge pull request #13230 from keymanapp/chore/merge-master-into-web-core
chore: merge master into web-core
2025-02-14 05:30:04 +07:00
Joshua Horton
39c1727b6f change(web): use env.KEYMAN_ROOT instead of custom function 2025-02-12 15:57:02 +07:00
Joshua Horton
b2598e76ba chore(web): fix coverage-reporting artifact
Fixes: #13195
2025-02-12 15:56:54 +07:00
Joshua Horton
3e456bbf3b chore(web): top-level clean affects predictive-text child projects
Addresses parts of #12735.
2025-02-07 10:02:56 +07:00
Joshua Horton
95dae2079e change(web): drop 'dom' unit test concurrency when run in CI mode 2025-02-06 14:34:10 +07:00
Joshua Horton
c3cd0493ff docs(web): relocate gesture docs to web/docs/internal 2025-02-06 10:33:28 +07:00
Joshua Horton
0e7b47e075
Merge pull request #12927 from keymanapp/fix/web/context-match-applied-suggestions
fix(web): correctly track context transitions caused by applying suggestions 🖲️
2025-02-03 15:11:01 +07:00
Joshua Horton
3c7ae5d7f6
Merge pull request #12925 from keymanapp/fix/web/context-match-path-ordering
fix(web): correct edit-path ordering at source 🖲️
2025-02-03 15:10:50 +07:00
Joshua Horton
316395a180
Merge pull request #12911 from keymanapp/change/web/context-tracker-backspaces-and-alignment
change(web): add context tracker bksp handling, alignment-offset calculations 🖲️
2025-02-03 15:10:36 +07:00
Joshua Horton
5b4df8e47d change(ios): set host-app bundle identifier in embedded Web debug-report 2025-01-31 14:42:15 +07:00
Eberhard Beilharz
f43950143a
chore: Merge branch 'epic/web-core' into chore/merge-master-into-web-core 2025-01-30 15:11:23 +01:00
Joshua Horton
8abff180db
Merge pull request #13048 from keymanapp/fix/web/keyboard-query-errors
fix(web): keyboard query error states should always provide informative Error objects, reports
2025-01-30 13:43:56 +07:00
Joshua Horton
3bf00b867c
Merge pull request #13068 from keymanapp/fix/web/disable-suggestion-autohighlight
fix(web): disabled autoaccept should not autohighlight suggestions
2025-01-30 08:51:52 +07:00
Joshua Horton
657f6f4fbd fix(web): disabled autoaccept should not autohighlight suggestions 2025-01-29 10:56:10 +07:00
Joshua Horton
e97cd3094f fix(web): disabled correction state should prevent predictive corrections
Fixes: #12214
2025-01-29 10:12:53 +07:00
Joshua Horton
a141e52adc
chore(web): test-page script comment tweak per review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-01-28 08:12:46 +07:00
Joshua Horton
1c9b8ce150 chore(web): remove console-based breadcrumb per review request
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-01-27 15:39:22 +07:00
Joshua Horton
9ec6666453 change(web): adjust keyboard-error page for testing prior commit's changes 2025-01-27 15:39:22 +07:00
Joshua Horton
5d2d740cb0 fix(web): always return error for keyboard stub Cloud API error states
Fixes: #13043
Fixes: KEYMAN-COM-1BN
Fixes: HELP-KEYMAN-COM-DCA
2025-01-27 15:38:25 +07:00
Joshua Horton
f130ad8fc3
Merge pull request #13013 from keymanapp/fix/web/13011-nextElement-null-guard
fix(web): add null guard for focusing next element via keystroke
2025-01-27 09:23:00 +07:00
Joshua Horton
a50d152e98
Merge pull request #13032 from keymanapp/fix/web/font-link-robustness
fix(web): fix handling of data: url fonts, fonts with single quotes in filename
2025-01-27 08:10:00 +07:00
Joshua Horton
6be8abfdcc
Merge pull request #12998 from keymanapp/fix/web/complex-nul-context-handling
fix(web): do not simplify nul-prefixed contexts when rule-matching
2025-01-24 14:56:36 +07:00
Joshua Horton
ee7ca4c6e1 chore(web): also link issues near font-family fix 2025-01-24 13:27:02 +07:00