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
7c8d753809
fix(web): console errors when using SHIFT w help-text 'osk'
2021-06-29 14:25:55 +07:00
Marc Durdin
b4840f96c4
fix(web): add spacebarText to OptionType
2021-06-29 06:07:11 +10: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
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
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
Darcy Wong
c8f7a4cdf4
fix(web): Use util.internalAlert() wrapper
2021-06-24 13:02:49 +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
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
Darcy Wong
8633c07516
chore(web): More cleanup
...
* Clarify TODO
* Consolidate addKeyboardsForLanguage() call in commonHeader.js
2021-06-17 10:53:58 +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
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
Darcy Wong
59f26a0e64
chore(web): Remove Error return type
2021-06-16 09:26:59 +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
jahorton
6c90a37a51
chore(web): adjustments for PR review comments
2021-06-16 08:21:39 +07:00
Joshua Horton
30b30cb3f8
Merge pull request #5280 from keymanapp/refactor/web/key-event-model
...
refactor(web): VisualKeyboard - key event model
2021-06-16 08:13:51 +07:00