Commit graph

4116 commits

Author SHA1 Message Date
Eberhard Beilharz
d4fcc8f7ff
Merge pull request #10124 from keymanapp/chore/web/coverage
chore(web): Add option to create test coverage report file
2023-12-04 11:25:17 +01:00
Eberhard Beilharz
cd72449da9
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-04 09:51:55 +01:00
Eberhard Beilharz
91fb28fa0a
chore(web): Add option to create test coverage report
This adds a `coverage` parameter to `web/build.sh` that will create
a coverage report in HTML format in `web/build/coverage/index.html`.
2023-12-01 20:04:35 +01:00
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
Eberhard Beilharz
e0c4f4fc65
fix(web): Fix attachment-api tests 2023-11-27 15:37:07 +01:00
Eberhard Beilharz
f56033f537 chore(web): Add TAB output to test keyboard 2023-11-23 18:02:36 +01:00
Eberhard Beilharz
ef8b9888c8 chore(web): Update touch layout 2023-11-23 17:22:24 +01:00
Eberhard Beilharz
fb7c19fee4
chore(core): Add test keyboard for text selection tests
Part of #9073.
2023-11-23 10:51:59 +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
Darcy Wong
6ff0cd202d chore(common): Move keymanweb-osk.ttf to common/ 2023-11-13 15:44:46 +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
55b2886eb5
Merge pull request #9951 from keymanapp/fix/web/9918_osk-always-visible
fix(web): Ignore `osk-always-visible` on non-desktop devices
2023-11-08 08:14:23 +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
1e4546ac2c
fix(web): Increase size of spacebar text
The caption on the spacebar used to be 60%. This change increases it to
100%, but that might be sometimes too big. On the other hand, 80% still
seemed to be too small.

Fixes #7940.
2023-11-07 10:34:04 +07:00
Eberhard Beilharz
ac29930d1f
refactor(web): Link to index.html in test pages
This change adds `index.html` to all links that point to test index pages.
This will show the index page instead of the directory listing when
opening locally, identical to the behavior on TC.
2023-11-07 09:38:15 +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 Horton
b4843b25ab
Merge pull request #9891 from keymanapp/fix/web/default-layer-display-when-not-first
fix(web): fixes doc-kbd display of default layer when it's not defined first
2023-11-02 09:57:24 +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
Marc Durdin
a4817599b0 chore(web): remove legacy s_keyman_com.sh 2023-10-30 09:01:33 +07:00
Marc Durdin
6c00656849 chore(common): unify pull-request creation scripts
Fixes #9886.
2023-10-30 06:22:52 +07:00
Joshua Horton
374b1fa2d2
Merge pull request #9718 from keymanapp/fix/web/integrated-test-stability
fix(web): enhances integrated test stability
2023-10-20 16:17:19 +07:00
Joshua A. Horton
1adc9ea58f fix(web): fixes touch form-factor default kbd on cookieless keymanweb.com load 2023-10-18 09:54:28 +07:00
Joshua Horton
d283165b1b
Merge pull request #9743 from keymanapp/chore/web/build-streamlining
chore(web): web build streamlining
2023-10-12 08:10:26 +07:00
Joshua A. Horton
ca265004c9 chore(web): web build streamlining 2023-10-11 15:05:20 +07:00
Marc Durdin
defbd53fb8
Merge branch 'master' into fix/web/integrated-test-stability 2023-10-09 16:11:25 +11:00
Joshua A. Horton
35bebda728 docs(web): comment referencing the PR 2023-10-09 10:23:43 +07:00