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
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
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
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
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
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
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
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
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
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