Commit graph

407 commits

Author SHA1 Message Date
Joshua A. Horton
5feb623d3e chore(web): Merge branch 'master' into feat/web/fancy-suggestion-banner 2023-12-01 09:14:07 +07: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
Joshua A. Horton
db99a87c77 chore(web): Merge branch 'master' into feat/web/fancy-suggestion-banner 2023-12-01 08:31:23 +07: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 A. Horton
e4a241bd34 Merge branch 'master' into feat/web/fancy-suggestion-banner 2023-11-16 08:25:21 +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
Joshua A. Horton
0ab094df43 docs(web): adds comment 2023-11-15 11:51:49 +07:00
Joshua A. Horton
1534c6516e docs(web): documentation of new internal interface, clarifying renames 2023-11-15 11:51:49 +07:00
Joshua A. Horton
9f7c6c9754 chore(web): ez-pz bits of cleanup 2023-11-15 11:51:49 +07:00
Joshua A. Horton
f592c5094d feat(web): bonus round - variable-width suggestions 2023-11-15 11:51:48 +07:00
Joshua A. Horton
40488693e8 feat(web): similar handling for RTL 2023-11-15 11:51:48 +07:00
Joshua A. Horton
6d54e08d7b feat(web): visibility offset cancellation after manual scroll to corresponding area 2023-11-15 11:51:48 +07:00
Joshua A. Horton
a46b203e3d feat(web): scroll offset to promote expanded option visibility (LTR only) 2023-11-15 11:51:48 +07:00
Joshua A. Horton
b76b871476 change(web): js-side animation, LTR counterscrolling on suggestion expansion 2023-11-15 11:51:48 +07:00
Joshua A. Horton
870e7341c0 fix(web): basic rtl handling for new features 2023-11-15 11:51:48 +07:00
Joshua A. Horton
7177a495cf feat(web): variable-width suggestions, padding-fill if total width too narrow 2023-11-15 11:51:48 +07:00
Joshua A. Horton
b99ca9e772 feat(web): spins getTextMetrics off as importable method, implements suggestion expansion structures 2023-11-15 11:51:48 +07:00
Joshua A. Horton
2572629723 feat(web): suggestion banner itself scrolls 2023-11-15 11:51:42 +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