Commit graph

395 commits

Author SHA1 Message Date
Eberhard Beilharz
00ab53e95e
Merge pull request #10086 from keymanapp/fix/web/detachFromControl
fix(web): Don't throw errors after detach
2023-12-01 15:23:39 +01:00
Joshua Horton
19d3d7c20c
Merge pull request #10022 from keymanapp/change/android/flishy-flashy-mitigation-2
change(android): smoother keyboard initialization ✨
2023-12-01 09:12:50 +07:00
Joshua Horton
f7f5952742
Merge pull request #10017 from keymanapp/change/android/flishy-flashy-mitigation
change(android): flishy flashy mitigation, round 1 ✨
2023-12-01 09:12:38 +07:00
Eberhard Beilharz
8875dffbab
fix(web): Properly detach from events during detach 2023-11-30 19:49:13 +01:00
Eberhard Beilharz
2023360421
fix(web): Don't throw errors after detach
Fixes #10031.
2023-11-29 12:21:32 +01:00
Joshua A. Horton
76d05cdd32 fix(web): memory/handler leak when swapping pred-text on and off repeatedly 2023-11-23 08:50:11 +07:00
Joshua A. Horton
0f32515050 fix(web): app/webview did not clear deadkeys on context-reset 2023-11-22 09:09:36 +07:00
Joshua A. Horton
f6e384789b fix(web): DRYing it out re: app/browser's version 2023-11-21 13:04:26 +07:00
Joshua A. Horton
e109ec76ff fix(web): fixes broken ref in getViewportScale 2023-11-21 12:53:24 +07:00
Joshua A. Horton
c5b3bafcc7 change(android): host-page init now retrieves current stub before KMW init 2023-11-17 09:54:40 +07:00
Joshua Horton
8ebb7257b3
Merge pull request #9988 from keymanapp/refactor/web/inactive-banner-management
refactor(web): inactive banner management 🎏
2023-11-16 08:06:17 +07:00
Joshua Horton
e6e89d75e8
Merge pull request #9987 from keymanapp/chore/web/separate-banner-source-files
chore(web): splits banner.ts into separate files per banner type 🎏
2023-11-16 08:06:07 +07:00
Darcy Wong
c6a946059c
Update web/src/engine/osk/build.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-11-14 14:18:06 +07:00
Joshua Horton
db67f04563
fix(web): bug from applying suggestion 2023-11-14 11:10:25 +07:00
Joshua A. Horton
a88367d9a8 chore(web): activeBanner -> currentBanner, some doc-comments 2023-11-14 08:32:08 +07:00
Joshua A. Horton
cf36490e46 chore(web): reverts removal of width-styling from ImageBanner 2023-11-14 08:23:34 +07:00
Joshua A. Horton
a02dad0165 Merge branch 'chore/web/separate-banner-source-files' into refactor/web/inactive-banner-management 2023-11-14 08:20:48 +07:00
Joshua A. Horton
0d796583d5 chore(web): also splits BannerView and BannerController into separate files 2023-11-14 08:16:58 +07:00
Joshua A. Horton
355565ef07 chore(web): BlankBanner gets its own source file, too 2023-11-14 08:13:34 +07:00
Darcy Wong
f1a17b5c99 fix(web): configure output 2023-11-14 06:55:38 +07:00
Darcy Wong
50e37cea93 fix(web): Update configure outputs 2023-11-14 06:24:32 +07:00
Darcy Wong
f372936c34 chore(web): Add configure step to copy font 2023-11-13 20:49:25 +07:00
Eberhard Beilharz
75a5d36399
Merge pull request #9954 from keymanapp/fix/web/7940_spacebar-text
fix(web): Increase size of spacebar text
2023-11-13 14:08:11 +07:00
Joshua A. Horton
18b2903493 feat(web): new banner type - HTMLBanner 2023-11-13 13:32:10 +07:00
Joshua A. Horton
109920e235 refactor(web): drops banner options paradigm in favor of simple "inactiveBanner" prop 2023-11-13 13:31:57 +07:00
Joshua A. Horton
f2048a8e91 chore(web): splits banner.ts into separate files per banner type 2023-11-13 11:48:55 +07:00
Eberhard Beilharz
cd49f3f2b7
Update web/src/engine/osk/src/keyboard-layout/oskKey.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-11-08 19:29:15 +07:00
Eberhard Beilharz
1fa4090d05
fix(web): Improve cause of issue
One reason for the sometimes small text on the spacebar besides the
too small font size on `kmw-spacebar-caption` was that the calculation
of the ideal font size added double padding: it added two pixels of
padding to the height, but also multiplied the height value by 0.9 which
effectively added more padding. This change removes the 2 pixel padding
from the calculation.

