Commit graph

5110 commits

Author SHA1 Message Date
Joshua Horton
d9bddee90e
Merge pull request #13714 from keymanapp/fix/web/web-util-unit-testing
fix(web): reconnect unit tests for low-level web utility classes/methods 🧶
2025-04-30 08:21:20 +07:00
Joshua Horton
8f04951c80 chore(web): enable web/ linting 2025-04-29 12:01:42 +07:00
Joshua Horton
d6579495f8 change(web): address recorder-tool linter errors 2025-04-29 11:54:44 +07:00
Joshua Horton
4762429e96 change(web): address app/ui linter errors 2025-04-29 11:40:19 +07:00
Joshua Horton
da138b098d change(web): address app/browser linter errors 2025-04-29 11:38:08 +07:00
Joshua Horton
241f9655f2 change(web): address app/webview linter errors 2025-04-29 11:32:35 +07:00
Joshua Horton
19021f1419 change(web): address engine/main linter errors 2025-04-29 11:30:30 +07:00
Joshua Horton
0288048340 change(web): address engine/keyboard-storage linter errors 2025-04-29 11:29:16 +07:00
Joshua Horton
7baf8d0b69 change(web): address engine/attachment linter errors 2025-04-29 11:28:28 +07:00
Joshua Horton
f839810cc0 change(web): address engine/osk/gesture-processor linter errors 2025-04-29 11:03:59 +07:00
Joshua Horton
f6134244f2 change(web): address engine/osk linter errors 2025-04-29 11:02:23 +07:00
Joshua Horton
6ba37bc61b change(web): address engine/interfaces linter errors 2025-04-29 10:57:52 +07:00
Joshua Horton
f1ca263da2 change(web): address engine/events linter errors 2025-04-29 10:57:28 +07:00
Joshua Horton
63f6216774 change(web): address engine/element-wrappers linter errors 2025-04-29 10:55:30 +07:00
Joshua Horton
db6b61e8fc change(web): address engine/js-processor linter errors 2025-04-29 10:54:37 +07:00
Joshua Horton
7b1cfe94ff change(web): address engine/dom-utils linting errors 2025-04-29 10:52:35 +07:00
Marc Durdin
9d4214c54c chore: Merge remote-tracking branch 'origin/master' into chore/merge-beta-to-master-release-prep 2025-04-22 13:16:21 +07:00
Joshua Horton
cdda6e8ce5
Merge pull request #13646 from keymanapp/fix/web/match-osk-and-banner-font-scaling
fix(web): match banner font scaling to osk font scaling
2025-04-21 09:10:48 +07:00
Joshua Horton
ddefb79b70 fix(web): reconnect unit tests for low-level web utility classes/methods 2025-04-21 08:18:56 +07:00
Marc Durdin
4f829f5c8f chore: Merge remote-tracking branch 'origin/master' into chore/merge-beta-to-master-b18s5 2025-04-21 07:13:35 +07:00
Joshua Horton
a4164d2c0f
Merge pull request #13632 from keymanapp/change/web/set-classname-on-mobile-page-trailer
change(web): add unique classname to mobile-device page-trailer element
2025-04-10 13:21:37 +07:00
Joshua Horton
30074eafe4
docs(web): fix quote consistency within the same sentence
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-04-08 08:12:07 +07:00
Joshua Horton
2beca8e3b4 docs(web): starts page for touch-keyboard gesture models, adds flowcharts
Fixes: #13628
2025-04-07 13:23:13 +07:00
Joshua Horton
b96cdf1e0f chore(web): remove dead methods regarding keyboard state 2025-04-04 15:07:08 +07:00
Eberhard Beilharz
092b5e7001
Merge pull request #13660 from keymanapp/chore/web/logerror
chore(web): improve error logging in predictive-text worker message validation

Previously logging an error resulted in two Sentry issues to be created. This change now combines the log message and the error into one call to `console.error`, thus resulting in only one Sentry issue being created.
2025-04-04 08:58:37 +02:00
Eberhard Beilharz
c1683b4be2
chore(web): improve error logging
Previously logging an error resulted in two Sentry issues to be created.
This change now combines the log message and the error into one call to
`console.error`, thus resulting in only one Sentry issue being created.
2025-04-03 16:35:09 +02:00
Joshua Horton
970db6f823 chore(web): one more clean-up nit 2025-04-03 15:49:39 +07:00
Joshua Horton
41106a1d85 chore(web): code cleanup per review 2025-04-03 15:47:03 +07:00
Joshua Horton
e9cd0dda9c docs(web): addresses concerns from recent ermshiperete review 2025-04-03 15:42:40 +07:00
Joshua Horton
a2f57c0cf6 docs(web): improve section on motivation for gesture input serialization
Addresses a PR comment by mcdurdin on #13597 (at https://github.com/keymanapp/keyman/pull/13597#discussion_r2023971170) in regard to the motivation for gesture input serialization.

