Commit graph

4939 commits

Author SHA1 Message Date
jahorton
50ee62a7e0 change(web): subkey lookup through base key 2021-06-24 12:03:27 +07:00
jahorton
2d06c65412 refactor(web): simplifies embedded executePopupKey 2021-06-24 12:03:26 +07:00
jahorton
56ac223e08 chore(web): Merge branch 'master' into refactor/web/osk-subkey-promises 2021-06-24 12:01:55 +07:00
Darcy Wong
e5e1ccff4e fix(web): Simplify initialization of options 2021-06-24 11:50:03 +07:00
Darcy Wong
36acc16927 fix(web): Check useAlerts on internal calls 2021-06-24 11:42:02 +07:00
Darcy Wong
63e01e8d0b chore(web): Cleanup keymanCloudRequest type 2021-06-24 10:39:11 +07:00
Darcy Wong
fce08819e2 fix(web): Revert previous commit 2021-06-24 10:29:20 +07:00
Darcy Wong
4efad83853 fix(web): Filter test page for KeyboardStub 2021-06-24 10:26:21 +07:00
Darcy Wong
246e0cd250 fix(web): Clean up Error returns 2021-06-24 10:07:00 +07:00
Marc Durdin
38fc826fbf feat(web): spacebar text controls
Relates to #949.

* Adds optional `displayName` property to keyboard stubs: if present,
  this will override the name on the spacebar.

* Adds optional `spacebarText` member to `keyman.options`. This defaults
  to `SpacebarText.LANGUAGE_KEYBOARD`, and can be one of:

  ```
  SpacebarText.LANGUAGE
  SpacebarText.KEYBOARD
  SpacebarText.LANGUAGE_KEYBOARD
  SpacebarText.BLANK
  ```

* Sets the display pattern for LANGUAGE_KEYBOARD to be
  "language - keyboard" instead of "language (keyboard)", which
  reduces the number of parentheses visible on the spacebar.
2021-06-24 08:44:23 +10:00
Keyman Build Agent
34f783cc14 auto: increment master version to 15.0.74 2021-06-23 14:02:01 -04:00
Darcy Wong
f46d06907a fix(web): Update ErrorStub type 2021-06-23 21:32:17 +07:00
Darcy Wong
359eabec2f feat(web): Merge keyboard stub with error stub 2021-06-23 16:19:37 +07:00
Darcy Wong
b68ed7f874 fix(web): revert assigning default attachType 2021-06-23 13:58:48 +07:00
Darcy Wong
9c4170bba6 fix(web): Handle blank attachType 2021-06-23 12:43:34 +07:00
Keyman Build Agent
c890e32b36 auto: increment master version to 15.0.73 2021-06-22 14:02:28 -04:00
jahorton
56287dc688 chore(web): Merge branch 'master' into refactor/web/osk-subkey-promises 2021-06-22 14:05:28 +07:00
Joshua Horton
260446a3e4
Merge pull request #5292 from keymanapp/refactor/web/osk-key-highlighting
refactor(web): osk key highlighting/preview behavior
2021-06-22 13:58:47 +07:00
Joshua Horton
05c319ebf4
Merge pull request #5291 from keymanapp/refactor/web/osk-keys
refactor(web): OSK key source-code reorganization
2021-06-22 13:58:39 +07:00
jahorton
1f0b6f344f fix(web): adjustments per PR review comments 2021-06-22 13:21:49 +07:00
Marc Durdin
4af39a58b0 docs: start consolidation of build config docs
As the build environment documentation is duplicated across each of the
Keyman platform projects, it has become somewhat convoluted and
inconsistent. This PR moves all the mac-based and shared documentation
into docs/build, with placeholders for Windows and Linux documentation
to be moved in the next PR.

The idea is that a developer can configure their box to build any of the
available projects for that platform (web and android build on all three
main dev platforms).

Keeping the build documentation in one place makes it much simpler to
keep it consistent and up-to-date as well, as well as keeping us aware
of potential dependency conflicts between projects.

