Commit graph

4628 commits

Author SHA1 Message Date
Joshua A. Horton
d4464b92e5 fix(web): fixes fat-finger distrib when subkey selected 2022-04-26 10:10:21 -05:00
Joshua Horton
95c7cc2675
chore(web): applies code suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-04-26 06:53:49 +07:00
jahorton
782d2ae07a feat(web): adds .getKeyboard().IsRTL, .HasLoaded 2022-04-25 13:27:57 -05:00
jahorton
7990cdc1dd feat(web): caret placement fine-tuning 2022-04-25 11:53:36 -05:00
jahorton
509fbb02e8 change(web): clarifies caret positioning logic 2022-04-25 11:18:02 -05:00
jahorton
efcc4276a3 change(web): performCaretSearch now member of TouchAliasElement 2022-04-25 09:25:13 -05:00
Keyman Build Agent
d17e03a35a auto: increment beta version to 15.0.240 2022-04-22 14:02:30 -04:00
Joshua Horton
35d011d82b
Merge pull request #6551 from keymanapp/fix/web/5312-touch-alias-optimization
fix(web): optimizes, enhances caret placement within text on mobile devices
2022-04-22 08:22:43 -05:00
Keyman Build Agent
c5199698ac auto: increment beta version to 15.0.239 2022-04-21 14:02:18 -04:00
jahorton
56b4c5ac50 fix(web): caret position when page is scrolled 2022-04-20 15:28:35 -05:00
jahorton
73d4b0982f docs(web): credited the text generator 2022-04-20 15:10:21 -05:00
jahorton
d3900fce47 docs(web): documents some optimizing blocks 2022-04-20 15:06:32 -05:00
jahorton
a355f2ecff chore(web): minor polish 2022-04-20 15:05:03 -05:00
jahorton
48fb1371c0 docs(web): better comments & var naming 2022-04-20 15:02:57 -05:00
jahorton
94edc5c9da fix(web): mobile device caret positioning 2022-04-20 14:52:33 -05:00
jahorton
1c394c2744 change(web): further clarifies performCaretSearch 2022-04-20 13:03:32 -05:00
Keyman Build Agent
0e3173c528 auto: increment beta version to 15.0.238 2022-04-20 14:02:18 -04:00
jahorton
cd666d0346 fix(web): major performance boost, fixes search bound logic bug 2022-04-20 12:29:00 -05:00
jahorton
931cf73e90 feat(web): touch-alias optimization test page 2022-04-20 12:28:16 -05:00
Joshua Horton
1ff699d221
Merge pull request #6535 from keymanapp/fix/web/5730-keyboardchange-event-promise-wait
fix(web): keyboardchange event should defer until successful
2022-04-19 20:50:09 -05:00
Keyman Build Agent
414199711f auto: increment beta version to 15.0.237 2022-04-19 14:02:23 -04:00
jahorton
189e6a77d9 change(web): implements PR suggestions, includes test-page-UI-code move 2022-04-19 09:41:46 -05:00
Joshua Horton
b8fba08a3f
Merge pull request #6473 from keymanapp/fix/web/6005-no-modifier-fat-fingers
fix(web): blocks modifier key fat-fingering
2022-04-18 21:00:29 -05:00
Marc Durdin
1d1b91af57
Merge pull request #6494 from keymanapp/fix/android/6489-key-tip-sticky
fix(android): key tip sticky with multitap
2022-04-19 06:51:09 +10:00
Marc Durdin
2eb10663ba
chore(web): Apply suggestions from code review
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2022-04-19 06:47:31 +10:00
Keyman Build Agent
f4473990a7 auto: increment beta version to 15.0.236 2022-04-18 14:02:00 -04:00
jahorton
1f2fca1fd1 change(web): new logging also mentions active kbd 2022-04-18 10:25:05 -05:00
jahorton
1ab61293f6 feat(web): Promise API test page enhancements 2022-04-18 09:13:25 -05:00
jahorton
af34ed36b8 change(web): minor refactor of Promise API test page 2022-04-18 08:24:29 -05:00
Keyman Build Agent
6770f87d7a auto: increment master version to 16.0.9 2022-04-17 14:04:01 -04:00
Marc Durdin
0fbf53f8d7 chore(web): move version from package.json to keyman-version package
Starts to resolve the chaos of putting version numbers into every
package.json file.

Adds a new keyman-version package which mimics the
version information in build-utils.sh. This will eventually replace
resources/web-environment.

Fixes the build for the lexical model compiler tools to remove refs to
package.json version and use keyman-version instead.

