Commit graph

264 commits

Author SHA1 Message Date
jahorton
4dc09ce9b9 refactor(web): partial font-size logic rework 2021-07-26 15:21:01 +07:00
jahorton
0992909831 chore(web): cleans up intermediate new prop 2021-07-26 15:21:00 +07:00
jahorton
59a5d6cba0 chore(web): restores method signature 2021-07-26 15:20:59 +07:00
jahorton
96854f4716 refactor(web): moves size control to OSKManager 2021-07-26 15:20:59 +07:00
jahorton
cfc81576f3 refactor(web): vkbd now uses setSize for touch, adds usesFixedScaling prop 2021-07-26 15:20:56 +07:00
jahorton
acecff3679 refactor(web): partial conversion for inner layout calcs 2021-07-26 15:20:09 +07:00
jahorton
2a3bfd51cb refactor(web): start of VisualKeyboard layout rework 2021-07-26 15:20:06 +07:00
jahorton
e90eb643f5 refactor(web): kmw-5rows class: key -> layer 2021-07-26 15:19:23 +07:00
jahorton
826ed88192 chore(web): Merge branch 'master' into refactor/web/vkbd-layout-encapsulation 2021-07-23 14:21:45 +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
5a1ece6a42 refactor(web): toggle-state key highlighting 2021-07-12 10:28:04 +07:00
jahorton
45ac1f0442 refactor(web): getSpecialKey -> findKey 2021-07-12 06:55:45 +07:00
jahorton
3f682ada64 refactor(web): findKeyElement 2021-07-09 12:32:30 +07:00
jahorton
b1f8dae483 fix(web): reversion of incomplete tweak; deferring 'til later 2021-07-09 10:47:07 +07:00
jahorton
9e6e37385c fix(web): crash on unrepresented layer shift b/c keystroke 2021-07-09 10:26:54 +07:00
jahorton
ea86056220 change(web): private access / docs for 'hacky' properties 2021-07-09 09:03:13 +07:00
jahorton
6480f36d02 refactor(web): adjust_Heights -> refreshLayout 2021-07-09 09:03:12 +07:00
jahorton
0beca3b260 refactor(web): cntd integration of new types 2021-07-09 09:02:37 +07:00
jahorton
a7eab12522 refactor(web): OSKLayerGroup 2021-07-09 09:02:37 +07:00
jahorton
235c752d04 refactor(web): OSKLayer 2021-07-09 09:02:36 +07:00
jahorton
66d7648ecf refactor(web): OSKRow 2021-07-09 09:02:36 +07:00
jahorton
07ad95e9a6 refactor(web): keys handle text-cap resizing 2021-07-09 09:02:36 +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