Commit Graph

9307 Commits

Author SHA1 Message Date
Aaron Dodson
d9b630d2c5 Merge branch 'v13' into zelos-highlights 2026-01-21 10:13:43 -08:00
Aaron Dodson
1cbf1b3703 Merge pull request #9577 from RaspberryPiFoundation/monorepo13
chore: Merge `main` into `v13` post-monorepo
2026-01-21 10:07:47 -08:00
Aaron Dodson
98f3648077 Merge branch 'v13' into zelos-highlights 2026-01-21 08:09:02 -08:00
Aaron Dodson
9e04dedb89 Merge branch 'main' into monorepo13 2026-01-20 15:48:27 -08:00
Maribeth Moffatt
6bdfac5493 chore: set up blockly to be a monorepo (#9575)
* chore(monorepo): move all blockly files to packages/blockly

* chore(monorepo): add root package.json and update gitignores

* chore(monorepo): update scripts and github workflows

* chore(monorepo): only try the native release for closure compiler

chore: add debug info to build script

chore: update google-closure-compiler

chore: remove debug info
2026-01-20 16:07:02 -05:00
Aaron Dodson
c2cb695a8f fix: Annotate potentially blocking event listeners with passivity (#9555)
* fix: Annotate potentially blocking event listeners with passivity

* fix: Improve typings for `options` arg to `bind()`/`conditionalBind()`
2026-01-20 11:20:12 -08:00
Aaron Dodson
4c79ea186f refactor!: Deprecate Block.getVars() (#9574)
* refactor!: Deprecate `Block.getVars()`

* fix: Fix import path

* fix: Simplify test assertions
2026-01-20 11:19:50 -08:00
Aaron Dodson
e4b2f0a746 fix: Make MenuItem methods toggle classes immediately (#9570)
* fix: Make `MenuItem` methods toggle classes immediately

* chore: Add docstring

* fix: Clarify name of `toggleHasCheckbox()`

* fix: Ensure menu items are enabled before highlighting them
2026-01-20 11:19:35 -08:00
Aaron Dodson
7411675a5e fix: Remove references to deprecated variable-related methods (#9572) 2026-01-20 08:16:34 -08:00
Aaron Dodson
2678f5845f fix: Use SVG icon assets (#9569) 2026-01-20 08:15:01 -08:00
Aaron Dodson
8e9b95f2fc fix: Add class to shadow blocks in Geras (#9564)
* fix: Add class to shadow blocks in Geras

* chore: Remove errant logging
2026-01-20 08:14:44 -08:00
Aaron Dodson
01dc838ebb chore(deps): Bump rimraf to v6 (#9557) 2026-01-20 08:14:02 -08:00
Aaron Dodson
43af9ab704 feat!: Use box-sizing: border-box by default (#9556) 2026-01-20 08:13:42 -08:00
Aaron Dodson
b6db9fec87 feat: Add IPathObject.updateReplacing() 2026-01-13 15:13:55 -08:00
Aaron Dodson
eb4288219e fix: Fix bug that prevented redoing adding empty block comments (#9568)
* fix: Fix bug that prevented redoing adding empty block comments

* test: Add tests for undoing/redoing adding comments

* test: Add tests for un/redoing adding non-empty comments
2026-01-13 14:52:19 -08:00
Aaron Dodson
43ea4161c0 fix: Don't select shadow blocks on click (#9538)
* fix: Don't select shadow blocks on click

* test: Verify that clicked shadow blocks do not become selected

* chore: Run formatter
2026-01-13 14:23:08 -08:00
Aaron Dodson
7f4ec3a9ea fix: Normalize Zelos connection indicators 2026-01-13 14:14:07 -08:00
joey
a4d97c2f18 fix: collapsed warning propagation across siblings (#9566) (#9567) 2026-01-13 08:26:45 -08:00
Aaron Dodson
c79273a351 fix: Modernize audio playback (#9560)
* fix: Modernize audio playback

* fix: Fix loading on headless/Node
2026-01-13 08:05:51 -08:00
Aaron Dodson
52d935c815 fix: Fix bug that prevented deleting a variable referenced by two connected blocks (#9563)
* fix: Fix bug that prevented deleting a variable referenced by two connected blocks

* fix: Remove inadvertent .only
2026-01-12 15:57:00 -08:00
Aaron Dodson
5ae74e166f chore: Remove unused scripts (#9561) 2026-01-12 15:56:29 -08:00
Aaron Dodson
9fc05dfe47 fix: Remove more instances of AnyDuringMigration (#9562)
* fix: Remove more instances of `AnyDuringMigration`

* chore: Fix lint
2026-01-12 11:23:18 -08:00
Aaron Dodson
25c6187d88 refactor: Make preconditionFn part of all context menu items (#9558)
* refactor: Make preconditionFn part of all context menu items

* test: Verify separator menu item behavior with precondition functions
2026-01-09 13:59:03 -08:00
Aaron Dodson
497892946b chore: Update repo URLs in messages (#9553)
* chore: Update repo URLs in messages

* Revert "chore: Update repo URLs in messages"

This reverts commit e514c5691a.

* chore: Update repo URLs in base messages
2026-01-08 08:55:48 -08:00
Aaron Dodson
1cee3d1971 chore: Disable macOS keyboard experiment CI (#9554) 2026-01-08 08:17:01 -08:00
Aaron Dodson
d331336e66 fix: Display dragged comments and bubbles atop the toolbox (#9552)
* fix: Display dragged comments and bubbles atop the toolbox

* test: Add tests for drag layer behavior
2026-01-08 08:16:41 -08:00
Aaron Dodson
93056bc8ad fix: Fix bug that prevented the first block change event in a flyout from being dispatched (#9539)
* fix: Fix bug that prevented the first block change event in a flyout from being dispatched

* chore: Add test for flyout event listeners
2025-12-23 10:19:28 -08:00
Aaron Dodson
b0dc1de0f9 fix: Don't open the toolbox when clicking beneath the categories (#9535)
* fix: Don't open the toolbox when clicking beneath the categories

* chore: Add docstring

* chore: Add test

* chore: Add comment clarifying selection logic
2025-12-23 09:37:03 -08:00
Aaron Dodson
ba329e40e7 fix!: Remove event dependencies on XML (#9536) 2025-12-22 13:21:53 -08:00
Aaron Dodson
1a25a95b04 fix!: Make ISelectable.workspace an instance of WorkspaceSvg (#9534) 2025-12-22 13:11:19 -08:00
Aaron Dodson
f9fb226846 fix: Disable undoing events generated from flyout layout (#9533) 2025-12-22 13:10:57 -08:00
Maribeth Moffatt
65caa9fb7f chore: update readme and other files to remove google refs (#9513)
* chore: update readme and other files to remove google refs

* chore: update info about releases
2025-12-10 16:29:06 -05:00
Aaron Dodson
7e03c6e31c chore: Update workflows to reference main instead of develop (#9517)
* chore: Update workflows to reference `main` instead of `develop`

* chore: Remove develop freeze action
2025-12-05 13:31:36 -08:00
Simon Shiki
da5e8e68e3 fix: enforce placeholder usage for workspace comment (#9463)
* fix: enforce placeholder usage for workspace comment

Signed-off-by: SimonShiki <sinangentoo@gmail.com>

* fix: lint

Signed-off-by: SimonShiki <sinangentoo@gmail.com>

---------

Signed-off-by: SimonShiki <sinangentoo@gmail.com>
2025-12-05 09:19:52 -08:00
Robert Knight
8a226d8737 fix: navigation in dropdown menu with a separator (#9474) 2025-12-04 12:37:44 -08:00
Maribeth Moffatt
a9cb035f41 chore: Update CODEOWNERS to point to RPF group (#9510)
* chore: Update CODEOWNERS

* Update CODEOWNERS

* chore: Update CODEOWNERS
2025-12-04 15:25:32 -05:00
Ben Henning
91ef951e92 fix: Failing npm ci in GitHub CI actions (#9476)
* chore: Empty commit to create PR.

* fix: Add missing fsevents entry.

Bypassing merge rules because this is a fix for breaking builds.
2025-11-19 20:03:10 +00:00
dependabot[bot]
22905ad595 chore(deps): bump actions/upload-artifact from 4 to 5 (#9441)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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-10-31 12:23:10 -07:00
Murali Manohar Varma Pemmadi
91d5b00c55 fix: improve file path handling in theme generator script (#9426)
- Use Path objects from pathlib to handle file paths properly
- Generate output files in the same directory as input file
- Create output filenames with "new_" prefix while preserving original stem name
- Ensure script works with files from any location in the filesystem
2025-10-30 18:02:06 -07:00
Ben Henning
b5f2d576fa fix: Make the 'welcome new contributors' workflow run again (#9448)
## The basics

- [x] I [validated my changes](https://developers.google.com/blockly/guides/contribute/core#making_and_verifying_a_change)

## The details
### Resolves

Fixes #9447

### Proposed Changes

Pin the `actions/first-interactions` action to v1.3.0 and update the input parameters. Configure Dependabot to no longer try to upgrade this version.

### Reason for Changes

There are three sets of failures being addressed here:
1. `v3.0.0` introduces a breaking changes by renaming the input names.
2. `v3.1.0` introduces a breaking change that somehow enforces `issue_message` being required which isn't being defined for Blockly (we only welcome on PRs). This hasn't been addressed by the action author so this PR pins to v3.0.0 to go back to a working version.\*
3. `v2` introduced a breaking behavioral change that caused all runs of the workflow to outright fail by not being compatible with `pull_request_target`.

\* Technically it was broken when upgraded in #9323 due to a warning (rather than error) enforcing the now-required parameters. That was hiding a failure introduced when upgraded in #9274 that outright broke the workflow due to it running with `pull_request_target`.

### Test Coverage

The team doesn't utilize automated tests for the workflow configurations themselves thus verifying them through running CI is sufficient.

https://github.com/BenHenning/blockly/pull/16#pullrequestreview-3400731300 demonstrates this passing and working correctly with a merged in version of this branch (since the workflow uses `pull_request_target` it cannot be verified in this PR's CI workflow) for a 'new' contributor (thanks for the help @rpbourret and @maribethb).

### Documentation

No documentation changes are needed for this workflow configuration change.

### Additional Information

Nothing to add that's not above or in the filed bug.
2025-10-30 10:53:35 -07:00
dependabot[bot]
592ee0a672 chore(deps): bump actions/download-artifact from 5 to 6 (#9442)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  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-10-27 10:28:59 -07:00
Aaron Dodson
098a3aaffb fix: Add support for icons to getSourceBlockFromNode() (#9438) 2025-10-27 09:39:52 -07:00
dependabot[bot]
ea6ecdce9f chore(deps): bump typescript-eslint from 8.44.1 to 8.46.2 (#9443)
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.44.1 to 8.46.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.46.2
  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-10-27 08:38:25 -07:00
jacob
9362c334a3 docs: vectorize README.md sample image (#9432)
* docs: vectorize README.md sample image

change head to the logo, change image to transparent svg. other minor changes.

* docs: README.md: revert to h1, fix link

the previous commit was reviewed by rpbourret, this commit fixes the issues mentioned
2025-10-22 09:42:58 -07:00
dependabot[bot]
52b60e4d56 chore(deps): bump chai from 6.0.1 to 6.2.0 (#9430)
Bumps [chai](https://github.com/chaijs/chai) from 6.0.1 to 6.2.0.
- [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/v6.0.1...v6.2.0)

---
updated-dependencies:
- dependency-name: chai
  dependency-version: 6.2.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-10-20 18:12:25 -07:00
dependabot[bot]
220888e3f1 chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#9413)
Bumps the npm_and_yarn group with 2 updates in the / directory: [tar-fs](https://github.com/mafintosh/tar-fs) and [tmp](https://github.com/raszi/node-tmp).


Updates `tar-fs` from 3.1.0 to 3.1.1
- [Commits](https://github.com/mafintosh/tar-fs/compare/v3.1.0...v3.1.1)

Updates `tmp` from 0.0.33 to 0.2.5
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.0.33...v0.2.5)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 3.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: tmp
  dependency-version: 0.2.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-20 17:15:23 -07:00
dependabot[bot]
7e65f70dd9 chore(deps): bump actions/checkout from 4 to 5 (#9418)
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-10-20 17:13:11 -07:00
dependabot[bot]
c8adf2376d chore(deps): bump google-closure-compiler (#9429)
Bumps [google-closure-compiler](https://github.com/ChadKillingsworth/closure-compiler-npm) from 20250709.0.0 to 20251015.0.0.
- [Release notes](https://github.com/ChadKillingsworth/closure-compiler-npm/releases)
- [Commits](https://github.com/ChadKillingsworth/closure-compiler-npm/compare/v20250709.0.0...v20251015.0.0)

---
updated-dependencies:
- dependency-name: google-closure-compiler
  dependency-version: 20251015.0.0
  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>
2025-10-20 09:30:46 -07:00
RoboErikG
d3bc41bb46 chore(deps): bump typescript from 5.8.3 to 5.9.3 replaces #9406 (#9422)
* chore(deps): bump typescript from 5.8.3 to 5.9.3

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.3 to 5.9.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.3)

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

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

* Update types package

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 12:23:19 -07:00
dependabot[bot]
a7a30a3955 chore(deps): bump actions/setup-node from 4 to 5 (#9419)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-10-13 09:08:49 -07:00