Commit graph

4628 commits

Author SHA1 Message Date
Joshua A. Horton
8061c49f74 chore(web): Merge branch 'master' into feat/web/gesture-recognizer-main 2022-08-16 10:20:41 +07:00
Joshua Horton
be77d55430
Merge pull request #7036 from keymanapp/fix/web/ui-module-test-stability
fix(web): button, float init timer cleanup
2022-08-16 09:56:23 +07:00
Joshua Horton
760a20e97f
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-16 08:13:01 +07:00
Joshua A. Horton
a7fe8be3f4 chore(web): cleans up UI init timer handling 2022-08-12 08:12:55 +07:00
Joshua A. Horton
fd713e0363 fix(web): late toolbar init 2022-08-05 13:31:05 +07:00
Joshua Horton
65770747a3
Merge pull request #6979 from keymanapp/fix/web/mobile-screen-dim-detection
change(web): updates mobile screen dimension detection code ⬅️
2022-08-05 08:37:35 +07:00
Joshua Horton
4c468429b3
Merge pull request #6787 from keymanapp/change/web/no-reloads-on-rotation
change(web): rotation polish - OSK reload no longer needed ⬅️
2022-08-05 08:37:27 +07:00
Joshua A. Horton
e8caeda643 fix(web): button, float init timer cleanup 2022-08-04 11:43:14 +07:00
Joshua A. Horton
12d894a8ba docs(web): addresses PR review doc requests 2022-08-04 09:24:29 +07:00
Joshua A. Horton
0b6c0079bc fix(web): forgot to pass --ci flag 2022-08-03 09:38:33 +07:00
Joshua A. Horton
23be4f2bac chore(web): missed a test.sh tweak post-merges 2022-08-03 09:14:20 +07:00
Joshua A. Horton
be715e6e57 chore(web): Merge branch 'feat/web/gesture-recognizer-main' into feat/web/recognizer-input-unit-testing-2 2022-08-03 08:21:33 +07:00
Joshua A. Horton
5d0ad62842 chore(web): Merge branch 'master' into feat/web/gesture-recognizer-main 2022-08-03 08:19:13 +07:00
jahorton
4d14bc6998 fix(web): fixes previously-unstable unit test 2022-08-02 16:10:04 +07:00
jahorton
8fab028632 chore(web): minor unit test issue review, tweak 2022-08-02 15:47:28 +07:00
jahorton
967e36e405 chore(web): cleaner promise flow for other tests 2022-08-02 15:42:51 +07:00
jahorton
d2a92494a5 fix(web): Promise logic for keyboard-loading tests 2022-08-02 15:36:34 +07:00
Joshua A. Horton
8f4198501d refactor(web): converts test_utils funcs to Promise use 2022-08-02 11:08:46 +07:00
Joshua A. Horton
bac2578039 chore(web): addresses PR review comment 2022-08-02 08:10:01 +07:00
Joshua A. Horton
205312c451 chore(web): timeout-adapter implementation 2022-08-01 13:06:15 +07:00
Joshua A. Horton
5a7840753f chore(web): centralizes test-start timeout config logic 2022-08-01 11:39:14 +07:00
Joshua A. Horton
405a553c06 chore(web): requireable module for common CI test-config 2022-08-01 10:54:57 +07:00
Joshua A. Horton
98c2f86c56 chore(web): Merge branch 'feat/web/recognizer-input-unit-testing' into feat/web/recognizer-input-unit-testing-2 2022-07-29 12:20:40 +07:00
Joshua Horton
1b4ad74aed
Merge pull request #6914 from keymanapp/feat/web/recognizer-multipoint-tracking
feat(web): start of support for multi-touchpoint tracking 🐵
2022-07-29 11:15:22 +07:00
Joshua A. Horton
59ade4e8f7 chore(web): Merge branch 'master' into feat/web/gesture-recognizer-main 2022-07-29 09:16:37 +07:00
Joshua A. Horton
4dcfc34fbf chore(web): Merge branch 'feat/web/recognizer-input-unit-testing' into feat/web/recognizer-input-unit-testing-2 2022-07-27 09:51:39 +07:00
Joshua A. Horton
a12746d2f8 fix(web): updates testing host-page 2022-07-27 09:32:17 +07:00
Marc Durdin
ab54c0ecb9 chore(common): more bin bashes 2022-07-25 16:03:22 +10:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Marc Durdin
93a03acb9f chore(common): builder script :target and --option support
Adds support for :target and --option to the builder_() functions in
build-utils.sh, along with a consistent way of describing command line
parameters in short-hand form, so we can avoid the display_usage getting
out of sync with actual command line parameters.