The icing on the cake is the resources/devbox/macos/macos.sh script,
which I have tested and takes a bare metal mac box through to a full
Keyman development environment (except XCode, there's always something!)
2021-06-21 21:12:27 +10:00
Darcy Wong
ccc2ecaddb fix(web): Set optional properties in OptionType 2021-06-20 09:05:48 +07:00
Darcy Wong
473b0b44be fix(web): And attachType assignment 2021-06-19 07:44:55 +07:00
Darcy Wong
e7d35a798d fix(web): Fix attachType enumeration 2021-06-19 07:43:47 +07:00
Darcy Wong
221f50ac0d
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-19 07:24:55 +07:00
Keyman Build Agent
ef6ee0c7a9 auto: increment master version to 15.0.72 2021-06-18 14:01:49 -04:00
Darcy Wong
863e497d05 fix(web): Fix getUrlParameters() return 2021-06-18 21:21:17 +07:00
Darcy Wong
1ef4b4d238 fix(web): Use URLSearchParams
For handling promise-api test page parameters
2021-06-18 15:47:25 +07:00
Darcy Wong
9bbd8035e0 fix(web): Start addressing review comments 2021-06-18 15:26:54 +07:00
Darcy Wong
d1b76684a2
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-18 14:51:37 +07:00
Keyman Build Agent
8eebb30193 auto: increment master version to 15.0.71 2021-06-17 14:01:33 -04:00
jahorton
7d69972cb4 fix(web): highlighting shouldn't flicker 2021-06-17 14:34:43 +07:00
Darcy Wong
d762c80125 chore(web): Adjust call in languageUnavailable 2021-06-17 13:08:44 +07:00
Darcy Wong
b2636603d8 feat(web): Add option useAlerts to control alerts() 2021-06-17 13:03:56 +07:00
jahorton
dc4532ecb3 fix(web): base key rehighlighting during subkey event when embedded 2021-06-17 12:13:02 +07:00
Darcy Wong
e0c2cca919 test(web): Make separate test page for Promise API 2021-06-17 11:16:38 +07:00
Darcy Wong
8633c07516 chore(web): More cleanup
* Clarify TODO
* Consolidate addKeyboardsForLanguage() call in commonHeader.js
2021-06-17 10:53:58 +07:00
jahorton
8794f7d018 change(web): allows passive cancel for subkey promises 2021-06-17 09:37:34 +07:00
Darcy Wong
d599a406f3
Apply suggestions from code review
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2021-06-17 08:58:08 +07:00
Joshua Horton
b864c289bf
Merge pull request #5290 from keymanapp/fix/web/touch-move-cancellation
fix(web): touch-move cancellation
2021-06-17 08:33:31 +07:00
Keyman Build Agent
493b67a367 auto: increment master version to 15.0.70 2021-06-16 14:02:13 -04:00
Darcy Wong
d7d5ad085d chore(web): Update preamble 2021-06-16 21:44:02 +07:00
Darcy Wong
e81a7c1611 fix(web): Fix return of nested promises 2021-06-16 17:57:17 +07:00
jahorton
7c08d9b660 fix(web): forgotten null guard 2021-06-16 16:13:28 +07:00
jahorton
a8e051b6f4 refactor(web): wraps embedded subkey selection with Promise 2021-06-16 15:17:17 +07:00
jahorton
e347c423bf refactor(web): wraps in-browser subkey selection with Promise 2021-06-16 15:17:06 +07:00
jahorton
b604a1c5b0 docs(web): comment tweak 2021-06-16 10:28:17 +07:00
jahorton
f80ab02888 fix(web): touch-move cancellation 2021-06-16 10:22:09 +07:00
Darcy Wong
59f26a0e64 chore(web): Remove Error return type 2021-06-16 09:26:59 +07:00
jahorton
4c5500d026 refactor(web): osk key highlighting 2021-06-16 09:20:43 +07:00