Commit graph

66 commits

Author SHA1 Message Date
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
Marc Durdin
58b1668afd chore(web): try lighter color 2024-03-10 15:36:00 -05:00
Marc Durdin
4833680d3b chore(web): try 0.5em again 2024-03-10 15:07:22 -05:00
Marc Durdin
b89cc16c2d chore(web): try 0.6em 2024-03-10 14:59:16 -05:00
Marc Durdin
c15fda6433 chore(web): limit hint tweak to android 2024-03-10 14:45:02 -05:00
Marc Durdin
de7e3c68a1 chore(web): improve the clarity of hints on OSK
I found the hints too hard to see on my phone, so this increases size of
the hint from 0.5em to 0.75em, and changes color from #aaa to #ccc, on
Android.
2024-03-10 14:29:20 -05:00
Darcy Wong
efda3c0120 fix(android): Consolidate banner-bar styling 2024-02-19 09:17:35 +07:00
Darcy Wong
36f2acb9f4 fix(android): Match phone suggestion banner styling on tablet 2024-02-19 07:56:44 +07:00
Joshua A. Horton
f66461625e fix(web): banner robustness when touched 2+ times at once 2024-02-08 10:05:40 +07:00
Joshua A. Horton
add5d169a1 fix(web): proper await for special-osk font, use of it in key scaling 2024-01-30 10:09:32 +07:00
Joshua A. Horton
fd2f3ca8d1 feat(web): more prominent fade, fade state management 2024-01-16 10:24:59 +07:00
Joshua A. Horton
d26dabb555 chore(web): Merge branch 'master' into feat/web/fancy-suggestion-banner-megamerge 2023-12-14 11:31:34 +07:00
Joshua A. Horton
4551c4f8f9 chore(web): Merge branch 'change/web/floating-tablet-preview' into feat/web/multitap-preview-hints 2023-12-05 09:15:29 +07:00
Joshua A. Horton
d2c55fc797 chore(web): Merge branch 'feature-gestures' into feat/web/fancy-suggestion-banner-megamerge 2023-12-04 10:20:12 +07:00
Joshua A. Horton
32e7d9a5d7 chore(web): changes per PR review 2023-12-01 11:49:00 +07:00
Joshua A. Horton
5fd0cebdcb fix(web): z-index issues - suggestions were above keytips and subkeys 2023-12-01 09:42:52 +07:00
Joshua A. Horton
3f911edf3d feat(web): multitap preview fade animation 2023-11-30 13:45:57 +07:00
Joshua A. Horton
4f19b4cd1e change(web): floating tablet key-previews, hosted by layer-independent element 2023-11-30 13:01:10 +07:00
Joshua A. Horton
977ad9cfbf change(web): adds CSS type based on 'top' | 'bottom' custom type 2023-11-30 08:29:15 +07:00
Joshua A. Horton
253c81b159 chore(web): Merge branch 'feature-gestures' into feat/web/orientable-keytip 2023-11-24 11:38:06 +07:00
Joshua Horton
6f38fde42b
Merge pull request #10074 from keymanapp/chore/merge-master-into-feature-gestures
chore: merge master into feature-gestures 🐵
2023-11-24 11:36:56 +07:00
Joshua A. Horton
40f9e6ebd8 chore(web): Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures
Involved splicing feature-gestures banner changes into the newly-separated banner sources.
2023-11-24 08:29:39 +07:00
Joshua A. Horton
a9802c6ee2 feat(web): can orient keytip below key, hotswap orientation 2023-11-22 14:53:27 +07:00
Joshua A. Horton
0c9a9fa172 chore(web): Merge branch 'feat/web/delayed-modipress-completion' into change/web/keytips-and-callouts 2023-11-22 14:52:58 +07:00
Joshua A. Horton
33e53ea5f3 chore(web): Merge branch 'feature-gestures' into change/web/polish-pass 2023-11-21 13:16:45 +07:00
Joshua A. Horton
e4a241bd34 Merge branch 'master' into feat/web/fancy-suggestion-banner 2023-11-16 08:25:21 +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
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
Joshua A. Horton
53364bc65a fix(web): better callout positioning, webview-mode sizing 2023-11-14 12:41:12 +07:00
Joshua A. Horton
4246a3e4d4 change(android): webview pages now use standards mode, not quirks mode 2023-11-14 11:46:06 +07:00
Joshua A. Horton
d12e335d0c fix(web): fixes #7890 - webview-based subkeys lacked non-webview-default bottom padding 2023-11-14 09:58:16 +07:00
Joshua A. Horton
f82ba7a400 fix(web): fixes #7889 - callout now dynamic CSS triangle, used on all platforms 2023-11-14 09:58:15 +07:00
Joshua A. Horton
3e3929de16 chore(web): Merge branch 'feat/web/flick-implementation' into feat/web/gesture-preview-host 2023-11-14 09:50:15 +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
Joshua A. Horton
83c2616f3a fix(web): special-key hint text accidental camouflage 2023-11-08 12:50:06 +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
Joshua Horton
5a2cfb89c0
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-11-06 08:27:22 +07:00
Joshua A. Horton
f4061f7609 chore(web): Merge branch 'feat/web/flick-implementation' into feat/web/gesture-preview-host 2023-11-01 13:18:33 +07:00
Joshua A. Horton
b070c10b34 fix(web): CSS styling for tablet key-hints 2023-10-31 16:09:19 +07:00
Joshua A. Horton
d3ad24e645 feat(web): flick-scroll clearing 2023-10-31 13:35:42 +07:00
Joshua A. Horton
34837810dd feat(web): first scrolling flick preview 2023-10-31 13:35:40 +07:00
Joshua A. Horton
db77fa1ada change(web): trims previous preview styling 2023-10-31 13:35:40 +07:00
Joshua A. Horton
1ff8d68043 chore(web): post-rebase patchup 2023-10-31 13:34:56 +07:00
Joshua A. Horton
f6d93540c7 fix(web): border-rounding for previews 2023-10-31 13:34:56 +07:00
Joshua A. Horton
efa4806912 feat(web): multitap + longpress styling statically positioned, flick part may scroll 2023-10-31 13:34:55 +07:00
Joshua A. Horton
55f004f4c6 feat(web): demo flag, styling nuances, ability to fade invalid entries 2023-10-31 13:34:55 +07:00