Commit graph

4749 commits

Author SHA1 Message Date
Joshua Horton
321ded4776
Merge pull request #11460 from keymanapp/chore/web/remove-unused-locals
chore(web): removes unused locals, imports, and private fields 🔩
2024-05-30 15:50:45 +07:00
Joshua Horton
da4cf64ebf
Merge pull request #11598 from keymanapp/fix/web/worker-prediction-match-token
fix(web): use intended source for prediction-to-context matching 🔩
2024-05-30 15:50:31 +07:00
Joshua Horton
dbee817d80
Merge pull request #11459 from keymanapp/chore/web/fix-implicit-this
chore(web): fixes implicit-this cases 🔩
2024-05-30 15:50:24 +07:00
Joshua Horton
f283d955a7
Merge pull request #11596 from keymanapp/fix/web/recorder-core-strictness
fix(web): headless recorder unhandled paths, invalid test-sequence references 🔩
2024-05-30 15:50:12 +07:00
Joshua Horton
47f91d8b13
change(web): Apply suggestions from code review
We bothered defining a local const, so why not use it everywhere that makes sense?  (Small polishing)

Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-30 14:07:34 +07:00
Joshua Horton
a3c8daa218
Merge pull request #11414 from keymanapp/chore/web/update-typescript
chore(web): updates TypeScript version to 5.4.5
2024-05-30 14:03:48 +07:00
Joshua Horton
65a0c22bda
Merge pull request #11579 from keymanapp/fix/web/sentry-report-null-debug-info
fix(web): add null guard for missing debug info when reporting to Sentry
2024-05-30 13:59:52 +07:00
Joshua Horton
b6d27d0548
Merge pull request #11472 from keymanapp/fix/web/kbd-doc-generation
fix(web): correctly handle cross-origin stylesheets when calculating keyboard size and key cap font size
2024-05-30 13:59:26 +07:00
Joshua A. Horton
50a194aa71 change(web): suggested 'utf-8' change from code review 2024-05-29 09:24:38 +07:00
Joshua A. Horton
3d82272989 chore(web): previously-missed spot in gesture-recognizer 2024-05-29 09:24:37 +07:00
Joshua A. Horton
41a090cce9 chore(web): converts JS unit test to TS 2024-05-29 09:24:17 +07:00
Joshua A. Horton
084916a893 chore(web): removes gesture-recognizer unit-test unused locals 2024-05-29 09:24:16 +07:00
Joshua A. Horton
826204cdc1 chore(web): cleans up unused locals outside of web/ 2024-05-29 09:24:16 +07:00
Joshua A. Horton
fff9e23ecd chore(web): Merge branch 'chore/web/fix-implicit-this' into fix/web/worker-prediction-match-token 2024-05-29 09:12:15 +07:00
Joshua A. Horton
b85286ba03 fix(web): post-rebase build error 2024-05-29 09:11:31 +07:00
Joshua A. Horton
5a8f231ef9 fix(web): use intended source for prediction-to-context matching 2024-05-29 08:56:38 +07:00
Joshua A. Horton
bdbf94bd47 chore(web): replaces a couple of 'var's 2024-05-29 08:42:39 +07:00
Joshua A. Horton
2503dfa3a8 fix(web): headless recorder unhandled paths, invalid test-sequence reference 2024-05-28 09:40:50 +07:00
Joshua A. Horton
903d214b43 fix(web): null guard missing debug info when reporting to Sentry
Fixes #11548.
2024-05-28 08:20:35 +07:00
Joshua A. Horton
2c79db4cb5 chore(web): Merge branch 'master' into chore/web/update-typescript 2024-05-27 09:20:01 +07:00
Marc Durdin
1e66b6ed0e
Merge pull request #11421 from keymanapp/chore/developer/11317-build.sh
chore(developer): build.sh for developer
2024-05-23 14:22:54 +07:00
Joshua Horton
5640cfa5c1
Merge pull request #11454 from keymanapp/chore/web/gesture-test-migration
chore(web): conversion of Web gesture-engine browser-tests for @web/test-runner use 🏃
2024-05-22 21:55:40 +07:00
Joshua Horton
0cd83b20b8
Merge pull request #11453 from keymanapp/chore/web/kbd-proc-test-migration
chore(web): conversion of Web keyboard-loading browser-tests for @web/test-runner use 🏃
2024-05-22 21:55:22 +07:00
Joshua Horton
b036a863ea
Merge pull request #11452 from keymanapp/chore/web/lm-layer-test-migration
chore(web): conversion of lm-layer browser-tests for @web/test-runner use 🏃
2024-05-22 21:54:55 +07:00
Joshua Horton
92b22b1fd0
Merge pull request #11404 from keymanapp/chore/web/lm-worker-test-migration
chore(web): conversion of lm-worker browser-test for @web/test-runner use 🏃
2024-05-22 21:51:12 +07:00
Joshua Horton
c3f57d595c
Merge pull request #11403 from keymanapp/feat/web/custom-wtr-reporting
feat(web): custom infrastructure for @web/test-runner use 🏃
2024-05-22 21:51:02 +07:00
Marc Durdin
9465c3e0b4 refactor(common): move enabled declaration into test_color.cpp
Moves variable declaration for `bool enabled` from .h to .cpp and fixes
up builds. Fixes `#include` in ldml_test_source.cpp which was inside a
namespace.

