Commit graph

310 commits

Author SHA1 Message Date
Joshua A. Horton
878e0f0ea2 chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
Marc Durdin
983ae43357 chore(common): add builder_term function 2023-02-08 12:49:54 +07:00
Joshua A. Horton
3cbd0632ba chore(web): cleans up OSK module import paths 2023-02-06 10:09:28 +07:00
Joshua A. Horton
0b642561ac chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-06 09:35:56 +07:00
Joshua Horton
e6caff993a
Merge pull request #8100 from keymanapp/feat/web/osk-modularization-testing
feat(web): unit tests for the OSK module & spun-off formerly-OSK components 🧩
2023-02-06 09:28:56 +07:00
Joshua A. Horton
e652e4df07 chore(web): addresses PR review concerns 2023-02-06 09:01:30 +07:00
Joshua A. Horton
7eb34cbb37 chore(common/web): keyboard-processor + recorder-core import pathing cleanup 2023-02-03 14:01:24 +07:00
Joshua A. Horton
a41e26d0a2 fix(common/web): unit test patch-up 2023-02-03 13:37:23 +07:00
Joshua A. Horton
b7e66406c7 chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-03 12:57:27 +07:00
Joshua A. Horton
0348ec47f2 chore(web): Merge branch 'change/web/element-wrapper-modularization' into change/web/osk-modularization 2023-02-03 08:49:02 +07:00
Joshua A. Horton
fab0dd5820 change(common/web): another legacy endpoint tweak 2023-02-02 14:01:03 +07:00
Joshua A. Horton
9e45b4936f fix(web): oh yeah, old keyman.osk endpoint for Codes properties 2023-02-02 13:41:24 +07:00
Joshua A. Horton
857bc80e4a fix(common/web): debug endpoints to com.keyman.text.Codes 2023-02-02 13:36:36 +07:00
Joshua Horton
b0504394dd
chore(common/models): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-02 13:24:25 +07:00
Joshua A. Horton
dc6a2b909d change(common/web): cleaner import paths between in-repo packages 2023-02-02 12:41:51 +07:00
Joshua A. Horton
2a40534d3e change(common/web): better dev-mode declaration bundling 2023-01-31 11:54:49 +07:00
Joshua A. Horton
4f4842d67f feat(web): more OSK unit tests, makes ManagedPromise a web-util 2023-01-31 10:10:08 +07:00
Joshua A. Horton
b171ff342e chore(common/web): cleans up cross-module imports, drops namespaced export setup 2023-01-27 11:45:30 +07:00
Joshua A. Horton
182ed34f1d feat(common/web): adds a few unit tests for KeyboardProperties 2023-01-25 12:39:45 +07:00
Joshua A. Horton
9741c3a6d2 docs(common/web): minor addendum to doc-comment for moved class 2023-01-25 10:23:29 +07:00
Joshua A. Horton
33e0739b01 refactor(web): moves KeyboardProperties, SpacebarText enum to keyboard-processor 2023-01-25 10:21:33 +07:00
Joshua A. Horton
ffb614f52c chore(web): post-refactor fixes to keyboard-processor, input-processor unit tests 2023-01-25 09:14:23 +07:00
Joshua A. Horton
d987444683 change(web): OSK modularization, prep for standalone mode, refactors to achieve both 2023-01-20 15:16:05 +07:00
Joshua A. Horton
e48db510e1 change(common/web): different namespace-like export attempt 2023-01-20 13:20:17 +07:00
Joshua A. Horton
52c4ba404f feat(common/web): tests for side-effect auto-extension of String class for smp by modules 2023-01-20 13:20:16 +07:00
Joshua A. Horton
7c0908cebd change(common/web): adds one extra module-bundle unit test 2023-01-20 13:20:16 +07:00
Joshua A. Horton
43cdd783bb feat(common/web): bundled-module canary unit test 2023-01-20 13:20:15 +07:00
Joshua A. Horton
17d3f40bec feat(common/web): first pass a a bundled declaration for the namespace-style bundle 2023-01-20 13:20:15 +07:00
Joshua A. Horton
a7873504d4 change(common/web): build output path updates 2023-01-20 13:20:14 +07:00
Joshua A. Horton
ec6c90aad2 change(common/web): new Codes access point now fully readonly 2023-01-20 13:20:14 +07:00
Joshua A. Horton
45e09d043c fix(common/web): unit test breakage from missing 'let' 2023-01-20 13:20:13 +07:00
Joshua A. Horton
0eb722ac21 fix(common/web): test breakage from loss of former Codes access point 2023-01-20 13:20:13 +07:00
Joshua A. Horton
918a24c37a chore(common/web): converts keyboard-processor unit tests 2023-01-20 13:20:12 +07:00
Joshua A. Horton
7fe069a8f3 chore(common/web): minor cleanup 2023-01-20 13:20:11 +07:00
Joshua A. Horton
14b40a4301 fix(common/web): in-place Node module path resolution 2023-01-20 13:20:11 +07:00
Joshua A. Horton
8a02ddc0f1 feat(common/web): keyboard-processor esbuild bundling 2023-01-20 13:19:42 +07:00
Joshua A. Horton
ddab414c3a fix(web): fixes build output pathing 2023-01-20 13:19:41 +07:00
Joshua A. Horton
991fb8ad05 chore(web): base esmodule conversion of keyboard-processor 2023-01-20 13:19:37 +07:00
Joshua Horton
71e12a7ced
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-21 08:26:48 +07:00
Joshua A. Horton
84d5b00bf1 fix(web): osk key text scaling 2022-11-17 15:16:56 +07:00
Marc Durdin
d7fbdfc59a
Merge pull request #7617 from keymanapp/fix/developer/7616-inferred-key-text-stability
fix(developer): improve support for inferred key cap text
2022-11-09 05:14:44 +11:00
Marc Durdin
88e5bb8cdd fix(web): doModifierPress was testing against wrong device
The doModifierPress function was testing against the 'actual' device
rather than the virtual device, which meant that in the web debugger on
a desktop, testing a touch device, it was effectively testing against
the desktop device data rather than the simulated touch device data.

