Commit graph

4628 commits

Author SHA1 Message Date
Joshua A. Horton
c0caad99d1 feat: embedded API func for globe-hint use 2022-11-10 12:04:30 +07:00
Joshua A. Horton
84caeea054 chore(web): minor cleanup 2022-11-10 10:53:19 +07:00
Joshua A. Horton
db764158d1 change(web): simpler globe-hint position styling 2022-11-10 10:43:42 +07:00
Darcy Wong
a82df0e0ea fix(web): Add additional checks on className.indexOf 2022-11-09 12:48: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
08ef07750d fix(web): Handle undefined keyId in multi-tap
Fixes #7647.
2022-11-08 14:44:54 +11:00
Joshua A. Horton
83b2aae099 change(web): partial CSS restyle; CSS-based bubble height control 2022-11-04 15:16:53 +07:00
Joshua A. Horton
464da9b0b8 chore(web): minor cleanup, missed change for prior commit 2022-11-04 14:15:50 +07:00
Joshua A. Horton
9e76ce6e3c change(web): removes constrain field from globe hint 2022-11-04 12:16:06 +07: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 A. Horton
5f67c79306 feat(web): start of embedded globe hint 2022-11-03 15:16:56 +07:00
Marc Durdin
1fdc5a0be4 feat(web): Custom layer targets for Shift double-tap
Applies proposed feature https://community.software.sil.org/t/testing-caps-on-touch/6849/5:

1. A `caps` layer must still exist in the keyboard.
2. If there is at least one multitap subkey defined on the Shift key on
   the active layer, then the `nextlayer` property of the first multitap
   subkey for the Shift key will be used instead of the default `caps`.
3. This does not change the behavior of the Shift key otherwise.

For example, the following defines a valid multitap key on Shift on the
`rightalt` layer to switch to a custom extended `rightalt-shift-caps`
layer.

This does not implement any other multitap functionality. It just allows
the keyboard developer to specify a target layer for a given double-tap.

```
  {
    "id": "K_SHIFT",
    "text": "*Shift*",
    "width": 150,
    "sp": 1,
    "nextlayer": "rightalt-shift",
    "layer": "default",
    "multitap": [
      {
        "text": "",
        "id": "T_new_694",
        "sp": "1",
        "nextlayer": "rightalt-shift-caps"
      }
    ]
  },
```
2022-11-03 10:35:44 +11:00
Marc Durdin
b676cc1d9a
Merge pull request #7563 from keymanapp/fix/ios/7517-iPad-not-recognised-as-tablet
fix(ios): iPad was not recognised as tablet device
2022-11-01 05:38:10 +11:00
Joshua Horton
9d006a45a7
Merge pull request #7516 from keymanapp/fix/web/bulk-renderer-update
fix(web): bulk renderer update
2022-10-31 14:59:59 +07:00
Joshua A. Horton
797d5b5a8f chore(web): cleanup, tweaks per code review 2022-10-31 10:25:16 +07:00
Marc Durdin
71af6160db fix(ios): iPad was not recognised as tablet device
Fixes #7517.

