Commit graph

4628 commits

Author SHA1 Message Date
Marc Durdin
767d278f87
Merge pull request #6357 from keymanapp/fix/web/bounding-rect-offset
fix(web): bounding rect offset was incorrect
2022-03-19 13:13:19 +11:00
Keyman Build Agent
5d6bc10de9 auto: increment beta version to 15.0.217 2022-03-18 14:02:34 -04:00
Keyman Build Agent
cdc94f73b2 auto: increment beta version to 15.0.216 2022-03-17 14:03:41 -04:00
Marc Durdin
d63bd4edde chore(web): rebuild obolo_chwerty keyboard 2022-03-17 20:47:00 +11:00
Marc Durdin
e3537e7bb7 fix(web): crash on focus before init
Fixes the following crash noted when testing on keymanweb.com, focusing
during the load process on a slow network.

```
helpers.ts:111 Uncaught TypeError: Cannot read properties of null (reading 'vkbd')
    at g.pageFocusHandler (keymanweb.ts:125:44)
    at sentryWrapped (helpers.ts:87:17)
```
2022-03-17 15:50:52 +11:00
Darcy Wong
70ec9b7096 fix(web): Don't update base key if popups displayed 2022-03-17 10:58:48 +07:00
Marc Durdin
dde56e6b90 fix(web): adjust positioning for longpress popup
Adjusts positioning calculations for longpress popups and corresponding
styles to make it consistent across all platforms, particularly iOS.
2022-03-17 10:20:19 +11:00
Marc Durdin
86b4b82661 fix(web): key preview position was inconsistent on iOS
Adjusts calculations for key preview and ensures we use box-sizing:
content-box in all circumstances, to make it consistent across all
platforms.
2022-03-17 10:19:10 +11:00
Marc Durdin
24398b4461 fix(web): key square needed vertical align top
On Safari, some keys were vertically misaligned, due to different
default vertical-align.
2022-03-17 10:17:23 +11:00
Marc Durdin
a2aef99c3e fix(web): font size on key preview
Font size adjustment needed an override for the key preview to prevent
it using the base key font size as a starting point.
2022-03-17 10:15:40 +11:00
Keyman Build Agent
238388c191 auto: increment master version to 16.0.4 2022-03-16 14:33:05 -04:00
Keyman Build Agent
a595b63422 auto: increment beta version to 15.0.215 2022-03-16 14:30:41 -04:00
Marc Durdin
7a5d1b964f chore(web): Merge branch 'beta' into feat/web/6364-new-layer-old-layer-replaces-layerchanged 2022-03-17 04:55:25 +11:00
Marc Durdin
d3136b8860 fix(web): ios popup positioning and style
Fixes #5929.
Fixes #6381.

This fixes four separate issues with the longpress popups and key
previews:

