Commit graph

358 commits

Author SHA1 Message Date
Joshua Horton
3c021479b8
Merge pull request #5278 from keymanapp/refactor/web/vkbd-height-control
refactor(web): VisualKeyboard height styling consistency
2021-06-15 07:33:05 +07:00
jahorton
53a9906269 docs(web): doc comment update 2021-06-14 11:47:24 +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
jahorton
c91d2f3685 refactor(web): related adjustments for full KMW 2021-05-28 13:14:43 +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
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
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
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
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
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
jahorton
399c7fb6b4 fix(web): fixes lack of respect for underlying-key display settings 2021-03-03 08:55:37 +07:00
Joshua Horton
4794337d42
Merge pull request #4516 from keymanapp/fix/web/3910-namespaced-css-class
fix(web): removes package namespacing from kbd's CSS class
2021-02-25 15:09:25 +07:00
jahorton
6ca508a314 fix(web): removes package namespacing from kbd's CSS class 2021-02-24 14:26:10 +07:00
jahorton
ec61fa22d2 change(web): reverts incomplete tweak 2021-02-24 12:33:23 +07:00
jahorton
567df44a1a fix(web): mobile layouts for static keyboards now %-based 2021-02-24 12:10:37 +07:00
Joshua Horton
df3f77b857
Merge pull request #4370 from keymanapp/fix/web/3294-keyboard-layout-fouc
fix(android, ios): eliminates OSK layout flashing from predictive text banner display
2021-02-01 14:21:11 +07:00
jahorton
a67e26fb1c fix(web): removes stylesheets from unloaded keyboards 2021-01-29 12:54:50 +07:00
jahorton
78c7821f9f change(web): banner display no longer deferred 2021-01-29 11:31:56 +07:00
Joshua Horton
17fd83deec
Merge pull request #4270 from keymanapp/fix/web/4026-rescale-tall-keys
fix(web): dynamic font downscaling for OSK keys
2021-01-22 12:27:43 +07:00
Joshua Horton
2f43b68a81
Merge pull request #4308 from keymanapp/fix/web/lang-menu-key-highlight
fix(web): language menu key highlighting
2021-01-22 09:44:19 +07:00
jahorton
b564341b46 fix(web): dynamic fontsize should only on key-text 2021-01-22 09:20:59 +07:00
jahorton
ed5866ffda change(web): timeout was already bound 2021-01-22 08:39:28 +07:00
jahorton
16ca7ecc80 change(web): default subkey change from review comment 2021-01-22 08:24:25 +07:00
jahorton
efda46e968 fix(web): language menu key highlighting 2021-01-21 13:34:48 +07:00
jahorton
cc5ba47603 change(web): adds 'break' for perfect-match case 2021-01-21 12:23:12 +07:00
jahorton
c5e67034e0 docs(web): enhances comment 2021-01-21 12:22:14 +07:00
jahorton
2db9c02fbf fix(web): default popup key selection, space highlight after popup 2021-01-21 12:09:51 +07:00
jahorton
693018a2e2 chore(web): Merge branch 'beta' into fix/web/4026-rescale-tall-keys 2021-01-21 10:32:36 +07:00
Joshua Horton
19cd7e3bd5
Merge pull request #4279 from keymanapp/fix/web/4240-keyboard-load-optimizations
fix(web): OSK loading efficiency
2021-01-21 10:21:06 +07:00