Commit graph

1939 commits

Author SHA1 Message Date
jahorton
63f24a05b8 chore(web): minor cleanup 2021-07-01 13:43:38 +07:00
jahorton
e560d55342 docs(web): tweak after last commit 2021-07-01 13:43:38 +07:00
jahorton
6150fcd7ea refactor(web): rename + separate file for mouse-event starting snapshot 2021-07-01 13:43:38 +07:00
jahorton
14070d663a refactor(web): moves OSK move, resize handlers to TargetedFloatLayout 2021-07-01 13:43:38 +07:00
jahorton
29e885612b refactor(web): central reference for desktop-only OSK elements 2021-07-01 13:41:34 +07:00
jahorton
7b61fee8c9 change(web): simplified name for new classes 2021-07-01 13:41:33 +07:00
jahorton
65b54b5989 fix(web): camel-case filenames, not Pascal-case 2021-07-01 13:41:32 +07:00
jahorton
78552fae25 refactor(web): osk resize bar -> own class 2021-07-01 13:41:32 +07:00
jahorton
8678b03409 refactor(web): desktop title bar -> own class 2021-07-01 13:41:31 +07:00
jahorton
b3f134a9e9 refactor(web): _TitleElement now field of OSKManager 2021-07-01 13:41:30 +07:00
jahorton
abbeff8faa chore(web): Merge branch 'master' into refactor/web/osk-centralized-gestures 2021-07-01 13:40:11 +07:00
Darcy Wong
2215452d20 chore(web): Rename to mergeAndResolveStubPromises 2021-07-01 10:11:56 +07:00
Darcy Wong
cbfc9b9f6b
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-07-01 09:53:35 +07:00
jahorton
8d0364016f fix(web): missed a '!' for in-browser base key reselection 2021-07-01 08:11:43 +07:00
Darcy Wong
1a791bb5f7 fix(web): Fix handling of addKeyboards args 2021-06-30 14:36:17 +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
Darcy Wong
53b21d877a chore(web): Add keyboard ID to error message 2021-06-30 11:17:12 +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
Darcy Wong
144125080b feat(web): Handle deferment of adding keyboards 2021-06-30 10:26:19 +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
Darcy Wong
c68251bd23 fix(web): Fix adding single language element 2021-06-30 08:54:22 +07:00
Darcy Wong
da7a5b0f2e chore(web): Minor cleanup 2021-06-30 08:37:00 +07:00
Darcy Wong
55bcdc5429 fix(web): Refactor merge of stubs 2021-06-29 16:50:10 +07:00
jahorton
7c8d753809 fix(web): console errors when using SHIFT w help-text 'osk' 2021-06-29 14:25:55 +07:00
Darcy Wong
f706540165 feat(web): Fix handling of keyboardStubs and errorStubs 2021-06-29 13:28:31 +07:00
Darcy Wong
2622171456 feat(web): Update registerDeferredStubs to return a Promise 2021-06-29 10:32:03 +07:00
Darcy Wong
f5e7343d35 chore(web): Handle args in kmwbase 2021-06-29 08:51:57 +07:00
jahorton
74dc8ad115 docs(web): reason for SubkeyDelegator nomenclature 2021-06-29 07:48:34 +07:00
Marc Durdin
b4840f96c4 fix(web): add spacebarText to OptionType 2021-06-29 06:07:11 +10:00
Darcy Wong
1d6ed84155 feat(web): Start updating addKeyboards to return Promise 2021-06-28 23:39:15 +07: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
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