Commit graph

161 commits

Author SHA1 Message Date
Marc Durdin
066c03975f
Merge pull request #5919 from keymanapp/fix/web/5313-scrolling-anchor-reset-on-touchend
fix(web): reset scroll anchor on touchend
2021-11-24 07:10:47 +11:00
Marc Durdin
c2c7e00e94 fix(web): reset scroll anchor on touchend
Fixes #5313.
2021-11-17 10:37:01 +11:00
Marc Durdin
a7c050d71b fix(web): resolve unhandled exception in promise
Fixes #5353.

I made the promise usage consistent in the relevant addKeyboards
functions, instead of mixing promise and async/await style code, which
made it easier to spot the place(s) where promises had not been returned
as we needed.
2021-11-14 15:43:43 +11:00
Marc Durdin
afab4a2b56 chore(web): fixup name of oldtestvariable.js 2021-09-27 10:43:58 +10:00
Marc Durdin
1fe0cc050a chore(web): use debug versions of keyboard 2021-09-27 10:43:18 +10:00
Marc Durdin
670f20a5f7 chore(web): add baseline old version keyboard
Adds oldtestvariable.js to demonstrate old, broken behaviour with
predictive text and variable stores.
2021-09-27 10:32:53 +10:00
Marc Durdin
920861e7bb chore(web): unit tests for fat finger and variable store 2021-09-27 10:17:12 +10:00
Joshua Horton
5748c472c1
Merge pull request #5728 from keymanapp/chore/web/inline-osk-test-page
chore(web): inline osk test page 🧵
2021-09-23 10:57:04 +07:00
Marc Durdin
e8cb33d75e
Update web/testing/inline-osk/index.html
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2021-09-22 10:53:04 +10:00
Marc Durdin
5162a028cc chore(web): inline osk test page
Adds a page to experiment with the inline osk.
2021-09-21 07:30:15 +10:00
Darcy Wong
b28b9d7adc
Merge pull request #5699 from keymanapp/fix/common/remove-empty-row
fix(common/core/web): Remove empty rows in OSK
2021-09-16 14:09:03 +07:00
Darcy Wong
7c73840e58 fix(common/core/web): Revert check for length 0 2021-09-16 09:29:52 +07:00
Darcy Wong
7acd0b4ed5 fix(common/core/web): Remove empty rows in OSK 2021-09-15 14:20:52 +07:00
jahorton
e1da0014c3 refactor(web): start of OSKView abstraction 2021-08-23 10:01:06 +07:00
Darcy Wong
457311b6cb fix(web): Blank spacebar text when displayName is empty string 2021-08-05 13:09:58 +07:00
Darcy Wong
85000ef5df fix(web): Have util.wait check useAlerts option 2021-08-03 10:33:16 +07:00
Darcy Wong
5d1a652314 Merge remote-tracking branch 'origin/master' into feat/web/add-keyboard-promise 2021-07-23 13:12:40 +07:00
jahorton
5e33cb9135 chore(web): test page tweaks (fewer keyboards on non-toolbar UI) 2021-07-21 15:46:00 +07:00
jahorton
81409ba4ee docs(web): removes invalid description text from new variants 2021-07-21 09:26:39 +07:00
jahorton
fcba74c263 chore(web): fixes page text 2021-07-21 09:25:38 +07:00
jahorton
4c4845ae7e feat(web): ui-module test pages 2021-07-21 09:24:26 +07:00
Darcy Wong
e01f6bf201 fix(web): Add wrapper to convert one-to-many keyboard stubs 2021-07-09 16:16:41 +07:00
Darcy Wong
794ee4bb30 chore(web): Merge remote-tracking branch 'origin/master' into feat/web/add-keyboard-promise 2021-07-09 08:57:04 +07:00
Darcy Wong
082ed9bd9c chore(web): Add button to test keyboard stub
* Per review comment, have separate button to add keyboard  involving keyboard stub with languages Object and no filename.
2021-07-07 10:45:53 +07:00
jahorton
bb6db21e4a chore(web): updates regression test-deps to same versions as web 2021-07-02 15:42:40 +07:00
Darcy Wong
6af2831c23 chore(web): Merge branch 'master' into feat/web/add-keyboard-promise 2021-07-02 09:04:58 +07:00
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
Darcy Wong
be24e04002 chore(web): Test single language object 2021-06-30 10:28:22 +07:00
Darcy Wong
144125080b feat(web): Handle deferment of adding keyboards 2021-06-30 10:26:19 +07:00
Darcy Wong
f706540165 feat(web): Fix handling of keyboardStubs and errorStubs 2021-06-29 13:28:31 +07:00
Darcy Wong
1d6ed84155 feat(web): Start updating addKeyboards to return Promise 2021-06-28 23:39:15 +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
8c3f20c316 chore(web): add spacebarText manual tests 2021-06-28 10:32:26 +10: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
e5e1ccff4e fix(web): Simplify initialization of options 2021-06-24 11:50:03 +07:00
Darcy Wong
fce08819e2 fix(web): Revert previous commit 2021-06-24 10:29:20 +07:00
Darcy Wong
4efad83853 fix(web): Filter test page for KeyboardStub 2021-06-24 10:26:21 +07: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
ccc2ecaddb fix(web): Set optional properties in OptionType 2021-06-20 09:05:48 +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
863e497d05 fix(web): Fix getUrlParameters() return 2021-06-18 21:21:17 +07:00
Darcy Wong
1ef4b4d238 fix(web): Use URLSearchParams
For handling promise-api test page parameters
2021-06-18 15:47:25 +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
Darcy Wong
b2636603d8 feat(web): Add option useAlerts to control alerts() 2021-06-17 13:03:56 +07:00
Darcy Wong
e0c2cca919 test(web): Make separate test page for Promise API 2021-06-17 11:16:38 +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
e81a7c1611 fix(web): Fix return of nested promises 2021-06-16 17:57:17 +07:00