Commit graph

250 commits

Author SHA1 Message Date
Darcy Wong
457311b6cb fix(web): Blank spacebar text when displayName is empty string 2021-08-05 13:09:58 +07:00
Joshua Horton
a162253629
Merge pull request #5490 from keymanapp/fix/web/stuck-key-highlighting
fix(web): stuck key highlighting from touchpoint movement
2021-08-02 09:04:45 +07:00
Joshua Horton
a6c3e0a5fa
Merge pull request #5456 from keymanapp/fix/web/state-key-management
fix(common/core/web): OSK state-key management
2021-07-27 11:23:56 +07:00
jahorton
b55c87669e fix(web): stuck key highlighting from touchpoint movement 2021-07-27 08:06:33 +07:00
jahorton
bc4e61b4bd chore(web): Merge branch 'refactor/web/osk-keyboard-view' into refactor/web/osk-cleanup-and-init 2021-07-23 11:51:12 +07:00
Joshua Horton
7ab46a4eab
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-07-23 10:38:01 +07:00
jahorton
b723d8c51b chore(web): Merge branch 'refactor/web/osk-keyboard-view' into refactor/web/osk-cleanup-and-init 2021-07-21 09:13:27 +07:00
jahorton
c3717a1813 chore(web): Merge branch 'master' into refactor/web/osk-keyboard-view 2021-07-19 15:37:11 +07:00
jahorton
379687b974 fix(web): uninitialized layer index before OSK load 2021-07-12 05:27:44 +07:00
jahorton
d234f8332a fix(common/core/web): state-key toggle as part of key event 2021-07-09 15:24:11 +07:00
jahorton
b3c70bf724 fix(web): state key management 2021-07-09 14:59:33 +07:00
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
51910136c7 chore(web): mild osk code cleanup 2021-07-07 11:45:24 +07:00
jahorton
19edcc660d refactor(web): abstraction for root keyboard-specific OSK element 2021-07-06 16:09:49 +07:00
jahorton
06414b2243 refactor(web): no param VisualKeyboard.show, simple param adjustHeights 2021-07-06 12:08:31 +07:00
jahorton
304e33093a chore(web): Merge branch 'master' into refactor/web/osk-centralized-gestures 2021-07-02 09:14:56 +07:00
jahorton
4f3e37bbb2 chore(web): removes dev-artifact comment 2021-06-30 12:17:52 +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
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
jahorton
aab0eb94e2 refactor(web): initGestures, updateGestures 2021-06-24 12:54:10 +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
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
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
jahorton
1f0b6f344f fix(web): adjustments per PR review comments 2021-06-22 13:21:49 +07:00
jahorton
dc4532ecb3 fix(web): base key rehighlighting during subkey event when embedded 2021-06-17 12:13:02 +07:00
jahorton
8794f7d018 change(web): allows passive cancel for subkey promises 2021-06-17 09:37:34 +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
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
jahorton
4c5500d026 refactor(web): osk key highlighting 2021-06-16 09:20:43 +07:00
jahorton
92a17542ab refactor(web): special char defn site; used only by keys 2021-06-16 08:47:40 +07:00
jahorton
0566f435d9 refactor(web): osk key class defs -> separate files 2021-06-16 08:39:53 +07:00
jahorton
3de1686cd0 chore(web): Merge branch 'refactor/web/keytip-abstraction' into refactor/web/subkey-popup-encapsulation 2021-06-16 08:22:47 +07:00
jahorton
95ce38ee16 chore(web): Merge branch 'master' into refactor/web/keytip-abstraction 2021-06-16 08:22:06 +07:00