The existing calculation varies the text size to fit in the available
width of the spacebar, so calculating with font size of 1em is reasonable
and better than the previous 0.6em. The previous value would lead to even
an smaller font size for long texts, far below the size that would be
sufficient to fit the text.
2023-11-07 19:23:41 +07:00
Eberhard Beilharz
ad716f878b
fix(web): Ignore osk-always-visible on non-desktop devices
Fixes #9918.
2023-11-07 08:37:30 +07:00
Joshua A. Horton
b2a358fab2 fix(web): fixes doc-kbd display of default layer when it's not defined first 2023-10-30 14:18:30 +07:00
Darcy Wong
944756737e
Merge pull request #9547 from keymanapp/chore/web/non-printing-chars-osk
chore(web): Add non-printing characters to the OSK
2023-10-03 15:37:41 +07:00
Darcy Wong
ff81276d10 chore(web): Add ZWNJGeneric 2023-09-28 15:30:30 +07:00
Joshua A. Horton
05b4de3002 chore(web): Merge branch 'master' into feat/web/default-subkeys-9430 2023-09-26 13:15:53 +07:00
Darcy Wong
20d5d551e7 chore(web): Update comments 2023-09-23 10:30:54 +07:00
Darcy Wong
98660fef56 chore(web): Cleanup embeddedGestureConfig
Remove createKeyTip and startLongpress
2023-09-20 14:22:12 +07:00
Darcy Wong
1817a2d9d0 chore(web): Add other non-printing characters from OSK font
Addresses #6167 for KeymanWeb by defining PUA points per https://github.com/silnrsi/font-symchar/blob/v3.000/documentation/encoding.md
2023-09-11 08:13:35 +07:00
Joshua A. Horton
909331df62 feat(web): allows small fudge-factor before cancelling default 2023-08-21 12:22:52 +07:00
Joshua A. Horton
3adf4dc6eb fix(web): stuck base-key highlighting upon default selection 2023-08-21 11:41:44 +07:00
Joshua A. Horton
d488f22fd9 feat(web): browser-KMW support for default subkeys 2023-08-21 10:42:06 +07:00
Joshua A. Horton
35d45af53c fix(web): eventemitter import style affected unit test 2023-07-21 08:25:58 +07:00
Joshua A. Horton
6ea90935bc fix(web): missed a closing bracket in suggestion 2023-07-21 08:04:37 +07:00
Joshua Horton
6581dbbbdb
chore(web): Apply suggestions from code review 2023-07-19 15:36:02 +07:00
Joshua A. Horton
d31118c63d fix(web): allows registering precached keyboards 2023-07-19 14:21:59 +07:00
Joshua Horton
c25eb2958e
Merge pull request #9206 from keymanapp/fix/web/layout-warning-during-init
fix(web): silences low-priority warning that shows up in iOS kbd init
2023-07-10 15:09:15 +07:00
Joshua A. Horton
43f05ee4f1 docs(web): about silenced warning 2023-07-10 08:35:11 +07:00
Joshua Horton
31c76aa081
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-07 11:34:50 +07:00
Joshua A. Horton
e8fbafe194 feat(web): logs enhanced debug info for error reports 2023-07-07 09:40:02 +07:00
Joshua A. Horton
cb82ab5fe7 change(web): better guard condition, logic layout 2023-07-06 13:26:15 +07:00
Joshua A. Horton
997a754ffe fix(web): silences low-priority warning that shows up in iOS kbd init 2023-07-06 13:16:14 +07:00
Joshua A. Horton
78c7756b05 chore(web): Merge branch 'feature-esmodule-web-engine' into docs/web/public-api-clarity 2023-06-21 08:24:53 +07:00