9611 Commits

Author SHA1 Message Date
Rachel Fenichel 313cdf72a8 docs: add links to ACR (#9975)
* chore(docs): add ACR links to compliance page

* chore(docs): use published versions of ACRs
2026-06-11 15:46:38 -04:00
Maribeth Moffatt abfd0d9ff0 chore: merge main into v13
chore: merge main into v13
2026-06-11 15:44:46 -04:00
Maribeth Moffatt 11c36371cd Merge branch 'main' into merge-main 2026-06-11 15:40:42 -04:00
Michael Harvey 79eeb9d17a fix: Do not bump neighbours mid-drag (#9977) 2026-06-11 15:39:48 -04:00
Maribeth Moffatt c4f28c6aaa feat!: update the default renderer to thrasos (#9976) 2026-06-11 15:31:34 -04:00
Maribeth Moffatt ed761c3867 fix: focus the workspace itself on first focus (#9974)
* fix: focus the workspace not the first block

* fix: focus the workspace itself on first main workspace focus
2026-06-11 11:39:47 -04:00
github-actions[bot] 2264f81773 release: v13.0.0-beta.9 blockly-v13.0.0-beta.9 2026-06-10 20:47:23 +00:00
Michael Harvey 9425f39ff6 fix: improve terminal position detection (#9973) 2026-06-10 15:43:03 -04:00
Michael Harvey dce3315faa fix: position dragging block above/below all blocks (#9972)
* fix: position dragging block above/below all blocks

* fix: linting

* chore: remove unnecessary argument
2026-06-10 14:53:35 -04:00
Michael Harvey 23c08ac0af fix: all use closest candidate when moving disconnected blocks (#9971)
* fix: all use closest candidate when moving disconnected blocks

* fix: update move commands in test
2026-06-10 14:29:53 -04:00
Michael Harvey 000aafd5ec feat: add block role description to verbose block labels (#9960) 2026-06-10 14:28:21 -04:00
Matt Hillsdon bb8b7a9bbc fix: allow nav into collapsed block row via right arrow (#9958)
This supports e.g. expand/collapse icons added outside core Blockly.

MakeCode has an expand FieldImageNoText on collapsed blocks that wasn't
otherwise navigable (inserted into COLLAPSED_INPUT_NAME):

input.appendField(new FieldImageNoText(image, 24, 24, "Expand", () => {
    this.setCollapsed(false)
}, false));

To support this:
1. the input that shares the block row id takes into account visibility
2. we drop the short circuit for collapsed blocks and rely on the filtering
  already in place to filter out the collapsed content

Also filter icons whose updateCollapsed() hides them via display:none;
without this they remain in the candidate list and the navigator can
focus e.g. an invisible cog for a mutator workspace.

Add tests for icon visibility.
2026-06-10 14:25:50 -04:00
Aaron Dodson 00882a8b22 fix: Fix styling and focusing of connections in shadow DOM (#9952) 2026-06-10 14:22:56 -04:00
Aaron Dodson b69c38d6cc feat: Reduce build size by enabling assume_function_wrapper build flag (#9921)
* chore: Format build_tasks.mjs

* feat: Enable `assume_function_wrapper` build flag

* refactor(build): Separate chunk exporter creation from compilation

Since the chunk export files are source files to Closure Compiler,
separate the creation of the former from the invocation of the
latter.  Specifically:

- Rename writeChunkExportFiles to buildChunkExporters.
- Invoked as a separate task in the minify series, instead of
  calling it directly from buildCompiled.
- Revert the changes to buildCompiled that made it an async
  function just so it could call writeChunkExportFiles.

* refactor(build): Use a separate property for each chunk's exports

The existing code results in each chunk overwriting the same
well-known property ($.__chunkExports__).  Since these properties
are only expected to be read once, in the same chunk's wrapper's
factory function, this isn't strictly wrong - but it made
understanding the minified bundles produced by PR #9912 a bit
confusing.

* cleanup(build): Minor naming improvements

* docs(build): Improve JSDocs + inline comments

Note that some comments have been deleted without replacement;
these made statements which are no longer true.

* cleanup(build): Reorder new chunk-exporters-related code

Reorder the new code that generates the chunk exporters, to put
it together with (but before) the code that generates the chunk
wrappers, since the two are closely coupled.

* fix(build): Rename chunk exporter's dir + filenames to "exporters"

For consistency with code and docs, call the files that contain code
which retrieves the chunks' export objects "chunk exporters", since
"chunk exports" better describes the objects being exported.

---------

Co-authored-by: Christopher Allen <cpcallen+git@google.com>
2026-06-10 14:18:02 -04:00
Michael Harvey e22287ec39 fix: remove redundant labels for child blocks of parent input (#9967)
* fix: remove redundant labels for child blocks of parent input

* chore: make new argument optional
2026-06-10 13:28:25 -04:00
Zoe Spriggs 0b43cb312d docs: add docs as conventional commit option (#9970) 2026-06-10 17:20:20 +00:00
Matt Hillsdon 5f76e2c8c2 fix: only show paste hint toast on keyboard copy/cut (#9962)
This differs from the keyboard nav plugin but I think it's correct for an
on-by-default world as it's very weird to encounter this toast on a touch
device with and not helpful for mouse usage (e.g. in MakeCode's context menu).
2026-06-09 10:07:19 -04:00
Matt Hillsdon 37dbf5f35f fix: don't allow disconnecting shadow blocks (#9964) 2026-06-09 10:03:51 -04:00
Michael Harvey b55e845cf5 fix: use translated 'bubble' string for ARIA label fallback (#9954) 2026-06-08 14:09:01 -04:00
Aaron Dodson 1cac226a19 fix: Fix loss of focus when deleting blocks via context menu (#9951) 2026-06-02 11:48:15 +01:00
Rachel Fenichel 5e880c3974 chore(docs): fix broken links (#9949) 2026-05-29 16:21:17 -07:00
github-actions[bot] 7ea6a17b73 release: v13.0.0-beta.8 blockly-v13.0.0-beta.8 2026-05-29 20:16:22 +00:00
Maribeth Moffatt 7682eeab29 chore: make ci more robust, fix stack overflow and import problem (#9948)
* chore: add additional logging to CI to catch circular deps and exit mocha on failure

* chore: fix blockly import

* chore: format

* chore: increase webdriver timeout to allow longer tests

* fix: stack overflow if a sound is missing

* chore: dont fail for any console errors

* chore: needs more timeout

* chore: run mocha in a subprocess

* chore: fix chromedriver cache issues

* chore: remove bad error condition
2026-05-29 11:53:07 -07:00
Robert Knight 75de6cb905 fix: Improve fallback for getInitialCandidate (#9941)
* fix: Improve fallback for getInitialCandidate

* Improve variable name
2026-05-28 15:54:55 -04:00
Maribeth Moffatt 695e071caf fix: improve fallback behavior for custom input labels (#9942)
* fix: refactor custom input labels to simplify

* fix: handle bad field image config from block factory

* chore: remove stray log

* fix: fix move mode labels

* fix: dont use numbered inputs for dummy and end row inputs

* chore: fix test
2026-05-28 10:26:07 -04:00
Maribeth Moffatt c531405f6b chore: update navbar of docs site and add marketing site redirects (#9945)
* chore: add more marketing page redirects

* chore: update navbar to match blockly.com
2026-05-27 16:57:12 -04:00
romw314 0a458b23e1 fix(docs): fix typo in workspace reference (#9943)
Fix typo in method call `workpace.getProcedureMap()` to `workspace`.
2026-05-27 20:28:12 +00:00
Zoe Spriggs c0c0cc55eb chore: fix outdated style in getting started codelab (#9944) 2026-05-27 16:26:14 -04:00
github-actions[bot] 26568631ce release: v13.0.0-beta.7 blockly-v13.0.0-beta.7 2026-05-26 23:02:44 +00:00
Maribeth Moffatt 9273d642db fix: dont show input number in connection labels (#9940) 2026-05-26 18:57:04 -04:00
Maribeth Moffatt 46ac410723 fix: dont show workspace count on apple devices (#9939)
* fix: dont show workspace count on apple devices

* chore: format msg
2026-05-26 18:12:17 -04:00
Maribeth Moffatt 5d1097e58a fix!: remove deprecated APIs (#9938) 2026-05-26 17:51:04 -04:00
Maribeth Moffatt aab9e2ac1c chore: merge main into v13
chore: merge main into v13
Merge pull request #9937 from maribethb/mainmerge
2026-05-26 17:39:43 -04:00
translatewiki.net 57bb651f83 Localisation updates from https://translatewiki.net. (#9931) 2026-05-26 14:35:37 -07:00
Maribeth Moffatt 6d8dc2ce92 chore: closure-compiler is killing me 2026-05-26 17:27:25 -04:00
Maribeth Moffatt 938d1fa5f2 fix: typo in unregisterWorkspace (#9936)
* fix: Fix typo in unregisterWorkspace function name

* fix: Add deprecation warning for unregisterWorkpace function

* fix: Add renaming entry for unregisterWorkspace in version 13.0.0

* fix(typo): "." -> "," in renamings.json5

Co-authored-by: Maribeth Moffatt <mebottorff@gmail.com>

* fix(workspace): Correct typo in `unregisterWorkspace` method call

* chore: change v12 to v13

* chore: update import

---------

Co-authored-by: Woosuk Nam <me@suk.kr>
2026-05-26 17:18:46 -04:00
Aaron Dodson c587882ff9 feat: Enable blocks during drags (#9935)
* feat: Enable disabled blocks while dragging

* test: Add tests
2026-05-26 14:12:02 -07:00
Maribeth Moffatt 0fd4bec48d Merge branch 'main' into mainmerge 2026-05-26 16:23:36 -04:00
Aaron Dodson 4262858db3 fix: Avoid issue with toolbox search plugin (#9934) 2026-05-26 10:28:00 -07:00
Michael Harvey 0f719d6402 chore: chain Input.setAriaLabelProvider calls (#9933) 2026-05-26 13:17:45 -04:00
Michael Harvey e2cf797cfe fix: Do not use custom input labels for connection positions and move start (#9932)
* fix: Do not use custom input labels on move start announcements

* fix: do not use custom input labels on input labels subset
2026-05-26 12:52:29 -04:00
Maribeth Moffatt 37c95df81d chore: add legacy docs redirects and some minor fixes (#9929)
* chore: add legacy redirects from devsite

* chore: rename configure/web to just configure

* chore: remove youtube embeds because we are scared of cookies

* chore: fix some broken images
2026-05-26 11:40:53 -04:00
Aaron Dodson 40a584163b fix: Fix bug that caused an incorrect count of inputs on blocks when generating ARIA labels (#9927) 2026-05-22 14:23:51 -07:00
Maribeth Moffatt 00cacc4d6f chore: fix some problems with docs site (#9928)
* update api-documenter versions and patch

* fix: update sidebar generation

* fix: docusaurus config changes

* fix: remove unnecessary slugs

* chore: fix url redirects with md suffix
2026-05-22 15:45:09 -04:00
Aaron Dodson 2d9f4023d7 fix: Improve narration of modifier keys (#9926) 2026-05-22 09:24:05 -07:00
Aaron Dodson 8e73862778 feat: Play error beeps when shortcuts fail (#9925) 2026-05-22 09:01:48 -07:00
github-actions[bot] 0b9efdac4d release: v13.0.0-beta.6 blockly-v13.0.0-beta.6 2026-05-21 21:23:15 +00:00
Aaron Dodson 8e3bd12b6f fix: Fix unexpected toast when committing a move with Space (#9920) 2026-05-21 14:05:03 -07:00
Rachel Fenichel 1da146d921 chore(docs): add accessibility best practices and screen reader docs (#9914)
* chore(docs): add accessibility section under app integration

* chore(docs): add information about accessibility best practices and screen reader usage

* chore(docs): fix formatting

* chore(docs): fix typo
2026-05-21 20:13:28 +00:00
Rachel Fenichel cd2f5d352c chore: add documentation on accessibility of custom fields (#9807)
* chore: add accessibility section for extending a built-in field

* chore: add information about accessibility to the creating a custom field page

* chore(docs): better phrasing about getAriaValue
2026-05-21 13:12:37 -07:00