Commit graph

769 commits

Author SHA1 Message Date
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
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
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
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 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 Horton
8a6120428a
Merge pull request #7488 from keymanapp/fix/web/lang-menu-index-scroll
fix(web): touch-platform language menu initial scrolling + index scrolling
2022-10-24 08:02:33 +07:00
Joshua A. Horton
d74303bc5d fix(web): .display, not .visibility 2022-10-20 11:04:24 +07:00
Joshua A. Horton
a7e01f9172 change(web): titlebar configEnabled, helpEnabled 2022-10-20 10:12:21 +07:00
Joshua A. Horton
e91cc809a7 chore(web): Revert "change(web): removes dead help, config top-right OSK icons"
This reverts commit c0cc360297.
2022-10-20 09:50:33 +07:00
Joshua A. Horton
4e609a258f chore(web): minor review nit 2022-10-20 08:48:19 +07:00
Joshua A. Horton
065a156621 fix(web): lang menu init default position 2022-10-19 15:17:24 +07:00
Joshua A. Horton
22f8011acf fix(web): touch language-menu scrolling via index 2022-10-19 14:58:31 +07:00
Joshua A. Horton
527aaa6618 feat(web): keyboard layout now allows numeric width, pad, sp 2022-10-19 10:27:38 +07:00
Joshua A. Horton
c0cc360297 change(web): removes dead help, config top-right OSK icons 2022-10-19 08:25:47 +07:00
Joshua Horton
690a282fe3
Merge pull request #7360 from keymanapp/change/web/drop-alignInputs
chore(web): drops alignInputs, hideInputs 📴
2022-10-17 10:19:05 +07:00
Joshua A. Horton
f8438d2117 chore(web): Merge branch 'master' into change/web/drop-touch-aliases 2022-10-10 09:04:24 +07:00
Darcy Wong
afba43b898 fix(web): Only unhighlight suggestion if there's a pending one 2022-09-29 13:33:42 +07:00
Joshua A. Horton
d1887a50cd chore(web): drops alignInputs, hideInputs 2022-09-29 08:52:46 +07:00
Joshua A. Horton
7bf29cecfd change(web): disconnects touch alias hooks, adds .inputMode 2022-09-29 08:17:44 +07:00
Darcy Wong
3239a1e7e3 fix(web): Update spacebar caption when refreshing layout 2022-09-23 12:45:17 +07:00
Joshua A. Horton
8c2fb269b6 fix(web): fixes unintended auto-acceptance of suggestion after reverting 2022-09-16 14:26:28 +07:00
Joshua A. Horton
12d894a8ba docs(web): addresses PR review doc requests 2022-08-04 09:24:29 +07:00
Joshua A. Horton
93ae6878db change(web): updates mobile screen-dim detection code 2022-07-21 15:12:20 +07:00
Joshua A. Horton
a25da20083 Merge branch 'master' into change/web/no-reloads-on-rotation 2022-07-06 14:49:28 +07:00
Marc Durdin
35adc5b970
Merge pull request #6630 from keymanapp/chore/developer/js-to-lmc
chore(developer): rename developer/js to developer/kmlmc 🎢
2022-07-06 05:42:19 +10:00
jahorton
aa8730acda fix(web): properly binds 'suggestionApplied' event handler 2022-07-04 09:19:51 +07:00
Joshua Horton
658865d0af
Merge pull request #6854 from keymanapp/fix/web/6853-refresh-layout-undef-guard
fix(web): null-guard for refreshLayout
2022-06-29 13:30:01 +07:00
Joshua Horton
581bda77aa
Merge pull request #6786 from keymanapp/fix/web/6735-sticky-backspace-on-resize
fix(web): clears repeating bksp on keyboard reload ⬅️
2022-06-29 13:28:01 +07:00
jahorton
25e21a0109 fix(web): a more polished version 2022-06-27 10:14:21 +07:00
jahorton
858966fa91 fix(web): null-guard for refreshLayout 2022-06-27 10:09:11 +07:00
Joshua Horton
f6841333a2
Merge pull request #6557 from keymanapp/change/web/5943-ie-rooting
change(web): drops old IE-related handling code
2022-06-24 08:35:03 +07:00
jahorton
16326e7ac6 docs(web): better docs re: refreshLayout's doResize call 2022-06-20 10:45:23 +07:00
jahorton
c66bfac43f chore(web): Merge branch 'fix/web/6735-sticky-backspace-on-resize' into change/web/no-reloads-on-rotation 2022-06-17 12:01:23 +07:00
jahorton
1da9388c97 fix(web): keytip null-guard in shutdown 2022-06-17 09:10:29 +07:00
jahorton
774c6c24b4 fix(web): 'auto' actually mattered 2022-06-16 15:00:44 +07:00
jahorton
91461c2812 change(web): device rotation no longer full-rebuilds vkbd instance 2022-06-16 14:28:27 +07:00
jahorton
612ffdd06a fix(web): oh yeah, clear the key preview too 2022-06-16 13:38:41 +07:00
jahorton
a4e506d867 fix(web): clears repeating bksp on keyboard reload 2022-06-16 12:17:55 +07:00
jahorton
14b1485772 fix(web): key tip constraint logic requires .bottom CSS 2022-06-16 10:13:50 +07:00
Joshua Horton
3cd5ae2b33
chore(web): applies code suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-06-14 12:52:39 +07:00
jahorton
d23b349106 fix(web): row height layout calcs now consider layer-group padding 2022-06-13 13:30:13 +07:00
Joshua Horton
3a73a12561
Merge pull request #6714 from keymanapp/change/web/6646-longpress-flick-thresholding
change(web): adjusts minimum distance needed for quick-display of subkeys
2022-06-10 13:30:24 +07:00
jahorton
15ae34a0c8 change(web): increases min dist for a longpress-flick timer shortcut 2022-06-06 08:58:56 +07:00
jahorton
92d1c10209 fix(web): osk display-state setting tracking 2022-06-01 12:24:22 +07:00
jahorton
75964b0077 chore(web): drops non-pred text dependence on es6-shim 2022-05-31 09:11:20 +07:00
jahorton
0601f682b0 chore(web): a bit more cleanup 2022-05-31 09:11:19 +07:00
jahorton
a38c01e5bb fix(web): preserves row height rounding 2022-05-25 15:36:53 +07:00
jahorton
2f1237e352 fix(web): osk shrinkage from rounding 2022-05-25 15:12:25 +07:00