Commit graph

124 commits

Author SHA1 Message Date
Eberhard Beilharz
043eb56434
chore(web): Better match directory structure for headless engine tests
This change adds an additional `engine` directory and moves the headless
tests to subdirectories of that. It also renames some test directories.
Together this makes the layout of the tests better match the layout under
`src` and so makes it easier to see what tests what.
2023-12-13 12:11:25 +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
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 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
43f05ee4f1 docs(web): about silenced warning 2023-07-10 08:35:11 +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
Joshua Horton
0e7b8815be
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-06-21 08:21:16 +07:00
Joshua Horton
89e7393665
Merge pull request #9025 from keymanapp/chore/web/esbuild-config-cleanup
chore(web): esbuild configuration cleanup 🧩
2023-06-19 14:04:11 +07:00
Joshua A. Horton
f2e3effa4c chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/centralize-kmw-tsconfigs 2023-06-19 14:03:20 +07:00
Joshua A. Horton
d042dede8b docs(web): for 'On-Screen Keyboard Module' 2023-06-19 11:59:14 +07:00
Joshua A. Horton
eccbd49abb change(web): centralizes /web project bundling configs 2023-06-16 11:35:10 +07:00
Joshua A. Horton
75347ebc6f change(web): internal event names -> lowercase convention 2023-06-14 10:30:56 +07:00
Joshua A. Horton
70cde09ebc chore(web): centralizes main KMW component tsconfig settings 2023-06-14 09:02:46 +07:00
Joshua Horton
c3ce9aea8a
Merge pull request #8970 from keymanapp/chore/web/dedupe-osk-events
chore(web): deduplicates non-distinct osk events 🧩
2023-06-12 12:19:58 +07:00
Joshua Horton
64947fca51
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-06-12 08:10:43 +07:00
Joshua A. Horton
d97e8ff5f7 chore(web): deduplicates non-distinct osk events 2023-06-09 10:06:15 +07:00
Joshua A. Horton
06434953a8 chore(web): KMW use of importHelpers 2023-06-08 13:03:25 +07:00
Joshua A. Horton
464b52e38d chore(web): Merge branch 'change/web/sample-page-rework' into chore/web/test-page-patchup 2023-05-30 12:59:30 +07:00
Joshua A. Horton
194d46693f chore(web): extra build-script cleanup 2023-05-30 08:57:45 +07:00