Fixes: #10426
2024-05-20 15:42:41 +07:00
Marc Durdin
8b2070c339 chore(developer): minor cleanup on scripts
Additional shared script resources for Developer and Windows,
refactor of a code signing function, refactor of clean step in build.sh.
2024-05-20 06:35:11 +07:00
Marc Durdin
8b6d6b0618 chore(developer): cleanup on build scripts
A round of cleanup and consistency for Developer build scripts.
2024-05-20 06:35:05 +07:00
Marc Durdin
b399637799 chore(common): adjust dependency order 2024-05-20 06:35:00 +07:00
Marc Durdin
c1366763eb chore(common): add dependency 2024-05-20 06:34:59 +07:00
Marc Durdin
ee0fc0ce14 chore(developer): cleanup npm publish
Use a new flag `--npm-publish` in conjunction with `publish` action,
so that the default will always be to `npm pack` if the new flag is not
specified. This flag is also guarded in the actual npm publish code to
ensure that it can only run in the appropriate CI alpha/beta/stable
environment, and not in local or test.

This then also removes the separate `pack` action.

Also removes legacy boilerplate from a number of build scripts.
2024-05-20 06:34:57 +07:00
Marc Durdin
fa57d5c674 chore(developer): final work on build.sh for developer
Now builds from a clean repo:

  developer/src/build.sh configure build test publish

* Splits kmbrowserhost into kmdbrowserhost for Developer; this means
  that Developer Browser Host now inherits the Developer settings rather
  than the Keyman for Windows settings, and simplifies distribution and
  management. The only difference between the two is in the startup code
  so this seems like a good split.

* Cleanup of various build scripts and dependencies.
2024-05-20 06:34:53 +07:00
Marc Durdin
c8a1c6aa39 chore(developer): use builder.inc.sh instead of build-utils.sh in build scripts
also, remove old Makefiles
2024-05-20 06:34:46 +07:00
Marc Durdin
2499ebf4bb chore(developer): move windows common Makefiles to build scripts
Relates to #11317.
2024-05-20 06:34:38 +07:00
Joshua A. Horton
74d63167f1 fix(web): fixes kbd-help documentation for help.keyman.com 2024-05-17 13:05:29 +07:00
Joshua A. Horton
d70463a3ae chore(web): cleans up one tsconfig setting 2024-05-15 16:00:36 +07:00
Joshua A. Horton
78d9544c26 fix(web): Web's sentry-manager tsconfig.json did not properly inherit from main configs 2024-05-15 16:00:35 +07:00
Joshua A. Horton
01fa0675ef chore(web): centralizes on a single @types/node, as it caused a TS typing conflict 2024-05-15 16:00:35 +07:00
Joshua A. Horton
70d06d7cd1 chore(web): updates all KMW-related projects to TS 5.4.5 2024-05-15 16:00:34 +07:00
Joshua A. Horton
fdc4e7dc33 fix(web): configure should prep playwright 2024-05-15 15:55:45 +07:00
Joshua A. Horton
1d8de02c2f fix(web): configure should include playwright setup 2024-05-15 15:54:25 +07:00
Joshua A. Horton
07084b07ef fix(web): configure needs to setup playwright 2024-05-15 15:53:28 +07:00
Joshua A. Horton
f70a171195 chore(web): gesture wtr config cleanup, explicit mobile device targets 2024-05-15 15:01:09 +07:00
Joshua A. Horton
5d77b2acd5 chore(web): gesture-recognizer stability check update 2024-05-15 14:48:53 +07:00
Joshua A. Horton
dbf155cf63 chore(web): gesture-recognizer test browser test conversion to TS 2024-05-15 14:48:53 +07:00
Joshua A. Horton
9d1257e02b chore(web): gesture-recognizer testing - local vs ci 2024-05-15 14:48:52 +07:00
Joshua A. Horton
6f49e31bc0 chore(web): gesture-recognizer dom test conversion 2024-05-15 14:48:51 +07:00
Joshua A. Horton
efd84942da chore(web): kbd-proc wtr config simplification 2024-05-15 14:47:13 +07:00
Joshua A. Horton
c8949c77e7 chore(web): kbd-proc browser test now TS 2024-05-15 14:44:04 +07:00