I did not observe any significant differences in behaviour between the
two modes. So I am not 100% confident that this change is necessary. But
it is a little concerning that there was a mismatch here.
2022-11-07 07:01:50 +11:00
Marc Durdin
238a8e9185 fix(developer): improve support for inferred key cap text
Fixes #7616.

Fixes a crash when attempting to infer key cap text from key id, and
cleans up the support for inferred key text so that it works correctly
in the designer.

Also adds a safeguard to KMW to stop invalid key ids causing a crash.
2022-11-04 06:18:24 +11:00
Joshua Horton
a060ccb6fd
Merge pull request #7543 from keymanapp/fix/web/oskEvent-keyboard-synch
fix(web): ensures keyboard does not change underneath OSK keystroke
2022-10-26 14:13:54 +07:00
Joshua A. Horton
c3e3fb04d5 fix(web): ensures keyboard does not change underneath OSK keystroke 2022-10-26 09:45:26 +07:00
Joshua A. Horton
042daf7fdc fix(web): failsafe button-class val on failed string parse 2022-10-21 10:40:29 +07:00
Joshua A. Horton
3704e71818 refactor(web): layout 'sanitize' methods 2022-10-20 09:32:35 +07:00
Joshua A. Horton
ecc9edeb66 change(web): layout row id number coercion 2022-10-20 08:54:19 +07:00
Joshua A. Horton
7ddadbe145 chore(web): padpc, widthpc cleanup 2022-10-20 08:47:59 +07:00
Joshua A. Horton
527aaa6618 feat(web): keyboard layout now allows numeric width, pad, sp 2022-10-19 10:27:38 +07:00