Commit graph

4732 commits

Author SHA1 Message Date
Joshua Horton
0726c50587
Merge pull request #12240 from keymanapp/fix/web/cherry-pick/doc-keyboard-spacebar-scaling
fix(web): fix documentation-keyboard spacebar-text scaling 🍒  🏠
2024-08-23 08:18:59 +07:00
Joshua A. Horton
672ba85812 docs(web): extends doc-comment per review comment 2024-08-21 09:26:26 +07:00
Joshua A. Horton
878f0fc769 fix(web): fix documentation-keyboard spacebar-text scaling
Fixes: #12231
Cherry-pick-of: #12232
2024-08-21 09:26:13 +07:00
Joshua A. Horton
b17bc09387 fix(web): disable fat-finger data use when mayCorrect = false
Cherry-pick-of: #12220
2024-08-20 10:09:34 +07:00
Joshua A. Horton
0adc15c5db Merge branch 'stable-17.0' into fix/web/cherry-pick/unrevert-11258 2024-07-30 15:00:35 +07:00
Joshua A. Horton
85db52dcda fix(web): unrevert #11258, leaving OSK hidden before instructed to display
Cherry-pick-of: #12049
2024-07-30 08:16:38 +07:00
Marc Durdin
2d4dccf2c2 fix(web): add nullish test in setOsk
Fixes: #12038
Cherry-pick-of: #12039
2024-07-27 06:44:02 +07:00
Joshua A. Horton
8c87b5516a chore(web): Revert "change(web): initializes OSK with keyboard if available during init"
This reverts commit 4b1394a54f.
2024-07-27 06:38:49 +07:00
Joshua A. Horton
f1619f2367 chore(web): Revert "fix(web): OSK set activeKeyboard should not bypass during init"
This reverts commit eebf3e5ba8.
2024-07-27 06:38:30 +07:00
Joshua A. Horton
752a2e179c chore(web): Revert "fix(web): adds newly-needed null guards due to new pattern"
This reverts commit 786c480742.
2024-07-27 06:38:28 +07:00
Joshua A. Horton
b644291211 chore(web): Revert "fix(web): OSK now checks pred-text state on init"
This reverts commit 7466b82893.
2024-07-27 06:38:25 +07:00
Joshua A. Horton
b45b6a5fd2 fix(web): use fat-finger data with simple keypresses
Cherry-pick-of: #11854
2024-06-25 13:57:03 +07:00
Marc Durdin
af3d743645
Merge branch 'stable-17.0' into fix/web/cherry-pick/longpress-key-id-with-modifier 2024-06-18 15:44:41 +10:00
Joshua Horton
0d87bd792f
Merge pull request #11787 from keymanapp/fix/web/cherry-pick/quick-addKeyboards-call
fix(web): prevent desktop OSK crash when addKeyboards is called before engine init 🍒  🏠
2024-06-17 11:25:44 +07:00
Joshua A. Horton
9dbf95ee72 fix(web): fix id of longpress keys with modifier set in touch layout
Fixes: #11782
Cherry-pick-of: #11783
2024-06-17 10:09:55 +07:00
Joshua A. Horton
377a60d0c2 fix(web): prevent desktop OSK crash when addKeyboards is called before engine init
Fixes: #11785
Fixes: KEYMAN-WEB-KC
Cherry-pick-of: #11786
2024-06-14 13:56:44 +07:00
Joshua A. Horton
4763cbd141 fix(web): set new-context rules' device to match that of the active OSK
Fixes: #11740
Cherry-pick-of: #11743
2024-06-10 08:45:01 +07:00
Joshua A. Horton
1977859171 change(web): restore optional-member use (unneeded change) 2024-06-05 11:41:02 +07:00
Joshua A. Horton
3be243979b fix(web): get row-height for flick constraints after performing layout
Fixes: #11650
Cherry-pick-of: #11691
2024-06-05 11:40:46 +07:00
Joshua Horton
4eefc60bad
Merge pull request #11617 from keymanapp/fix/web/cherry/early-webview-kbd-activation
fix(web): pre-init keyboard activation awaits init before proceeding 🍒 🏠
2024-05-31 13:09:16 +07:00
Joshua Horton
0115fcb474
Merge pull request #11616 from keymanapp/fix/web/cherry/kbd-doc-generation
fix(web): correctly handle cross-origin stylesheets when calculating keyboard size and key cap font size 🍒  🏠
2024-05-31 13:09:08 +07:00
Joshua A. Horton
5249b67f33 fix(web): pre-init keyboard activation awaits init before proceeding
Fixes: #11504
Cherry-pick-of: #11505
2024-05-30 13:34:29 +07:00
Joshua A. Horton
036fb5e5e0 fix(web): fixes kbd-help documentation for help.keyman.com
Cherry-pick-of: #11472
Fixes: #11467
2024-05-30 13:28:54 +07:00
Joshua A. Horton
b1c7957589 fix(web): fixes error on tab, enter when only a single input element is on the page
Cherry-pick-of: #11470
2024-05-30 13:24:29 +07:00
Joshua Horton
dd3763b240
Merge pull request #11385 from keymanapp/fix/web/unexpected-null-element 2024-05-10 07:32:09 +07:00
Joshua A. Horton
e9631c4fb2 chore(web): adjustments per code review 2024-05-09 10:24:31 +07:00
Joshua A. Horton
4fe71921a1 fix(web): fixes illegal KMW event state - can't focus a null element 2024-05-07 09:11:51 +07:00
Marc Durdin
7a0ab01469 fix(web): support SVG elements when checking className
Fixes #11364.

