Commit graph

1453 commits

Author SHA1 Message Date
jahorton
8fed389718 refactor(web): simplified calibration control flow 2021-06-14 10:36:41 +07:00
jahorton
4a8325c2f7 refactor(web): removes redundant calc 2021-06-14 09:43:00 +07:00
jahorton
d582e69b73 refactor(web): vkbd height on root, not layer group element 2021-06-11 12:38:18 +07:00
jahorton
b61f390098 refactor(web): simplifies vkbd layout height init 2021-06-11 10:41:08 +07:00
jahorton
99b186b9f4 refactor(web): internal BuildVisualKeyboard signature (external API unchanged) 2021-06-10 14:39:24 +07:00
jahorton
a702262637 refactor(web): osk height-adjustment 2021-06-10 14:33:17 +07:00
jahorton
08748d5105 refactor(web): removes unused vars, minor cleanup 2021-06-10 13:29:29 +07:00
jahorton
b9d7ce53e9 refactor(web): moves layerChangeHandler to OSKManager 2021-06-10 12:30:27 +07:00
jahorton
b7796b2457 refactor(web): reduces VisualKeyboard reliance on keyman.util 2021-06-10 12:14:11 +07:00
jahorton
362344af16 refactor(web): removes redundant OSKKey.formFactor 2021-06-10 10:38:00 +07:00
jahorton
827af364e2 refactor(web): getTextMetrics, key-class refs to com.keyman 2021-06-10 10:32:41 +07:00
jahorton
1abcccc499 refactor(web): setButtonClass now method of OSKKey 2021-06-10 10:08:34 +07:00
jahorton
8d8461b449 refactor(web): subkey layer always defined at constructor 2021-06-10 09:40:19 +07:00
Joshua Horton
6abc0855e0
Merge pull request #5181 from keymanapp/refactor/web/target-agnostic-key-event
refactor(common/core/web, web): target-agnostic key events
2021-06-09 10:38:10 +07:00
Darcy Wong
40ac1b5dcf fix(web): Always pass kill_browserstack 2021-06-08 07:48:43 +07:00
jahorton
c91d2f3685 refactor(web): related adjustments for full KMW 2021-05-28 13:14:43 +07:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
Darcy Wong
29ea14796b
Update web/source/build_kill_browserstack.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-05-26 09:11:48 +07:00
Darcy Wong
b9e395e4a2 chore(web): Merge remote-tracking branch 'origin/master' into chore/web/infrastructure-build-on-linux 2021-05-25 14:03:01 +07:00
Joshua Horton
ec06b2a328
Merge pull request #5134 from keymanapp/fix/web/multi-touch-handling
fix(web): active element selection in multi-touch scenarios
2021-05-25 11:36:44 +07:00
jahorton
125e6f3590 docs(web): adds requested comment 2021-05-25 10:06:30 +07:00
Darcy Wong
9cd8b7905a chore(web): Add CI script to kill BrowserStack tunnel 2021-05-24 15:02:02 +07:00
jahorton
439d05cf88 fix(web): better multitouch handling 2021-05-24 11:40:41 +07:00
jahorton
fcc60d0a3c chore(web): removes diagnostic breadcrumbing 2021-05-24 10:59:54 +07:00
jahorton
afe6950062 chore(web): final? PR polish 2021-05-24 10:03:50 +07:00
jahorton
d8af0c6acd docs(web): fixes comment typo 2021-05-24 08:23:56 +07:00
jahorton
f74eda8867 chore(web): another PR review revision round 2021-05-24 08:22:19 +07:00
jahorton
65b3564ca7 feat(web): resolve/reject mapping for cloud API. Fixes #535 2021-05-21 13:01:12 +07:00
jahorton
c17c78ab1c change(web): adjustments re: PR review 2021-05-21 11:42:28 +07:00
jahorton
9cdf867830 docs(web): notes for future enhancement 2021-05-20 16:03:06 +07:00
jahorton
1c1ccb5d63 feat(web): basic promise wrapper on cloud api call 2021-05-20 15:59:38 +07:00
jahorton
3102435314 fix(web): reuses OSK width calc 2021-05-13 11:54:02 +07:00
jahorton
a1d989c6c1 fix(web): popup key positioning logic 2021-05-13 09:02:54 +07:00
Marc Durdin
d448b1e82e
Merge pull request #4981 from keymanapp/chore/web/disable-ftat-log
chore: disable findTouchAliasElement logging
2021-04-26 20:20:47 +10:00
Marc Durdin
4f404ccdb8 chore: disable findTouchAliasElement logging 2021-04-26 17:38:01 +10:00
jahorton
cb47deddf3 fix(web): banner init when prediction is disabled 2021-04-23 09:14:43 +07:00
jahorton
ea266eef22 change(web): better fix - no parameterless selectBanner calls 2021-04-23 08:30:44 +07:00
Darcy Wong
879f7bded9 fix(web): Set banner when state is undefined 2021-04-22 17:34:44 +07:00
Joshua Horton
3ffa35c154
Merge pull request #4938 from keymanapp/fix/web/embedded-smp-after-kbd-swap
fix(web, ios): better SMP, emoji handling with frequent keyboard swaps
2021-04-22 14:27:17 +07:00
Joshua Horton
bda0171448
Merge pull request #4954 from keymanapp/fix/web/subkey-suggestions
fix(web): fixes subkey lookup for fat-finger processing
2021-04-22 11:53:00 +07:00
jahorton
60def978ed change(web): removes now-redundant SMP enablements 2021-04-22 11:50:42 +07:00
jahorton
c7310e0b86 fix(web): fixes subkey lookup for fat-finger processing 2021-04-22 11:00:07 +07:00
Marc Durdin
2d2bdd8032 fix(web): move function 2021-04-22 13:01:11 +10:00
Marc Durdin
0a37ce3832 fix(web): reset dfltX and dfltY in restorePosition
Fixes #4948.

This resets `keyman.osk.dfltX` and `keyman.osk.dfltY` in the
`restorePosition()` function, except when the user clicks the pin (or
`true` passed in for `keepDefaultPosition` parameter). It also moves the
grungy `window.event` hack out of the function and into a private
handler specifically for the pin div `onclick`.

I didn't want to reset `dfltX` and `dfltY` when the user clicks on the
pin, because that is a change in behaviour.
2021-04-22 12:58:30 +10:00
Marc Durdin
528f9693d0
Update web/source/osk/oskManager.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2021-04-22 12:32:15 +10:00
Marc Durdin
9cd1ddf150 fix(web): publish restorePosition() function
This makes the `osk.restorePosition()` function public and makes it work
even if the OSK is not presently visible. Also DRY out the repeated
implementation.
2021-04-22 06:57:02 +10:00
jahorton
3b902369ef change(web): SMP processing now always enabled 2021-04-21 10:53:11 +07:00
jahorton
9f071bb906 change(web): null guards for findTouchAliasTarget uses 2021-04-21 09:08:28 +07:00
jahorton
00debdbb28 change(web): SMP enablement always on in embedded mode 2021-04-20 16:02:55 +07:00
jahorton
e995a5cde1 docs(web): adjusts comments according to PR review 2021-04-20 14:01:46 +07:00