1. The key preview was offset by a couple of pixels (unreported issue).
2. The background 'shim' did not cover the key caps, which caused them
   to look startlingly white when the rest of the background greyed
   down (#5929).
3. The popup menu was incorrectly wrapping to two rows due to sizing
   model mismatches (#6381).
4. The popup menu would be realigned incorrectly for the in-app
   keyboard, when moving it to keep it in the keyboard area (#5929).
2022-03-16 11:24:02 +11:00
Keyman Build Agent
ed5dd2f2bd auto: increment beta version to 15.0.214 2022-03-15 14:31:13 -04:00
Marc Durdin
1b1b622462 chore: merge master into branch 2022-03-15 14:58:03 +11:00
Marc Durdin
1038379c41
Merge pull request #6351 from keymanapp/fix/web/caps-state-tracking-for-touch
fix(web): caps state tracking for touch
2022-03-15 10:04:45 +11:00
Marc Durdin
4b15c4988e
Merge pull request #6340 from keymanapp/fix/web/5964-subkey-position-on-scroll-non-zero
fix(web): subkey touch position after scroll
2022-03-15 10:02:07 +11:00
Marc Durdin
45c5f8a1ea chore(web): remove 0 from store defaults 2022-03-13 08:31:15 +11:00
Marc Durdin
b23df3fbc8 feat(web): &newLayer and &oldLayer
Fixes #6364.

Removes `&layerChanged` and adds `&newLayer` and `&oldLayer` system
stores with the additional nuances around values as described in #6364.
2022-03-13 08:29:15 +11:00
Keyman Build Agent
7fe1997754 auto: increment beta version to 15.0.213 2022-03-11 13:02:26 -05:00
Keyman Build Agent
a64ead9287 auto: increment beta version to 15.0.212 2022-03-10 13:49:17 -05:00
Marc Durdin
ada527bd80 fix(web): bounding rect offset was incorrect
When embedding the On Screen Keyboard into a page, the calculation for
the bounding rectangle only took into account the first offsetParent,
which meant it would get the offset incorrect when there were multiple
layers of offsetParents.

Once I changed to using getAbsoluteX / getAbsoluteY, this also corrects
for scroll with window.pageOffsetY, so we can eliminate that special
case for fixed positioning.

This was observable in the Web Developer test window, where interaction
with the bottom row of the keyboard in touch mode was not working
correctly, in 15.0.210-beta.
2022-03-11 04:34:36 +11:00
Marc Durdin
455ce98dcc
Merge pull request #6353 from keymanapp/chore/common/cleanup-sh-color-globals
chore(common): cleanup sh global color variables
2022-03-10 19:39:28 +11:00
Marc Durdin
e1e82aacce fix(web): add test keyboards 2022-03-10 13:33:21 +11:00
Marc Durdin
f355722191 fix(web): back out caps lock and refix
The Caps Lock change I made in the previous commit broke
desktop Caps Lock handling. The fix was a little more
convoluted. Turns out that _UpdateVKShift is also pretty
crufty. I simplified it, removing dead code.
2022-03-10 13:31:06 +11:00
Keyman Build Agent
64abc2914b auto: increment beta version to 15.0.211 2022-03-09 19:26:21 -05:00
Marc Durdin
6e1e7e8e7e chore: additional scripts 2022-03-10 10:26:15 +11:00
Marc Durdin
9f153ecc17 chore(common): cleanup sh global color variables
Some of the global color variables in shellHelperFunctions.sh were a
little dangerously named. This cleans that up and removes a couple of
redundant functions from other locations.

mac/bashHelperFunctions.sh should be removed and replaced with
references to shellHelperFunctions.sh -- but I wanted to leave that for
a separate branch.
2022-03-10 10:12:09 +11:00
Keyman Build Agent
6852aaadb4 auto: increment beta version to 15.0.210 2022-03-08 16:43:31 -05:00
Marc Durdin
272c1f0d1c fix(web): subkey touch position after scroll
Fixes #5964.

It seems that the test for subkey position was incorrect when the
document had been scrolled. Removing the test for `fixed` positioning
resolves the issue.
2022-03-08 17:27:16 +11:00
Marc Durdin
f633174f9f fix(web): stop masking error
We are seeing this error thrown in some logs but it masks the underlying error.
2022-03-04 11:44:54 +11:00
Keyman Build Agent
0ccac84fbc auto: increment master version to 16.0.3 2022-03-03 13:02:25 -05:00
dependabot[bot]
fcf57a8074
chore(deps-dev): bump karma in /web/testing/regression-tests
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 09:07:01 +00:00
Keyman Build Agent
425c3ef72f auto: increment master version to 16.0.2 2022-03-02 04:05:12 -05:00
Keyman Build Agent
c4ca95e7a5 auto: increment master version to 15.0.206 2022-03-02 02:19:13 -05:00
Keyman Build Agent
db0753fa26 auto: increment beta version to 15.0.207 2022-03-02 01:45:00 -05:00
Marc Durdin
aeeffc3568
Merge pull request #6310 from keymanapp/fix/web/6072-stop-css-repeated-injection
fix(web): stop repeated CSS injection ✂
2022-03-02 12:50:16 +11:00
Marc Durdin
716d23d150
Merge pull request #6316 from keymanapp/fix/web/error-in-floating-osk-view-when-no-keyboard-active
fix(web): error in floating osk view when no keyboard active ✂
2022-03-02 11:40:27 +11:00
Marc Durdin
b5615e3a4b fix(web): error in floating osk view when no keyboard active
This fixes an issue that arises when loading the Keyman Developer Server
home page and there are registered keyboards, but no keyboards active.
The floating osk view would throw an exception because it would attempt
to set the title of the view from the active keyboard, which is `null`.
2022-03-02 08:46:10 +11:00
Marc Durdin
6734d824a5 fix(web): stop repeated CSS injection 2022-03-02 06:37:51 +11:00
Keyman Build Agent
7dbf3ee7e2 auto: increment master version to 15.0.205 2022-03-01 13:02:38 -05:00
Marc Durdin
e9baffb50e chore(android): Merge branch 'master' into feat/android/android-web-test-harness 2022-03-01 08:10:12 +11:00
Marc Durdin
6e9969b27c
Merge pull request #6272 from keymanapp/fix/web/5853-selection-not-working
fix(web): properly handle selection 🎢
2022-03-01 08:08:02 +11:00
Marc Durdin
79328eabab
Merge pull request #6249 from keymanapp/fix/web/5853-selection-is-damaged-by-newcontext-event
fix(web): add readonly mode for rule behavior finalization 🎢
2022-03-01 08:07:48 +11:00
Keyman Build Agent
7faf71d1a8 auto: increment master version to 15.0.204 2022-02-26 13:02:45 -05:00
Marc Durdin
7273028192 chore(web): add unit test for selection and matching rule 2022-02-25 15:06:11 +11:00
Marc Durdin
c331758ec1 chore: address review suggestions 2022-02-25 08:52:20 +11:00
Marc Durdin
b1ba2d24d7 chore: enable all test cases 2022-02-25 08:47:14 +11:00
Keyman Build Agent
40df30749c auto: increment master version to 15.0.203 2022-02-24 13:02:56 -05:00