Commit graph

4628 commits

Author SHA1 Message Date
Marc Durdin
b4840f96c4 fix(web): add spacebarText to OptionType 2021-06-29 06:07:11 +10:00
Keyman Build Agent
d2b6a00ef2 auto: increment master version to 15.0.77 2021-06-28 14:02:56 -04:00
Darcy Wong
1d6ed84155 feat(web): Start updating addKeyboards to return Promise 2021-06-28 23:39:15 +07:00
Darcy Wong
ec9e6aaef8
Update web/source/kmwbase.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2021-06-28 14:29:39 +07:00
Marc Durdin
e56f377d69
Merge branch 'master' into feat/web/949-spacebar-text-controls 2021-06-28 16:01:26 +10:00
Darcy Wong
6b063f20ef chore(web): Merge remote-tracking branch 'origin/master' into feat/web/error-stubs 2021-06-28 09:10:53 +07:00
Marc Durdin
8c3f20c316 chore(web): add spacebarText manual tests 2021-06-28 10:32:26 +10:00
Marc Durdin
5fe40f70a5 fix(web): allow addKeyboards to set displayName
While `registerStub` supported `displayName`, `mergeStub`, as used by
`addKeyboards`, also needs to support it.
2021-06-28 10:31:27 +10:00
Keyman Build Agent
ca69eae011 auto: increment master version to 15.0.76 2021-06-25 14:02:29 -04:00
Darcy Wong
fc514cc0f0 chore(web): Merge remote-tracking branch 'origin/master' into feat/web/error-stubs 2021-06-25 14:45:39 +07:00
Darcy Wong
026bf9db2e
Merge pull request #5302 from keymanapp/feat/web/alert-option
feat(web): Add option useAlerts to control alerts()
2021-06-25 14:29:54 +07:00
Darcy Wong
1ba05a429a
Merge pull request #5260 from keymanapp/feat/web/promise-api
feat(web): Update addLanguageKeyboards to return a Promise
2021-06-25 14:29:26 +07:00
Darcy Wong
972d6920b4 chore(web): Update languageListPromise type 2021-06-25 12:38:19 +07:00
Darcy Wong
37c42e7dee chore(web): Merge branch 'feat/web/alert-option' into feat/web/error-stubs 2021-06-25 09:24:19 +07:00
Darcy Wong
b843a24f9a chore(web): Address additional review comments
* Add more description on promise-api/index.html
* Use OptionType
2021-06-25 09:15:13 +07:00
Darcy Wong
c14443d798 chore(web): Cleanup console logging 2021-06-25 08:45:00 +07:00
Marc Durdin
073ca98e2e feat(ios): add spacebar text controls
Relates to #949.

Mirror of #5349 (Android), for iOS.

* Adds setSpacebarText() API to Keyman Engine for iOS
* Adds displayName API to Keyman Engine for iOS
* Adds Preference for spacebar text to Keyman Engine for iOS
* Sets default spacebar text to keyboard name for FirstVoices Keyboards
2021-06-25 11:44:09 +10:00
Keyman Build Agent
173bd5c008 auto: increment master version to 15.0.75 2021-06-24 14:02:05 -04:00
jahorton
3f793a0b85 docs(web): another doc tweak 2021-06-24 14:42:48 +07:00
jahorton
975e2343f1 docs(web): fixes up refactored docs 2021-06-24 14:40:50 +07:00
Darcy Wong
c8f7a4cdf4 fix(web): Use util.internalAlert() wrapper 2021-06-24 13:02:49 +07:00
jahorton
625b5fd8c8 fix(web): output base key if subkey touch returns to it (in-browser) 2021-06-24 12:54:10 +07:00
jahorton
aab0eb94e2 refactor(web): initGestures, updateGestures 2021-06-24 12:54:10 +07:00
jahorton
3d615239a7 fix(web): prevent error when attempting to reselect base key (embedded) 2021-06-24 12:54:09 +07:00
jahorton
5067337429 fix(web): selection of base key after subkey display (embedded) 2021-06-24 12:52:30 +07:00
jahorton
8f9493d7ab refactor(web): removes unused vars in executePopupKey 2021-06-24 12:34:44 +07:00
jahorton
0607178d25 fix(web): subkeys were being auto-cleared by mistake 2021-06-24 12:34:43 +07:00
jahorton
60081b7c4a refactor(web): initial mutual abstraction for pending longpresses 2021-06-24 12:34:43 +07:00
jahorton
d5e5635242 refactor(web): merged subkey highlighting control 2021-06-24 12:34:43 +07:00
jahorton
0d109b12b0 refactor(web): 'easy' part of abstracted RealizedGesture for subkeys 2021-06-24 12:34:43 +07:00
jahorton
c374820263 refactor(web): in-browser subkey tracking managed by SubkeyPopup 2021-06-24 12:34:43 +07:00
jahorton
3a98204919 fix(web): pending-longpress field management 2021-06-24 12:33:42 +07:00
jahorton
2015ef7927 chore(web): mild formatting tweak 2021-06-24 12:33:42 +07:00
jahorton
36536f89bc refactor(web): browser subkey control flow abstraction prep 2021-06-24 12:33:42 +07:00
jahorton
0359a68c15 fix(web): prevent error when attempting to reselect base key (embedded) 2021-06-24 12:32:22 +07:00
jahorton
39ec2cbb2e change(web): embedded longpress tracks source vkbd 2021-06-24 12:12:28 +07:00
jahorton
d99203545b refactor(web): encapsulates embedded popup-key lookup ops 2021-06-24 12:12:28 +07:00
jahorton
125a2ec0d0 refactor(web): two-stages embedded longpress/subkey 2021-06-24 12:12:28 +07:00
jahorton
d4d9808727 refactor(web): in-browser subkey tracking managed by SubkeyPopup 2021-06-24 12:12:08 +07:00
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