Cleans up the setDeviceType code which was attempting to set the device
type far too late in the init sequence, and moves responsibility for
detection from kmwembedded.ts to ios-host.ts, as this device test is
iOS-specific.
2022-10-28 13:02:19 +11:00
Joshua Horton
1bdb2d4364
Merge pull request #7557 from keymanapp/fix/web/model-id-case-insensitivity
fix(web): model language ids now case-insensitive
2022-10-28 08:17:40 +07:00
Joshua A. Horton
50cfdc7072 fix(web): model language ids now case-insensitive 2022-10-27 12:30:56 +07:00
Joshua A. Horton
4be54f3114 chore(web): removes unreferenced config 2022-10-26 15:26:01 +07: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 Horton
31ce257f9d
Merge pull request #7544 from keymanapp/fix/web/isChiral-string-param
fix(web): allow `isChiral()` to accept string name parameter of keyboard
2022-10-26 14:13:44 +07:00
Joshua A. Horton
717e6fd472 fix(web): isChiral(<string>) 2022-10-26 11:11:45 +07:00
Joshua Horton
b097c351e1
Merge pull request #7463 from keymanapp/chore/web/engine-tools-build-rework
chore(web): KMW dev-tools reorganization, cleanup, script updates 📜
2022-10-26 10:17:01 +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 Horton
99da9a7785
Merge pull request #7486 from keymanapp/feat/web/kbd-layout-numeric-props
feat(web): keyboard layout spec now allows numeric width, pad, sp
2022-10-26 09:09:13 +07:00
Joshua A. Horton
c50569b1da chore(web): Merge branch 'change/web/reorg-source-src-reorg' into change/web/reorg-test-pages-cases 2022-10-26 08:45:14 +07:00
Joshua A. Horton
5d411148ce chore(web): moves browserstack-termination script to common test resources 2022-10-26 08:44:48 +07:00
Joshua A. Horton
f1dd33be55 chore(web): another dropped exec bit on moved script 2022-10-26 08:03:26 +07:00
Joshua A. Horton
2164aa7f77 chore(web): Merge branch 'change/web/reorg-source-src-reorg' into change/web/reorg-test-pages-cases 2022-10-25 16:01:28 +07:00
Joshua A. Horton
ed9341ced0 fix(web): build:engine dependencies 2022-10-25 15:21:02 +07:00
Joshua A. Horton
db16fe5e40 refactor(web): regularizes build output pattern, DRYs build functions 2022-10-25 15:01:43 +07:00
Joshua A. Horton
23b516182f change(web): build/<product> -> build/app/<product> 2022-10-25 09:12:43 +07:00
Joshua A. Horton
7eb34bdbda docs(web): missing bulk-renderer doc detail 2022-10-24 15:48:33 +07:00
Joshua A. Horton
0833f3be21 fix(web): bulk renderer update 2022-10-24 15:40:30 +07:00
Joshua A. Horton
c18bc07d34 chore(web): Merge branch 'change/web/reorg-source-src-reorg' into change/web/reorg-test-pages-cases 2022-10-24 12:56:39 +07:00
Joshua A. Horton
62fb4bb8c2 change(web): build:samples after build:embed 2022-10-24 12:50:12 +07:00
Joshua A. Horton
c46304b2c1 fix(web): restores built keyboard in test section 2022-10-24 12:02:12 +07:00
Joshua A. Horton
37cd399c9a chore(web): script move dropped exec flags 2022-10-24 11:59:40 +07:00
Joshua A. Horton
84fa0e31ad change(web): unit_tests -> src/test/auto 2022-10-24 11:55:40 +07:00
Joshua A. Horton
309120c40c change(web): moves web test script to base web/ folder 2022-10-24 11:49:01 +07:00
Joshua A. Horton
19ac13b368 fix(web): fixes android-harness build pathing 2022-10-24 11:45:24 +07:00
Joshua A. Horton
62ff9e662d change(web): testing/ -> src/test/manual/ 2022-10-24 11:45:23 +07:00
Joshua A. Horton
628767259d change(web): samples -> src/samples 2022-10-24 11:45:22 +07:00
Joshua A. Horton
178a5ba7e2 fix(web): sentry-manager path ref 2022-10-24 11:44:57 +07:00
Joshua A. Horton
daf56bb7e8 fix(android): fixes CI build missing sentry-manager product 2022-10-24 10:58:25 +07:00
Joshua A. Horton
a215b52712 fix(web): web ui-module test cases 2022-10-24 10:19:43 +07:00
Joshua A. Horton
e9a45c1592 fix(web): ui module linking for sample/test pages 2022-10-24 10:16:06 +07:00
Joshua A. Horton
0256a5c65c change(web): converts output-path script vars, links android-harness to build:samples 2022-10-24 08:49:24 +07:00
Joshua A. Horton
66ec28d304 fix(web): bulk-renderer source links 2022-10-24 08:44:20 +07:00
Joshua A. Horton
0fa44e0bb9 fix(web): updates testing-page links 2022-10-24 08:43:59 +07:00