Commit graph

437 commits

Author SHA1 Message Date
Joshua Horton
75e47c1ccc
Merge pull request #5387 from keymanapp/refactor/web/osk-centralized-gestures
refactor(web): longpresses, groundwork for additional gestures 🍕
2021-07-08 08:18:05 +07:00
jahorton
43d5181092 change(web): more consistent base-key longpress release 2021-07-06 14:27:37 +07:00
jahorton
fefffc80fd fix(web): more consistent clear on base key highlights 2021-07-06 14:14:14 +07:00
Marc Durdin
aee34f7987
Merge pull request #5365 from keymanapp/feat/ios/949-spacebar-text-controls
feat(ios): add spacebar text controls
2021-07-02 14:30:31 +10:00
jahorton
c731f28fe0 docs(web): suggested tweaks from review 2021-07-02 09:37:30 +07:00
jahorton
543812c0d7 fix(web): missing 'bind' for in-browser resolve 2021-07-02 09:25:29 +07:00
jahorton
304e33093a chore(web): Merge branch 'master' into refactor/web/osk-centralized-gestures 2021-07-02 09:14:56 +07:00
jahorton
b775618937 fix(web): embedded ios stuck base key highlights 2021-07-02 09:09:58 +07:00
Marc Durdin
55c2192171
Merge pull request #5348 from keymanapp/feat/web/949-spacebar-text-controls
feat(web): spacebar text controls
2021-07-02 08:17:59 +10:00
jahorton
abbeff8faa chore(web): Merge branch 'master' into refactor/web/osk-centralized-gestures 2021-07-01 13:40:11 +07:00
jahorton
8d0364016f fix(web): missed a '!' for in-browser base key reselection 2021-07-01 08:11:43 +07:00
jahorton
8aa9f49fd9 change(web): failed subkey lookup - bye bye, catch & try 2021-06-30 13:02:43 +07:00
jahorton
363811ebda fix(web): embedded subkey cancellation 2021-06-30 12:35:54 +07:00
jahorton
4f3e37bbb2 chore(web): removes dev-artifact comment 2021-06-30 12:17:52 +07:00
jahorton
c6a5961421 feat(web): adds error log to SubkeyPopup.updateTouch 2021-06-30 12:16:15 +07:00
jahorton
cafe421e98 docs(web): gesture subclasses 2021-06-30 12:09:19 +07:00
jahorton
052711da62 docs(web): for PendingGesture, RealizedGesture 2021-06-30 11:10:09 +07:00
jahorton
a8e82e5bea chore(web): more changes from PR review 2021-06-30 11:09:32 +07:00
Joshua Horton
e0cf57d508
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-30 10:11:46 +07:00
jahorton
7c8d753809 fix(web): console errors when using SHIFT w help-text 'osk' 2021-06-29 14:25:55 +07:00
jahorton
74dc8ad115 docs(web): reason for SubkeyDelegator nomenclature 2021-06-29 07:48:34 +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
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
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
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
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
2d06c65412 refactor(web): simplifies embedded executePopupKey 2021-06-24 12:03:26 +07:00
Darcy Wong
36acc16927 fix(web): Check useAlerts on internal calls 2021-06-24 11:42:02 +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
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