> I just don't understand how the problem described here can arise -- unless we are introducing deferral with promises -- but even then, if we consistently defer every incoming event with a promise, then the order would still be automatically enforced.

In particular, this aims to clarify how the macrotask queue gets involved and can interfere with the ordering of promises.
2025-04-03 09:05:37 +07:00
Joshua Horton
8a6f5ac8ab fix(web): prevent div-by-zero potential from prior commit 2025-04-03 08:12:02 +07:00
Marc Durdin
cafa503124 chore: use explicit node: prefix on more module imports 2025-04-03 08:10:50 +07:00
Joshua Horton
04e315bfa8 docs(web): adds documentation for new styling class 2025-04-02 13:45:21 +07:00
Joshua Horton
8a5c49c585 change(web): keyman-page-trailer -> kmw-page-trailer in order to match common prefix 2025-04-02 13:45:09 +07:00
Joshua Horton
831ca4eeaf fix(web): add banner font downscaling
Fixes: #13644

The banner should also double-check the height of its suggestions, applying downscaling where needed to ensure the suggestions' text does not flow out of bounds.  Additionally, if the main keyboard body's keys required downscaling due to text height, this will likely also result in similar scaling for the suggestions.
2025-04-02 13:15:24 +07:00
Joshua Horton
426e3d1d3a fix(web): apply layout font-scaling to banner
When a keyboard's layout specifies font-upscaling, that scaling should also be applied to the banner.  This was not previously being done, which could lead to font-size discrepancies between the two (as noted with `khmer_angkor` in the base issue).
2025-04-02 13:15:20 +07:00
Joshua Horton
d6dc759ee7
Merge pull request #13597 from keymanapp/docs/web/gesture-input-serialization
docs(web): document input-serialization aspects of gesture processing
2025-04-02 08:31:34 +07:00
Joshua Horton
c8e8c1320c
Merge pull request #13587 from keymanapp/docs/web/gesture-modeling-and-processing
docs(web): document internals for gesture modeling and processing
2025-04-02 08:31:22 +07:00
Joshua Horton
cd322340df change(web): add unique classname to mobile-device page-trailer element
Addresses, but does not fix, #13588.

This change provides a simple classname to the page-trailer element Keyman Engine for Web adds to pages when in mobile mode.  This "page trailer" was originally added so that the on-screen keyboard does not hide important elements near the bottom of the page when visible.  That said, we have gotten site-designer complaints about it; exposing a way for site-designers to retrieve it in queries and/or customize its properties will provide a reasonable workaround for such cases.
2025-04-01 11:45:46 +07:00
Joshua Horton
6945a264ff docs(web): improve clarity for the onNewTrackedPath section per review comment 2025-04-01 09:14:30 +07:00
Joshua Horton
63d6df6e00 Merge branch 'docs/web/gesture-modeling-and-processing' into docs/web/gesture-input-serialization 2025-04-01 08:59:25 +07:00
Joshua Horton
3ed52349d3 docs(web): addresses more review concerns 2025-04-01 08:50:40 +07:00
Joshua Horton
9034e045d6
docs(web): Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-04-01 08:41:27 +07:00
Joshua Horton
581fe688c3 docs(web): adds index link to the new doc 2025-03-31 15:39:53 +07:00
Joshua Horton
72576811d0 Merge branch 'docs/web/gesture-modeling-and-processing' into docs/web/gesture-input-serialization 2025-03-31 15:38:22 +07:00
Joshua Horton
fab49b9135 docs(web): also link the older internal-doc page 2025-03-31 15:31:57 +07:00
Joshua Horton
9fae7e9039 docs(web): central index.md start location 2025-03-31 15:28:34 +07:00
Joshua Horton
00239eaf56 docs(web): revamps the glossary 2025-03-31 14:13:33 +07:00
Joshua Horton
6dbca2a4ae docs(web): gesture-modeling intro breakdown reordering 2025-03-31 12:29:21 +07:00
Joshua Horton
8102f4bb64 docs(web): terms.md -> glossary.md 2025-03-31 10:55:33 +07:00