Commit graph

2011 commits

Author SHA1 Message Date
Marc Durdin
bfc20a2ca5 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-11-01 05:47:04 +11:00
Darcy Wong
b6d3d38002 change(web): updates mobile screen dimension detection code
Cherry-pick of #6979 to stable-15.0
2022-09-19 14:15:07 +07:00
Darcy Wong
c235e2fd27 Merge remote-tracking branch 'origin/stable-15.0' into cherrypick/web/6787-rotation-polish 2022-09-19 13:51:58 +07:00
Joshua A. Horton
7da563faa7 fix(web): fixes unintended auto-acceptance of suggestion after reverting 2022-09-19 08:27:19 +07:00
Darcy Wong
3924403187 change(web): rotation polish - OSK reload no longer needed 2022-09-02 11:31:43 +07:00
Joshua A. Horton
58199d73bc fix(web): right, contextDevice is private; util.device matches it 2022-07-15 08:42:44 +07:00
Joshua A. Horton
1d108dbfaa change(web): tweaks fix to be closer to original stable code 2022-07-15 08:35:33 +07:00
Joshua A. Horton
9b2bcf1ea0 chore(web): applies PR suggestion (manually) 2022-07-15 08:35:32 +07:00
Joshua A. Horton
ebc8fcf40f change(web): relocates pageFocusHandler def'n 2022-07-15 08:35:31 +07:00
Joshua A. Horton
53268c41ae fix(web): applies PR suggestions 2022-07-15 08:35:30 +07:00
jahorton
634596a307 fix(web): reset context on page focus loss 2022-07-15 08:35:28 +07:00
Marc Durdin
5abf2daffb fix(web): remove spurious log "No keyboard stubs exist"
This error has been logged for every start of Keyman Engine for Web in
embedded contexts, but nothing bad ever happens. It does not really seem
to be anything we need to worry about. (It may be that the
`setDefaultKeyboard()` call will never return true, but it is still
harmless in any case.)
2022-07-07 09:37:44 +10:00
jahorton
e65656f3c3 chore(web): cleanup 2022-07-04 09:00:07 +07:00
jahorton
5add44e915 fix(web): properly binds 'suggestionApplied' event handler 2022-07-04 08:54:52 +07:00
Joshua Horton
133d6ca5a3
Merge pull request #6861 from keymanapp/fix/web/stable/6853-refresh-layout-undef-guard
fix(web): better stability during transient OSK load state 🍒
2022-06-29 13:30:05 +07:00
Joshua Horton
edb75ff86f
chore(web): applies code suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-06-29 08:14:25 +07:00
jahorton
5cc4d98914 fix(web): keytip null-guard in shutdown 2022-06-28 12:47:37 +07:00
jahorton
56e4037031 fix(web): oh yeah, clear the key preview too 2022-06-28 12:47:36 +07:00
jahorton
55a6ba11a9 fix(web): clears repeating bksp on keyboard reload 2022-06-28 12:47:36 +07:00
jahorton
70913b9155 fix(web): a more polished version 2022-06-28 08:44:32 +07:00
jahorton
b046a3cf14 fix(web): null-guard for refreshLayout 2022-06-28 08:44:31 +07:00
jahorton
20fba30524 chore(web): Merge branch 'stable-15.0' into fix/web/stable/help-doc-keyboard 2022-06-21 12:37:11 +07:00
jahorton
c434a46344 chore(web): clearer conditional + null coalescence statement 2022-06-21 07:49:14 +07:00
Joshua Horton
698775a5cf chore(web): commits PR suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-06-21 07:49:14 +07:00
jahorton
ac8583839a docs(web): better comment for changes 2022-06-21 07:49:13 +07:00
jahorton
a70986c2d8 fix(web): right, type-guard 'getOskHeight' 2022-06-21 07:49:12 +07:00
jahorton
5622428072 fix(web): fixes missing height for doc kbd 2022-06-21 07:49:12 +07:00
jahorton
9753e93116 fix(android): missed a few CSS properties 2022-06-17 15:17:27 +07:00
jahorton
3aa4ea77d4 fix(web): android keytip-cap lacked styling; was invisible 2022-06-17 15:17:26 +07:00
jahorton
d7a205508f fix(web): 'auto' actually mattered 2022-06-17 15:17:25 +07:00
jahorton
c72d761e11 fix(web): key tip constraint logic requires .bottom CSS 2022-06-17 15:17:24 +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
Joshua Horton
b8a1beb2b9
chore(web): commits PR suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-06-06 08:06:20 +07:00
jahorton
ad60fe8c92 chore(web): addresses PR review comments 2022-06-01 13:08:20 +07:00
jahorton
92d1c10209 fix(web): osk display-state setting tracking 2022-06-01 12:24:22 +07:00
jahorton
8ce04b0951 fix(web): fixes float ui osk-display issues 2022-06-01 10:50:54 +07:00
jahorton
a83b4010f7 fix(web): toolbar did not note ui activation 2022-06-01 10:50:47 +07:00
jahorton
fbbba03acc fix(web): prevents overminification of .osk for float, toolbar 2022-06-01 08:40:12 +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
Joshua Horton
784cb74884
Merge pull request #6526 from keymanapp/fix/web/subkey-fat-fingering
fix(web): fixes fat-finger distrib when subkey selected
2022-05-03 10:14:28 -05:00
jahorton
0f051edee0 change(web): addresses PR concerns 2022-04-29 10:08:24 -05:00
Joshua Horton
a0df12247b
Merge pull request #6566 from keymanapp/change/web/touch-alias-followup
change(web): touch alias optimization followup
2022-04-26 17:08:21 -05:00
Joshua A. Horton
d4464b92e5 fix(web): fixes fat-finger distrib when subkey selected 2022-04-26 10:10:21 -05:00
Joshua Horton
95c7cc2675
chore(web): applies code suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-04-26 06:53:49 +07:00
jahorton
782d2ae07a feat(web): adds .getKeyboard().IsRTL, .HasLoaded 2022-04-25 13:27:57 -05:00
jahorton
7990cdc1dd feat(web): caret placement fine-tuning 2022-04-25 11:53:36 -05:00