More fixes coming in a follow-up.
2022-04-17 06:47:39 +10:00
jahorton
d65e933d9d fix(web): keyboardchange event defers until loaded 2022-04-14 18:01:35 -05:00
Keyman Build Agent
4052e00890 auto: increment beta version to 15.0.235 2022-04-14 14:02:32 -04:00
Marc Durdin
2f2d3c72c9 chore(web): move lm-worker into its own folder
This starts the reorg required for splitting the lm worker into its own
module. Tests are still not working. But builds are going.

Some decisions to be made around the final path for wrapping of the
code. I think it may be possible to do something a whole lot more
elegant by moving the wrapping process into the KMW build and leaving
the LM Worker output as a pure tsc output -- given only KMW wants the
wrapped worker anyway (tests aside). The actual wrapping code could
still be in the lm-worker folder.
2022-04-14 15:33:23 +10:00
Marc Durdin
8046c5304b chore(web): build order for deps 2022-04-14 10:40:36 +10:00
Joshua A. Horton
53cd3b1b71 change(web): re-renaming the test kbd 2022-04-13 18:32:10 -05:00
Marc Durdin
e86cd46520 chore(android): Merge branch 'beta' into fix/android/6489-key-tip-sticky 2022-04-14 05:27:29 +10:00
Keyman Build Agent
767817c425 auto: increment beta version to 15.0.234 2022-04-13 14:02:17 -04:00
Marc Durdin
e0b308b983 chore(web): cleanup for ts projects 2022-04-13 15:19:55 +10:00
Marc Durdin
d2d6b4a12d chore: address review comment 2022-04-13 08:18:54 +10:00
Joshua A. Horton
46efaa46a2 fix(web): test page link forward slash 2022-04-12 09:31:00 -05:00
Joshua A. Horton
00aede48e1 fix(web): test page model pathing issue on CI test setup 2022-04-12 09:04:03 -05:00
Joshua A. Horton
a7abc3ad23 fix(web): adds new test page to testing index 2022-04-12 08:52:22 -05:00
Joshua A. Horton
5e52ed4d2d change(web): renamed+moved 'vowel hater' test kbd 2022-04-12 08:30:09 -05:00
Joshua A. Horton
6c484a12b5 fix(web): patches changes from code suggestion 2022-04-12 08:15:50 -05:00
Joshua Horton
226be15de3
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-04-12 08:11:34 -05:00
Marc Durdin
0ac04d0530 chore(web): Merge branch 'beta' into chore/web/no-more-lerna 2022-04-12 21:17:15 +10:00
Marc Durdin
4d94786852 chore(web): replace lerna with npm workspaces and ts projects
Fixes #6320.

Part 1 of moving from lerna to a simpler, maintained monorepo solution,
using TypeScript Projects and NPM Workspaces.

There is more work to be done here. At this point, KeymanWeb builds and
runs without errors, but the built file is substantially different,
mostly in include order.

Using TypeScript Projects, we move away from the need to run build
scripts in various locations for almost all the Typescript modules.

TODO: Embedded versions and tests have not been verified.

TODO: developer/server is not yet verified.

TODO: developer/js (needs a rename!) is not yet verified.

TODO: Currently, the predictive-text folder needs refactoring to move
the construction of the worker wrapper out of the Predictive Text build
and into the final assembly of keymanweb.js (as it should be valid to
run it as a separate .js anyway).

TODO: Most of the `<reference>` paths need to be re-verified. Ideally
there should be no references outside the current module for any given
.ts.

TODO: The embedded vs browser vs node (headless) builds should be tidied
up for consistency so that it's obvious what depends on what. This is
currently messiest in the predictive-text folder, where the output names
diverge from the filenames and the various files are mixed in the same
folder (as evidenced by the exclusions listed in each tsconfig.json).

TODO: `npm install` should be removed from most build scripts and
instead `npm ci` (#6196) should be run only once from the top-level
folder for any given build. I've had eliminated side-effects from the
`install` action for npm, which makes it easier to reason about state.

TODO: verify_npm_setup and related functions can probably be eliminated.

TODO: most of the build scripts should be largely eliminated for web.

TODO: several ts projects use inconsistent output folders.

TODO: it may be possible to generate a .d.ts for models/types so that
we can use a consistent reference for those as well.

TODO: build.sh, tsconfig.json should always be in the module's top-level
folder, not in a subfolder such as src (e.g. see input-processor/src,
keyboard-processor/src, web/source).

TODO: resources/web-environment should be in common/web.

TODO: other js node_modules imports should be wrapped like es6-shim.

TODO: fix up the publish code for npm modules

TODO: eliminate version numbers from package.json if possible?

Whew, that's most of the stuff I noticed!
2022-04-12 21:02:33 +10:00
Joshua A. Horton
cc9d59209d feat(web): added 'y'-based test behavior 2022-04-11 14:16:11 -05:00
Joshua A. Horton
83b1cf4471 docs(web): more details on test kbd 2022-04-11 13:29:51 -05:00