Commit Graph

8414 Commits

Author SHA1 Message Date
Neil Fraser
5a5184ab4f fix: Correct list's "find" and "get" blocks help. (#8041)
* Correct list's "find" and "get" blocks help.

Both blocks were using the same help URL.

Two unrelated results of recompiling messages:
* Allow unwanted 'qqq' messages to be reverted.
* 'constants.json' is unchanged, but sorted.

Also improve python json dumping.
2024-04-26 20:23:43 +02:00
Mike Harvey
e2df0fc288 fix: correct dropdown arrow placement for Thrasos on Safari (#8017) 2024-04-08 14:56:36 -07:00
Mike Harvey
9e05d69d2a feat: support keyboard navigation of flyout buttons (#7852)
* feat: support keyboard navigation of flyout buttons

* fix: use FlyoutItem type for flyout contents, rework navigateBetweenStacks for flyouts
2024-04-02 13:40:58 -07:00
Alejandro Ramos
d56f52cb0a fix: Assign to containerDiv blockyWidgetDiv if it already exists (#7980)
* fix: assign to containerDiv if it already exists

* Delete unused return

* Fix if statement

* format file using Prettier

* Deduplicate lines and improve efficiency
2024-04-01 21:54:54 +00:00
dependabot[bot]
518fc67ec5 chore(deps): Bump @blockly/dev-tools from 7.1.5 to 7.1.7 (#7986)
Bumps [@blockly/dev-tools](https://github.com/google/blockly-samples/tree/HEAD/plugins/dev-tools) from 7.1.5 to 7.1.7.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Changelog](https://github.com/google/blockly-samples/blob/master/plugins/dev-tools/CHANGELOG.md)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/dev-tools@7.1.7/plugins/dev-tools)

---
updated-dependencies:
- dependency-name: "@blockly/dev-tools"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:45:54 -07:00
dependabot[bot]
f547fad362 chore(deps): Bump typescript from 5.4.2 to 5.4.3 (#7985)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:45:24 -07:00
Maribeth Bottorff
6767717d0b feat: allow duplicate registry values (#7988) 2024-04-01 14:13:25 -07:00
Neil Fraser
5a6f22f0f3 feat!: Throw errors on missing inputs (#7969)
Previously generators could generate code from inputs that didn't exist and get back the empty string.  This silent failure was causing problems for diagnosing issues.  This PR changes the behaviour so that an error is thrown.

This will break generators which rely on the previous behaviour.  Several of our demo blocks needed editing to accomodate this change.

Resolves #7665
2024-03-28 23:53:57 +01:00
Neil Fraser
82972bed76 chore: Remove colour blocks from code demo. (#7973)
The colour-picker is leaving core.

Removing the colour blocks means that any stored programs that use colour blocks will no longer load.  However, since the code demo has no visual output, the colour blocks serve no use.
2024-03-28 23:52:45 +01:00
dependabot[bot]
d9ea9b7f44 chore(deps): Bump google-github-actions/deploy-appengine (#7814)
Bumps [google-github-actions/deploy-appengine](https://github.com/google-github-actions/deploy-appengine) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/google-github-actions/deploy-appengine/releases)
- [Changelog](https://github.com/google-github-actions/deploy-appengine/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/deploy-appengine/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: google-github-actions/deploy-appengine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-27 13:21:20 -07:00
Neil Fraser
2ea9e21e6d chore: Clean up variable assignment. (#7962)
* chore: Clean up variable assignment.

* fix: variable now const as a result of prev commit
2024-03-26 19:13:52 +01:00
dependabot[bot]
2f4bea4ede chore(deps): Bump @microsoft/api-extractor from 7.38.5 to 7.43.0 (#7959)
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) from 7.38.5 to 7.43.0.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md)
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.43.0/apps/api-extractor)

---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 08:27:00 -07:00
dependabot[bot]
35bce82587 chore(deps-dev): Bump ip from 1.1.8 to 1.1.9 (#7876)
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 08:26:31 -07:00
dongjinlong
68b03d269d chore: remove repetitive words in comments (#7963)
Signed-off-by: dongjinlong <dongjinlong@outlook.com>
2024-03-26 13:27:40 +01:00
dependabot[bot]
7d8ccebe67 chore(deps): Bump @typescript-eslint/eslint-plugin from 6.19.0 to 7.3.1 (#7960)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.19.0 to 7.3.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.3.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 16:11:47 -07:00
Aaron Dodson
199c00afd5 fix: Fix block disposal animations (#7948)
* fix: Fix block disposal animations

* chore: Run lint

* chore: Remove unused import

* fix: Remove unused function arg
2024-03-19 14:08:12 -07:00
dependabot[bot]
2bebf6c137 chore(deps): Bump @blockly/block-test from 5.0.4 to 5.1.0 (#7944)
Bumps [@blockly/block-test](https://github.com/google/blockly-samples/tree/HEAD/plugins/block-test) from 5.0.4 to 5.1.0.
- [Release notes](https://github.com/google/blockly-samples/releases)
- [Changelog](https://github.com/google/blockly-samples/blob/master/plugins/block-test/CHANGELOG.md)
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/block-test@5.1.0/plugins/block-test)

---
updated-dependencies:
- dependency-name: "@blockly/block-test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 15:44:08 -07:00
dependabot[bot]
4e2930e6a2 chore(deps-dev): Bump follow-redirects from 1.15.4 to 1.15.6 (#7941)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 22:43:12 +00:00
Christopher Allen
a6208d78b7 fix(generators): Make scrub_ public (#7940)
Fixes #2156.

In PRs #7602, #7616, #7646, #7647 and #7654 the @protected
access modifier on scrub_ on the CodeGenerator subclasses
was not transcribed to the new typescript signature.  I was
going to re-add it, but this breaks some of the procedure
block generator functions which rely on it, and then
@BeksOmega pointed out that this might be one of the
CodeGenerator API functions which we had already decided
should be public—and lo and behold I found #2156.

Per discussion amongst team, I am not renaming it to
scrub at this time.
2024-03-15 22:01:46 +00:00
Blake Thomas Williams
b6b57215a8 fix: updated field_dropdown to properly infer its Field type with TS 5.3.3 (#7939)
* fix: updated field_dropdown to properly infer its Field type with TS 5.3.3

* fix: removed undefined as an option as its not needed for the type fix

* fix: updated field_dropdown to allow |undefined class validation
2024-03-15 14:45:16 -07:00
Neil Fraser
0ecbcde9fc chore: Use .includes and .startsWith, not .indexOf (#7936)
Easier to read than the diverse collection of `=== 0` and `!== -1` and `> -1` tests.
2024-03-15 00:03:55 +01:00
Beka Westberg
81e2203f7f chore: merge master into develop following V10.4.3 release
Merge pull request #7930 from BeksOmega/merge/master-to-dev
2024-03-13 16:18:23 +00:00
Beka Westberg
443f0eb316 chore: merge master into develop 2024-03-12 17:48:43 +00:00
Beka Westberg
0e22a7982e release: v10.4.3
Merge pull request #7917 from BeksOmega/rc/v10.4.3
blockly-v10.2.0 blockly-v10.4.3
2024-03-11 16:44:19 +00:00
Rachel Fenichel
84218fe9b1 Merge pull request #7903 from google/rachel-fenichel-patch-2
chore: fix spelling in common.ts
2024-03-08 15:11:19 -08:00
Rachel Fenichel
3fccb75885 chore: format 2024-03-08 15:08:15 -08:00
Beka Westberg
6a29acbe7a release: Update version number to 10.4.3 2024-03-08 20:19:00 +00:00
Beka Westberg
0ab2809ce9 fix: connection dancing (#7899)
* fix: special case zelos for connection previewing

* chore: add TODO

(cherry picked from commit 848415e48f)
2024-03-08 20:17:12 +00:00
Beka Westberg
8dee571469 chore: make getters for grid attributes public and update inline docs (#7865) 2024-03-08 09:16:18 -08:00
Beka Westberg
848415e48f fix: connection dancing (#7899)
* fix: special case zelos for connection previewing

* chore: add TODO
2024-03-08 08:45:11 -08:00
Beka Westberg
7c7dfd003f fix: shouldPreventMove not being respected (#7894)
* fix: shouldPreventMove not being respected

* fix: PR comments
2024-03-07 10:14:03 -08:00
Rachel Fenichel
ccd29be4c4 chore: fix spelling in common.ts
definiton -> definition
2024-03-06 11:37:38 -08:00
Rachel Fenichel
ca743cc85d Merge pull request #7886 from devilhyt/fix/libraryBlocks-exports
fix: libraryBlocks exports
2024-03-05 09:32:15 -08:00
Maribeth Bottorff
71185b5582 Merge pull request #7880 from google/master
chore: master into develop following v10.4.2
2024-02-28 15:32:28 -08:00
dependabot[bot]
039ccb71d0 chore(deps): Bump eslint from 8.56.0 to 8.57.0 (#7887)
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 17:45:49 +00:00
devilhyt
a20a8a77cf fix: libraryBlocks exports 2024-02-25 17:56:25 +08:00
Maribeth Bottorff
bdc416f691 release: v10.4.2
release: v10.4.2
blockly-v10.4.2
2024-02-21 11:45:24 -08:00
Beka Westberg
a02b3c225a chore: update webdriverio to fix chrome endpoint issue (#7875)
(cherry picked from commit 3073e8d444)
2024-02-21 10:56:20 -08:00
Maribeth Moffatt
7a03bb852a release: update version number to 10.4.2 2024-02-21 10:51:14 -08:00
Beka Westberg
f15c115964 fix: insertion marker drag scaling (#7874)
* fix: insertion marker drag scaling

* chore: added docs for other params

(cherry picked from commit 0e3a6e9705)
2024-02-21 10:50:21 -08:00
Beka Westberg
1dc91be124 fix: restore respecting snap radius (#7873)
(cherry picked from commit a517317b77)
2024-02-21 10:50:21 -08:00
Beka Westberg
a517317b77 fix: restore respecting snap radius (#7873) 2024-02-21 10:13:03 -08:00
Beka Westberg
0e3a6e9705 fix: insertion marker drag scaling (#7874)
* fix: insertion marker drag scaling

* chore: added docs for other params
2024-02-20 14:27:00 -08:00
Beka Westberg
3073e8d444 chore: update webdriverio to fix chrome endpoint issue (#7875) 2024-02-20 14:15:29 -08:00
dependabot[bot]
a169c2b36e chore(deps-dev): Bump undici from 5.26.3 to 5.28.3 (#7862)
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 10:12:04 -08:00
Beka Westberg
673b042639 chore: move connection previewer out of subfolder (#7835) 2024-02-16 08:31:55 -08:00
Rachel Fenichel
64803ff1ba Merge pull request #7854 from elvisvoer/develop
fix: typo in Click event class docs
2024-02-15 17:05:02 -08:00
Maribeth Bottorff
7759f5e6bc Merge pull request #7861 from google/master
chore: merge master into develop following v10.4.1
2024-02-15 17:00:34 -08:00
Maribeth Bottorff
d782d7d125 release: v10.4.1
Merge pull request #7860 from google/rc/v10.4.1
blockly-v10.4.1
2024-02-15 16:06:39 -08:00
Maribeth Moffatt
50e22feaeb release: update version number to 10.4.1 2024-02-15 15:55:24 -08:00