I opted to tweak the existing usage slightly, reversing parameter order
for `builder_report`, so that we could extend `builder_report` cleanly
to support targets.

The new builder_() functions are `builder_describe` and `builder_parse`,
which should be used in place for `builder_init` where you want to
provide more detailed command-line options (for many scripts, the
defaults provided through `builder_init` may suffice).

`builder_describe` lets you set a single-line description of the script,
along with a list of parameters: `actions`, `:targets` and `--options`.
Options may also specify a shorthand form, e.g. `--option,-o`. Each
parameter may optionally include a short description, separated by
space(s) from the parameter name.

build-utils.test.sh tests the functionality of the various functions,
and provides some examples of using them.

Defaults:
* If a target is not specified in `builder_describe`, a standard target
  of `:project` will be available.
* If the user does not pass an action on the command line, then `build`
  will be used.
* If the user does not pass a target on the command line, all targets
  will have the actions applied.

Note, it is possible to have targets which do not use all actions. These
may be still be specified, but can be ignored. For example, `test:tools`
may not be an action:target that you handle in the script. At this time,
the builder_() functions do not attempt to check for this.
2022-07-25 14:31:58 +10:00
Joshua A. Horton
93ae6878db change(web): updates mobile screen-dim detection code 2022-07-21 15:12:20 +07:00
Joshua A. Horton
101b5489c7 change(web): class-name -color => -legend 2022-07-20 13:34:27 +07:00
Joshua A. Horton
f67d51bccf feat(web): links gesture-recognizer unit test for CI 2022-07-19 10:45:05 +07:00
Joshua Horton
b8fd5eea31
Merge pull request #6902 from keymanapp/fix/web/block-set-layer-on-desktop
fix(web): layer-setting ops should not trigger for hardware keystroke processing 🖇️
2022-07-15 11:07:19 +07:00
Joshua A. Horton
0ddb6be8db change(web): minor logging-related tweaks 2022-07-14 15:37:05 +07:00
Joshua A. Horton
dedcc2880d feat(web): InputSequence JSON round-tripping 2022-07-14 15:37:01 +07:00
Joshua A. Horton
2e75b0b35e refactor(web): retooled input sequence event infrastructure 2022-07-14 15:36:54 +07:00
Joshua A. Horton
1e231d1a6f feat(web): start of multi-touchpoint tracking 2022-07-14 15:36:25 +07:00
Joshua A. Horton
a5349f99b9 feat(web): host page safe-zone options 2022-07-14 10:16:55 +07:00
Joshua A. Horton
68869aa5c3 feat(web): host page now directly sets padded safe zone 2022-07-14 09:59:54 +07:00
Joshua A. Horton
5476c7b1c3 chore(web): applies PR suggestion (manually) 2022-07-14 08:42:04 +07:00
Joshua A. Horton
53578a114f change(web): relocates pageFocusHandler def'n 2022-07-13 08:22:48 +07:00
Joshua A. Horton
c5832cf203 chore(web): Merge branch 'feat/web/gesture-recognizer-bounds' into feat/web/gesture-recognizer-rigging 2022-07-12 12:33:31 +07:00
Joshua A. Horton
7db9743d8f chore(web): addresses PR concerns 2022-07-12 12:05:43 +07:00
Joshua A. Horton
4ba11ced92 chore(web): Merge branch 'master' into feat/web/gesture-recognizer-base 2022-07-12 11:48:26 +07:00
Joshua A. Horton
7342f7f9e6 fix(web): applies PR suggestions 2022-07-12 11:01:14 +07:00
Joshua A. Horton
445be0bd86 fix(web): less fragile page styling 2022-07-11 15:27:23 +07:00
Joshua A. Horton
c516762fc7 feat(web): basic recognizer logging 2022-07-11 14:15:08 +07:00
Joshua A. Horton
f19b575152 fix(web): build.sh mkdir: -p 2022-07-11 13:07:52 +07:00
Joshua A. Horton
ba7dd2f104 feat(web): visible safe-proximity, looser safe-zones 2022-07-11 13:07:45 +07:00