Commit graph

1442 commits

Author SHA1 Message Date
jahorton
3fc120ffed fix(web): fixes keymanCloudRequest 2021-06-11 09:52:30 +07:00
Darcy Wong
61f3a8dd5b feat(web): Initial try for addLanguageKeyboards to return a Promise 2021-06-10 15:02:57 +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
jahorton
0db5e9dc6d change(web): only check for touch-aliases if touchable 2021-03-30 10:00:41 +07:00
jahorton
6c275ca9d3 change(web): adds code to assist diagnosis of #4797 2021-03-30 09:43:50 +07:00
jahorton
e35ed5be9c docs(web): better documents TouchAlias internals, scrollbar handling 2021-03-29 09:13:33 +07:00
Darcy Wong
d6b0a3aa9c fix(web): Revert previous commit
ccc42f3fc9
2021-03-26 12:55:27 +07:00
Darcy Wong
ccc42f3fc9 fix(web): Don't configure if banner undefined 2021-03-26 12:46:26 +07:00
jahorton
9439090205 fix(common/models): fixes overly zealous thresholding near word starts 2021-03-23 09:13:02 +07:00
jahorton
4a96254cbc fix(web): allows refresh of currently-loaded model 2021-03-19 11:40:58 +07:00
jahorton
6298bb27f6 fix(web): first-pass workaround for popup-key corrections 2021-03-17 12:58:41 +07:00
jahorton
eb311bdda5 chore(common/core/web): adjustments from PR feedback 2021-03-17 12:02:51 +07:00
jahorton
7cbb78ea45 fix(web): uses new IDs as needed outside of web-core 2021-03-17 10:26:58 +07:00
Joshua Horton
dba99618fb
Merge pull request #4646 from keymanapp/fix/web/better-missing-feature-check
fix(web): better check for missing MutationObserver type
2021-03-12 08:36:04 +07:00