Commit Graph

9588 Commits

Author SHA1 Message Date
Maribeth Moffatt 0efc502ad5 chore: add copilot instructions for code reviews (#9676) 2026-04-02 11:44:25 -04:00
Aaron Dodson 15a4d5050e Merge pull request #9675 from RaspberryPiFoundation/merger
chore: Merge `main` into `v13`
2026-04-01 12:51:32 -07:00
Aaron Dodson f454e1b317 chore: Bump closure to the latest version 2026-04-01 12:49:20 -07:00
Aaron Dodson 5b79a29b7c feat: Update CSS for keyboard navigation (#9674) 2026-04-01 12:34:07 -07:00
Aaron Dodson ba0f9b2836 Merge branch 'main' into merger 2026-04-01 09:37:30 -07:00
Aaron Dodson 05af6b6711 feat!: Add support for keyboard navigation (#9634)
* refactor!: Merge `Marker`, `LineCursor` and `Navigator`

* refactor!: Use the Navigator to traverse the toolbox and flyout.

* feat: Register keyboard shortcuts for navigation

* test: Fix and add tests

* chore: Export `ToolboxNavigator`

* chore: Make the linter happy

* chore: Reorganize files

* chore: Fix docstrings

* chore: Fix variable names

* fix: Focus the flyout on T for simple toolboxes

* test: Add tests for focus toolbox shortcut

* refactor: Remove `WorkspaceSvg.keyboardAccessibilityMode`

* refactor: Simplify navigation logic

* fix: Fix tests

* chore: Normalize imports

* fix: Fix bad merge resolution

* fix: Fix docstrings

* fix: Fix navigation down on blocks with a statement input and no next connection

* fix: Be more defensive about navigating to connections

* fix: Use FlyoutButton IDs as row IDs
2026-04-01 08:14:12 -07:00
Michael Harvey 3fb96e4ecd feat: aria live region for announcements (#9653)
* feat: aria live region for announcements

* fix: code review and add tests

* fix: better suite name

* chore: remove unused function

* fix: code review changes

* chore: add back ability to remove role
2026-04-01 10:23:45 -04:00
Aaron Dodson 5d304df504 chore: Remove the keyboard-navigation plugin from the advanced playground (#9670) 2026-03-31 12:15:11 -07:00
Greg Annandale 87718a53e2 chore(docs): update README docs on formatting and linting 2026-03-31 17:20:51 +01:00
Greg Annandale e8640211a6 chore(docs): run eslint on docs 2026-03-31 17:17:01 +01:00
Greg Annandale 8982178139 chore(docs): switch to eslint for mdx linting/formatting
Due to poor Prettier support

https://github.com/orgs/mdx-js/discussions/2127
2026-03-31 16:52:01 +01:00
Greg Annandale 45168a66bb chore(docs): run prettier --write on docs 2026-03-31 16:11:04 +01:00
Greg Annandale 231a9b1c8d chore(docs): add Prettier config (and ignore) for docs 2026-03-31 16:04:34 +01:00
Greg Annandale f5dcfb97ca chore(docs): CSS syntax fixes 2026-03-31 15:41:30 +01:00
Greg Annandale ec19340c06 chore(docs): remove TableHeader component, simplify tables in Markdown
Component was superfluous, we can achieve the same with regular Markdown table syntax and a very small amount of CSS
2026-03-31 15:34:40 +01:00
Greg Annandale 8839c16e0b chore(docs): move all Docusuarus-related images into single dir
Removing duplicate docs/img/ dir

Adds correct favicon

Removes unneeded default Docusaurus images/assets
2026-03-31 14:58:31 +01:00
Greg Annandale 8ae59744db chore(docs): remove ClassBlack component, add individual components instead
Adds:
- CodelabImage
- CompareBlock
- TableHeader
2026-03-31 14:48:24 +01:00
Greg Annandale 8b2ea01584 chore(docs): clarify deployment / workflow comment 2026-03-31 14:38:05 +01:00
Greg Annandale eb6f6c30e5 chore(docs): change path from /js/reference/ to /reference/
Update docs build script to reflect this, and fix some mdx generation errors

Add .gitignore to docs/reference/ to keep generated md/mdx out of version control

Add Docusaurus redirect config for /reference/js/ -> /reference/
2026-03-31 14:34:52 +01:00
Greg Annandale 50591e03e0 chore(docs): tidy Docusaurus config 2026-03-31 12:24:01 +01:00
Greg Annandale 9273512081 chore(docs): remove unused custom styles 2026-03-31 12:19:23 +01:00
Greg Annandale 350404844c chore(docs): update theme colours, remove unneeded style declarations 2026-03-31 12:12:22 +01:00
Greg Annandale ef3cea8fe4 chore(docs): allow all search engine indexing 2026-03-31 12:05:09 +01:00
Greg Annandale f6a90207fb chore(docs): fix incorrect image paths in Markdown and Image component
Both images declared through ![]() in Markdown, and using the Image component had output paths that were incorrect
2026-03-31 12:03:45 +01:00
Greg Annandale bba54681f8 chore(docs): remove unused CSS 2026-03-31 11:48:32 +01:00
Greg Annandale 15307fdc11 chore(docs): remove unneeded toc.yaml
This was leftover from the previous docs site / build process
2026-03-31 11:41:42 +01:00
Greg Annandale beb7a14e28 chore(docs): add Gulp tasks 2026-03-31 11:37:03 +01:00
Greg Annandale 4b921fbccd chore(docs): add Docusaurus supporting elements
Sidebar, index page, ToCs
2026-03-31 11:37:03 +01:00
Greg Annandale 28fe80339e chore(docs): add custom styles 2026-03-31 11:37:03 +01:00
Greg Annandale 89d608ddbb chore(docs): add Docusaurus components
For:
- Class blocks
- Codelab cards
- Homepage features
- Images
2026-03-31 11:37:03 +01:00
Greg Annandale f5d792b365 chore(docs): update docs config and paths (removing blockly/)
Also setting correct GitHub org name
2026-03-31 11:37:02 +01:00
Greg Annandale 2b0e4c856a chore(docs): GitHub Actions Workflow for deploying docs to Pages
Allows for manual Actions Workflow run for deployment, not automatic. Can be run against a given release/tag.
2026-03-31 11:36:57 +01:00
Michael Harvey 1ad060819e feat: Stop on workspace during constrained move (#9649) 2026-03-27 09:41:39 -04:00
Rachel Fenichel 5dedd85872 chore: remove unused gulp helpers (#9651)
* chore: remove unused dev dependency gulp-insert

* chore: remove unused dev dependency gulp-series

* chore: remove unused dev dependency gulp-shell
2026-03-25 15:30:40 +00:00
Aaron Dodson 6059d1f5fc feat: Add keyboard shortcut for disconnecting the selected block (#9650) 2026-03-24 08:13:04 -07:00
github-actions[bot] 6f7d50552e release: v12.5.1 blockly-v12.5.1 2026-03-20 17:04:50 +00:00
Aaron Dodson 1f1e2c4679 Revert "fix: Improve zoom animations (#9584)" (#9647)
This reverts commit 3acdf5e536.
2026-03-20 09:38:55 -07:00
Mike Harvey 8e6798a094 fix: visit all connection candidates in move mode (#9641)
* fix: visit all connection candidates in move mode

* fix: remove unused parameters from doc

* fix: correct findTraversalCandidate doc

* chore: simplify instance variables

* fix: remove unreachable return
2026-03-20 11:24:58 -04:00
Maribeth Moffatt 92dd086b3a chore: update repo name in blockly package (#9645) blockly-v12.5.0 2026-03-19 14:39:30 -04:00
Maribeth Moffatt 46d7294dca chore: use node 24 for publishing (#9644) 2026-03-19 14:17:17 -04:00
Maribeth Moffatt 48426dc485 chore: add option to publish the package without bumping version (#9643) 2026-03-19 13:57:36 -04:00
github-actions[bot] ec6035e809 release: v12.5.0 2026-03-19 17:00:15 +00:00
Maribeth Moffatt d1bbc97c53 chore: add a deploy key to allow pushing to main (#9642) 2026-03-19 12:49:35 -04:00
Aaron Dodson c862b5ef0e feat: Beep when attempting constrained move on top-level block (#9635)
* feat: Beep when attempting constrained move on top-level block

* chore: Remove errant `only`

* refactor: Add and use `playErrorBeep()`
2026-03-18 12:45:01 -07:00
Aaron Dodson 92c73f62c7 fix: Fix bug that caused blocks to become disconnected when undoing deletions (#9636) 2026-03-18 13:10:37 -04:00
Maribeth Moffatt 5239bde021 chore: add release env to publish action to get review (#9639) 2026-03-18 13:09:52 -04:00
Aaron Dodson 83c8caca97 chore: Make JSDom a peer/dev dependency on NodeJS only (#9579)
* chore: Make JSDom a peer/dev dependency on NodeJS only

* chore: Bump closure compiler version
2026-03-17 10:22:27 -07:00
Maribeth Moffatt 6413d71257 chore: fix version command for publish (#9637) 2026-03-17 11:22:43 -04:00
Aaron Dodson de7abd0c40 fix: Remove unsafe non-null assertions (#9598) 2026-03-16 15:56:26 -07:00
Maribeth Moffatt f6f5fcc6ad chore: add workflow for versioning/publishing blockly (#9627)
* chore: add workflow for versioning/publishing blockly

* chore: add dry run option
2026-03-16 16:10:40 -04:00