Instead of using `className` which may be of type `SVGAnimatedString` if
the element is an SVG element, use `getAttribute('class')`. As that
function can return `null` if the class attribute is not defined, use
optional chaining to avoid a new error...

Uses the same pattern in hardwareEventKeyboard.ts, although I suspect
the problem may never arise there.

I audited the uses of className in our KeymanWeb source and found only
these three instances which may be problematic. I have not searched
elsewhere.
2024-05-06 10:05:39 +07:00
Joshua A. Horton
8d2a1e8b93 change(web): longpress up-flick now has two components, requires greater distance 2024-04-29 08:53:32 +07:00
Joshua A. Horton
e686dbe67d fix(web): longpress shortcut activation should be based on purely-northward component
change(web): stricter threshold for up-flick shortcut
2024-04-26 10:25:03 +07:00
Joshua A. Horton
37196b1103 chore(web): Merge branch 'beta' into fix/web/visible-empty-osk 2024-04-22 15:36:31 +07:00
Joshua Horton
122351bea4
Merge pull request #11277 from keymanapp/feat/web/gesture-engine-history
feat(web): add recent-history log to gesture engine
2024-04-22 15:29:44 +07:00
Joshua A. Horton
6fa3d907e1 chore(web): drops redundant builder-dependency from early gesture dev 2024-04-22 11:28:55 +07:00
Joshua A. Horton
7bf6826a64 feat(web): adds recent-history log to gesture engine + clean JSON version 2024-04-22 10:57:37 +07:00
Joshua Horton
09a65a497b
Merge pull request #11174 from keymanapp/change/web/init-osk-with-keyboard
change(web): initializes OSK with keyboard if available during init 🪠
2024-04-19 12:41:48 +07:00
Joshua A. Horton
770c9da3e9 fix(web): osk-view hidden by default on construction 2024-04-19 12:36:21 +07:00
Joshua Horton
801359ce72
Merge pull request #11235 from keymanapp/fix/web/empty-string-length-style
fix(web): default parse of length styling for empty string
2024-04-19 11:25:34 +07:00
Joshua A. Horton
c4b240ac2d chore(web): applies PR suggestions 2024-04-19 09:22:03 +07:00
Joshua Horton
4772541d61
Merge pull request #11245 from keymanapp/fix/web/dropped-keys-on-rapid-typing 2024-04-18 21:01:21 +07:00
Joshua A. Horton
f4fe095f10 change(web): adjusts multitap timings 2024-04-18 11:58:13 +07:00
Joshua A. Horton
006151f054 fix(web): longpress cancellation on extra touch should not cancel the extra touch 2024-04-18 10:15:22 +07:00
Joshua A. Horton
b107daab22 chore(web): Merge branch 'beta' into change/web/init-osk-with-keyboard 2024-04-18 08:15:30 +07:00
Joshua Horton
67dfa93364
Merge pull request #11210 from keymanapp/fix/web/rotation-causes-osk-target-overlap
fix(web): now auto-scrolls if target element would be hidden after device rotation
2024-04-18 08:07:35 +07:00
Joshua A. Horton
1963ecfa11 change(web): drops need for closures to optimize layout-reflow 2024-04-17 12:58:05 +07:00
Joshua A. Horton
eead04351f chore(web): simple layout reflow polish 2024-04-17 12:20:43 +07:00
Joshua A. Horton
c5c7efffe7 chore(web): drops added redundancy 2024-04-17 11:52:35 +07:00
Joshua A. Horton
0490777886 change(web): a more focused empty-string fix 2024-04-17 11:52:02 +07:00
Joshua A. Horton
7856b7082f fix(web): default length-style parse for empty-string 2024-04-17 11:50:08 +07:00
Joshua A. Horton
b4ed832ed9 fix(web): fixes up-flick shortcut issue for longpress when keys support downflicks 2024-04-12 08:37:58 +07:00
Joshua Horton
ab0d225397
Merge pull request #11140 from keymanapp/change/web/anti-layout-reflow-thrashing
change(web):  OSK optimization, improved responsiveness 🪠
2024-04-12 07:49:52 +07:00