Commit Graph

9277 Commits

Author SHA1 Message Date
RoboErikG
dd460f2b49 Merge pull request #9343 from google/dependabot/npm_and_yarn/develop/prettier-plugin-organize-imports-4.2.0
chore(deps): bump prettier-plugin-organize-imports from 4.1.0 to 4.2.0
2025-09-08 12:51:57 -07:00
dependabot[bot]
0a4bb5c33f chore(deps): bump prettier-plugin-organize-imports from 4.1.0 to 4.2.0
Bumps [prettier-plugin-organize-imports](https://github.com/simonhaenisch/prettier-plugin-organize-imports) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/simonhaenisch/prettier-plugin-organize-imports/releases)
- [Changelog](https://github.com/simonhaenisch/prettier-plugin-organize-imports/blob/master/changelog.md)
- [Commits](https://github.com/simonhaenisch/prettier-plugin-organize-imports/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-organize-imports
  dependency-version: 4.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:09:07 +00:00
Aaron Dodson
10e6df32ed fix: Allow cross origin requests for Blockly assets. (#9342) 2025-09-05 11:07:35 -07:00
Aaron Dodson
9b60088d4b fix: Fix bug that could caused variable map to be left in an inconsistent state. (#9339) 2025-09-02 12:39:16 -07:00
Aaron Dodson
55f5d648a8 release: Merge master back into develop. 2025-08-28 16:39:55 -07:00
Aaron Dodson
2bd8b63ebe Merge pull request #9335 from google/rc/v12.3.0
release: Merge `rc/v12.3.0` into `master`.
blockly-v12.3.0
2025-08-28 16:29:00 -07:00
Aaron Dodson
5f21e9b154 release: Update version number to 12.3.0 2025-08-28 16:21:52 -07:00
Aaron Dodson
5afc0d6692 refactor: Make focusable elements responsible for scrolling themselves into bounds. (#9288)
* refactor: Make focusable elements responsible for scrolling themselves into bounds.

* chore: Add tests for scrolling focused elements into view.

* fix: Removed inadvertent `.only`.

* fix: Scroll parent block of connections into bounds on focus.
2025-08-28 16:20:54 -07:00
Aaron Dodson
e51efe4855 fix: Fix bug that could cause errant line when rendering. (#9333) 2025-08-28 16:20:54 -07:00
Aaron Dodson
b0569c4a57 fix: Prevent mocha tests failures when window does not have focus. (#9332)
* chore: Add puppeteer-core as a dev dependency.

* fix: Make mocha tests run in a fake-focused window.

* fix: Make `test:mocha:interactive` use the same gulp codepath as `test`.
2025-08-28 16:20:54 -07:00
Christopher Allen
f10454cb36 chore: Add node.js v24 to CI build matrix (#9219)
Node.js v24 has now been released, so add it to our build matrix.

Node v18 is no longer in LTS but we want to continue to test on
it until it is removed from package.json engines.
2025-08-28 16:20:54 -07:00
dependabot[bot]
90580a8655 chore(deps): bump eslint from 9.30.0 to 9.34.0 (#9329)
Bumps [eslint](https://github.com/eslint/eslint) from 9.30.0 to 9.34.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/v9.30.0...v9.34.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.34.0
  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>
2025-08-28 16:20:54 -07:00
dependabot[bot]
aeb3e5e143 chore(deps): bump chai from 5.2.1 to 6.0.1 (#9330)
* chore(deps): bump chai from 5.2.1 to 6.0.1

Bumps [chai](https://github.com/chaijs/chai) from 5.2.1 to 6.0.1.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v5.2.1...v6.0.1)

---
updated-dependencies:
- dependency-name: chai
  dependency-version: 6.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: Fix Chai import path.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Dodson <adodson@google.com>
2025-08-28 16:20:54 -07:00
Aaron Dodson
cb69892825 fix: Allow reregistering fields. (#9290) 2025-08-28 16:20:54 -07:00
dependabot[bot]
e358f4e7ee chore(deps): bump eslint-config-prettier from 10.1.5 to 10.1.8 (#9321)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.5 to 10.1.8.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.8
  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>
2025-08-28 16:20:54 -07:00
Ennis Nian
be5f5a2a0a fix: pointercancel event is not handled (#9250) 2025-08-28 16:20:54 -07:00
dependabot[bot]
c32f6db022 chore(deps): bump eslint-plugin-prettier from 5.5.1 to 5.5.4 (#9319)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.5.1 to 5.5.4.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.5.1...v5.5.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-version: 5.5.4
  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>
2025-08-28 16:20:54 -07:00
Aaron Dodson
4891659d6e fix: Fix bug that caused inadvertent scrolling when the WidgetDiv was shown. (#9291)
* fix: Fix bug that caused inadvertent scrolling when the `WidgetDiv` was shown.

* chore: Add test to verify that displaying the context menu does not scroll the page.

* chore: Clarify comments.

* fix: Remove errant `.only`.

* chore: Add test to verify that actively focusing a node does not scroll the page.

* fix: Remove inadvertent `.only`.
2025-08-28 16:20:53 -07:00
Aaron Dodson
cf93f0721b fix: Correct the alignment of narrow text in input fields. (#9327)
* fix: Correct the alignment of narrow text in input fields.

* chore: Clarify purpose of first argument to positionTextElement_().
2025-08-28 16:20:53 -07:00
Aaron Dodson
4a0b710f7c fix: Show the delete cursor when dragging a block by an editable field. (#9326) 2025-08-28 16:20:53 -07:00
Aaron Dodson
9e1db9e332 chore: Fix documentation generation warnings. (#9325)
* chore: Replace @yields with @returns.

* fix: Update the ESLint config to not require @yields.

* chore: Move docs onto getters.
2025-08-28 16:20:53 -07:00
Aaron Dodson
10b1d1e848 fix: Fix positioning of pasted blocks and comments in RTL. (#9302)
* fix: Fix positioning of pasted blocks in RTL.

* fix: Clean up after temporarily making the workspace RTL.

* fix: Remove .only.

* fix: Fix positioning of pasted comments in RTL.

* fix: Fix positioning of text preview on collapsed comments in RTL.
2025-08-28 16:20:53 -07:00
dependabot[bot]
29d5b43cd3 chore(deps): bump actions/checkout from 4 to 5 (#9320)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  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>
2025-08-28 16:20:53 -07:00
Maribeth Moffatt
84933b9119 chore: lint error on only in mocha tests (#9300) 2025-08-28 16:20:53 -07:00
Aaron Dodson
47307a9e53 refactor: Make focusable elements responsible for scrolling themselves into bounds. (#9288)
* refactor: Make focusable elements responsible for scrolling themselves into bounds.

* chore: Add tests for scrolling focused elements into view.

* fix: Removed inadvertent `.only`.

* fix: Scroll parent block of connections into bounds on focus.
2025-08-28 11:28:40 -07:00
Aaron Dodson
fd0aaedb10 fix: Fix bug that could cause errant line when rendering. (#9333) 2025-08-28 10:06:52 -07:00
Aaron Dodson
b2bbe965ba fix: Prevent mocha tests failures when window does not have focus. (#9332)
* chore: Add puppeteer-core as a dev dependency.

* fix: Make mocha tests run in a fake-focused window.

* fix: Make `test:mocha:interactive` use the same gulp codepath as `test`.
2025-08-27 12:28:06 -07:00
Christopher Allen
3d28ca8448 chore: Add node.js v24 to CI build matrix (#9219)
Node.js v24 has now been released, so add it to our build matrix.

Node v18 is no longer in LTS but we want to continue to test on
it until it is removed from package.json engines.
2025-08-27 19:18:20 +01:00
dependabot[bot]
e5eada8431 chore(deps): bump eslint from 9.30.0 to 9.34.0 (#9329)
Bumps [eslint](https://github.com/eslint/eslint) from 9.30.0 to 9.34.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/v9.30.0...v9.34.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.34.0
  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>
2025-08-27 19:12:06 +01:00
dependabot[bot]
8873e5fe7a chore(deps): bump chai from 5.2.1 to 6.0.1 (#9330)
* chore(deps): bump chai from 5.2.1 to 6.0.1

Bumps [chai](https://github.com/chaijs/chai) from 5.2.1 to 6.0.1.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v5.2.1...v6.0.1)

---
updated-dependencies:
- dependency-name: chai
  dependency-version: 6.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: Fix Chai import path.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Dodson <adodson@google.com>
2025-08-26 09:08:01 -07:00
Aaron Dodson
3b498d1384 fix: Allow reregistering fields. (#9290) 2025-08-22 14:55:07 -07:00
dependabot[bot]
dd05c8de2f chore(deps): bump eslint-config-prettier from 10.1.5 to 10.1.8 (#9321)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.5 to 10.1.8.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.8
  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>
2025-08-22 20:01:03 +01:00
Aaron Dodson
86da7dcbfa release: Update version number to 12.3.0-beta.0 blockly-v12.3.0-beta.0 2025-08-21 14:21:02 -07:00
Ennis Nian
802472486e fix: pointercancel event is not handled (#9250) 2025-08-21 13:59:09 -07:00
dependabot[bot]
cacd3583f5 chore(deps): bump eslint-plugin-prettier from 5.5.1 to 5.5.4 (#9319)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.5.1 to 5.5.4.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.5.1...v5.5.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-version: 5.5.4
  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>
2025-08-21 12:06:10 -07:00
Aaron Dodson
c6730ab74f fix: Fix bug that caused inadvertent scrolling when the WidgetDiv was shown. (#9291)
* fix: Fix bug that caused inadvertent scrolling when the `WidgetDiv` was shown.

* chore: Add test to verify that displaying the context menu does not scroll the page.

* chore: Clarify comments.

* fix: Remove errant `.only`.

* chore: Add test to verify that actively focusing a node does not scroll the page.

* fix: Remove inadvertent `.only`.
2025-08-21 11:15:07 -07:00
Aaron Dodson
3e26b00038 fix: Correct the alignment of narrow text in input fields. (#9327)
* fix: Correct the alignment of narrow text in input fields.

* chore: Clarify purpose of first argument to positionTextElement_().
2025-08-21 11:05:43 -07:00
Aaron Dodson
5cc95e44e7 fix: Show the delete cursor when dragging a block by an editable field. (#9326) 2025-08-20 11:26:45 -07:00
Aaron Dodson
ac7619a622 chore: Fix documentation generation warnings. (#9325)
* chore: Replace @yields with @returns.

* fix: Update the ESLint config to not require @yields.

* chore: Move docs onto getters.
2025-08-19 14:56:59 -07:00
Aaron Dodson
405f7da280 fix: Fix positioning of pasted blocks and comments in RTL. (#9302)
* fix: Fix positioning of pasted blocks in RTL.

* fix: Clean up after temporarily making the workspace RTL.

* fix: Remove .only.

* fix: Fix positioning of pasted comments in RTL.

* fix: Fix positioning of text preview on collapsed comments in RTL.
2025-08-19 08:32:31 -07:00
dependabot[bot]
b5343f3c88 chore(deps): bump actions/checkout from 4 to 5 (#9320)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  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>
2025-08-19 08:28:11 -07:00
Maribeth Moffatt
f682fa818b chore: lint error on only in mocha tests (#9300) 2025-08-19 08:22:17 -07:00
Aaron Dodson
a53db40ecd release: Merge branch 'develop' into rc/v12.3.0 2025-08-18 14:29:52 -07:00
RoboErikG
ef235cff76 Merge pull request #9323 from google/dependabot/github_actions/develop/actions/first-interaction-3
chore(deps): bump actions/first-interaction from 2 to 3
2025-08-18 09:17:13 -07:00
dependabot[bot]
414f1056e8 chore(deps): bump actions/first-interaction from 2 to 3
Bumps [actions/first-interaction](https://github.com/actions/first-interaction) from 2 to 3.
- [Release notes](https://github.com/actions/first-interaction/releases)
- [Commits](https://github.com/actions/first-interaction/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/first-interaction
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 14:26:32 +00:00
RoboErikG
d7efb28691 Merge pull request #9297 from RoboErikG/browser-test-2
fix: Update dependencies and schedule browser tests to run weekly on Mondays
2025-08-13 12:17:33 -07:00
Erik Pasternak
34ea176b88 Update package-lock.json 2025-08-13 18:14:01 +00:00
RoboErikG
7b784b58c0 Add a weekly schedule 2025-08-13 11:06:10 -07:00
RoboErikG
fba2231637 Merge branch 'google:develop' into browser-test-2 2025-08-13 11:03:18 -07:00
RoboErikG
4f4a450142 Update dev-tools version in package.json 2025-08-13 09:39:24 -07:00