Eberhard Beilharz
89abdbd64c
refactor(web): move some files around
...
- move `outputTarget.ts` → `js-processor`
- move `deadkeys.ts` → `js-processor`
- move `stringDivergence.ts` → `js-processor`
- split `Mock` into `mock.ts`
- create `keyboard/outputTarget.interface.ts`
2024-08-14 19:06:32 +02:00
Eberhard Beilharz
7459ab0bf8
refactor(web): move tests
...
Some tests test functionality defined in `js-processor`, so we move
these to the appropriate location. Addresses code review comments.
2024-08-14 19:06:31 +02:00
Eberhard Beilharz
3cdd84ff40
refactor(web): move tests to test/auto/headless
...
Addresses code review comments.
2024-08-13 19:00:38 +02:00
Eberhard Beilharz
73aa5afee3
Merge branch 'refactor/web/12067_js-processor' into refactor/web/12110_keyboard
2024-08-13 18:43:58 +02:00
Eberhard Beilharz
dedc18e156
refactor(web): move some files around
...
- move `systemStore.ts` → `js-processor`
- move `keyEventSource.interface.ts` → `osk`
- move `defaultRules.ts` → back to `keyboard-processor`
- in `KeyboardProcessor` pass `ruleBehavior` as parameter to `forAny`,
looks like that accidentally got omitted previously
Addresses code review comments.
2024-08-13 18:26:00 +02:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processor → keyboard
...
move parts of `common/web/keyboard-processor/` →
`web/src/engine/keyboard/`.
Fixes : #12110
2024-08-12 19:40:15 +02:00
Eberhard Beilharz
bba694c306
refactor(web): work around global in interface
2024-08-12 19:33:29 +02:00
Eberhard Beilharz
c09c895333
refactor(web): move parts of keyboard-processor → js-processor
...
Move parts of `common/web/keyboard-processor/` →
`web/src/engine/js-processor/`.
Note this temporarily disable tests for keyboard-processor which depend on
js-processor, until #12110 is fixed.
Fixes : #12067
2024-08-08 18:25:03 +02:00
Eberhard Beilharz
ebd2bf423a
Merge pull request #12072 from keymanapp/change/web/8146_moveCodes2
...
refactor(web): refactor and harmonize constants 🏗️
2024-08-06 09:06:31 +02:00
Eberhard Beilharz
ae0d9d9e0d
chore(web): fix previous commit
2024-08-02 12:36:30 +02:00
Eberhard Beilharz
32f91d0dde
chore(web): address code review comments
...
- fix imports of types defined in parent directory
- move `main/src/text` → `main/src/headless`
- move `languageProcessor.ts` → parent directory
2024-08-02 11:23:42 +02:00
Eberhard Beilharz
2c2acbe863
refactor(web): refactor and harmonize constants
...
Note that this adds the keyCodes > 50000 to `USVirtualKeyCodes`.
Fixes : #8146
2024-08-01 20:36:43 +02:00
Eberhard Beilharz
24159d680b
chore(web): move common/web/input-processor/ → web/src/engine/main/
...
Also:
- move `modelSpec.ts` and `PredictionContext.ts` →
`web/src/engine/interfaces`
- move `correction.ts` and `correctionLayout.ts` to `web/src/engine/osk/`
Relates-to: #12035
Fixes : #12054
2024-08-01 20:13:21 +02:00
Eberhard Beilharz
ab5df20eef
chore(web): move web/src/engine/paths/ → web/src/engine/interfaces/
...
Fixes : #12035
2024-07-31 20:06:02 +02:00
Joshua Horton
87f5560b14
Merge pull request #12049 from keymanapp/fix/web/unrevert-11258
...
fix(web): unrevert #11258 , leaving OSK hidden before instructed to display
2024-07-31 08:08:46 +07:00
Marc Durdin
49b4b4e939
Merge pull request #12039 from keymanapp/fix/web/12038-nullish-test-for-set-osk
...
fix(web): add nullish test in setOsk
2024-07-31 09:38:05 +10:00
Joshua A. Horton
fca87e21f9
fix(web): unrevert #11258 , leaving OSK hidden before instructed to display
2024-07-29 11:36:37 +07:00
Marc Durdin
f1e065d274
fix(web): add nullish test in setOsk
...
Fixes : #12038
2024-07-27 06:32:11 +07:00
Joshua A. Horton
cf47d5021b
chore(web): Revert "change(web): initializes OSK with keyboard if available during init"
...
This reverts commit 4b1394a54f .
2024-07-25 12:08:32 +07:00
Joshua A. Horton
67fed68a2a
chore(web): Revert "fix(web): OSK set activeKeyboard should not bypass during init"
...
This reverts commit eebf3e5ba8 .
2024-07-25 12:07:56 +07:00
Joshua A. Horton
546cade1af
chore(web): Revert "fix(web): adds newly-needed null guards due to new pattern"
...
This reverts commit 786c480742 .
2024-07-25 12:06:15 +07:00
Joshua A. Horton
67ac0ba8fd
chore(web): Revert "fix(web): OSK now checks pred-text state on init"
...
This reverts commit 7466b82893 .
2024-07-25 12:04:40 +07:00
Eberhard Beilharz
127a092971
Merge pull request #11911 from keymanapp/refactor/web/typescript
...
refactor(web): fix TypeScript errors and warnings
2024-07-22 08:11:49 +02:00
Joshua Horton
913f0b4c67
Merge pull request #11866 from keymanapp/feat/web/auto-prediction
...
feat(web): add and enable auto-correction 📚
2024-07-08 14:37:57 +07:00
Eberhard Beilharz
f7d6ebd6e1
refactor(web): fix TypeScript errors and warnings
...
Previously we didn't pre-compile this code and so we didn't notice these
errors and warnings.
2024-07-02 18:54:26 +02:00
Joshua A. Horton
8d9d39fc59
change(web): enforce single auto-selection
2024-07-02 08:27:31 +07:00
Joshua A. Horton
77791252f7
fix(web): restores pre-selected suggestion after banner scroll
2024-06-27 09:51:31 +07:00
Joshua A. Horton
017d0e4521
feat(web): apply auto-correct suggestions when applicable
2024-06-27 09:51:31 +07:00
Joshua A. Horton
4c35a93bbc
fix(web): use fat-finger data with simple keypresses
2024-06-24 08:55:09 +07:00
Joshua A. Horton
7dbadef7bd
chore(web): Merge branch 'feat/web/osk-layer-deferral' into feat/web/layer-processing-deferral
2024-06-19 15:49:05 +07:00
Joshua A. Horton
62fd5f6444
chore(web): Merge branch 'change/web/keyboard-preprocess-optimization' into feat/web/osk-layer-deferral
2024-06-19 15:31:02 +07:00
Joshua A. Horton
9c79aa4f65
chore(web): Merge branch 'master' into change/web/keyboard-preprocess-optimization
2024-06-19 15:21:14 +07:00
Joshua Horton
e43adb0ad2
Merge pull request #11786 from keymanapp/fix/web/quick-addKeyboards-call
...
fix(web): prevent desktop OSK crash when addKeyboards is called before engine init
2024-06-17 11:21:58 +07:00
Joshua Horton
4da8b0a792
Merge pull request #11783 from keymanapp/fix/web/longpress-key-id-with-modifier
...
fix(web): fix id of longpress keys with modifier set in touch layout
2024-06-17 11:21:41 +07:00
Joshua A. Horton
b1c908dee9
fix(web): prevent desktop OSK crash when addKeyboards is called before engine init
...
Fixes : #11785
Fixes: KEYMAN-WEB-KC
2024-06-14 13:53:51 +07:00
Joshua Horton
b7c3611dfa
Merge pull request #11743 from keymanapp/fix/web/newContext-device
...
fix(web): set new-context rules' device to match that of the active OSK
2024-06-14 10:21:02 +07:00
Joshua A. Horton
0b8347b067
fix(web): fix id of longpress keys with modifier set in touch layout
...
Fixes : #11782
2024-06-14 10:16:18 +07:00
Joshua Horton
ce49f12af9
Merge pull request #10432 from keymanapp/feat/web/package-kbd-renderer
...
feat(web): add bulk_render variant that loads and renders keyboards from local KMP
2024-06-12 12:56:40 +07:00
Joshua A. Horton
0cac134d19
fix(web): set new-context rules' device to match that of the active OSK
...
Fixes : #11740
2024-06-10 08:39:45 +07:00
Marc Durdin
614f957de5
Merge pull request #11723 from keymanapp/change/web/precompile-ts-tests
...
change(web): precompile all TS-based tests
2024-06-07 09:20:09 +07:00
Joshua Horton
1fa19db0bf
Merge pull request #11705 from keymanapp/fix/web/osk-focus-tracking
...
fix(web): fix osk touch-focus tracking
2024-06-07 07:59:35 +07:00
Joshua A. Horton
13476d48c8
change(web): precompile all TS-based tests
2024-06-06 15:48:58 +07:00
Joshua A. Horton
dc00f791a2
fix(web): declares variable
...
This was originally developed before the TS-strictness PR set. The variable was originally declared but unused at the time, and it was purged then as a result.
2024-06-06 09:25:22 +07:00
Joshua A. Horton
cce2f9a867
chore(web): Merge branch 'master' into feat/web/package-kbd-renderer
2024-06-06 08:51:08 +07:00
Joshua A. Horton
9b49554ab1
fix(web): fix osk touch-focus tracking
...
Fixes : #11704
Also addresses _part_ of KEYMAN-WEB-HY, but not all variants.
2024-06-06 08:37:11 +07:00
Joshua A. Horton
8ee60ff457
change(web): restore optional-member use (unneeded change)
2024-06-05 11:35:00 +07:00
Joshua A. Horton
b79335c772
fix(web): get row-height for flick configuration after performing layout
...
Fixes #11650
2024-06-05 11:32:10 +07:00
Joshua Horton
c3277c5fdf
Merge pull request #11464 from keymanapp/chore/web/final-config-flag-fixes
...
chore(web): finalize web/ project parity with base-repo TS config settings (aside from JS version target) 🔩
2024-06-03 15:16:35 +07:00
Joshua Horton
c858824d81
Merge pull request #11463 from keymanapp/chore/web/strict-func-types
...
chore(web): enforce strict function types in web/ 🔩
2024-06-03 15:16:19 +07:00
Joshua A. Horton
d2987ac26f
chore(web): Merge branch 'chore/web/partial-config-cleanup' into chore/web/remove-no-implicit-any
2024-06-03 11:57:33 +07:00