Aaron Dodson
4734bf95f0
feat: Add keyboard shortcut to clean up the workspace ( #9728 )
...
* feat: Add a keyboard shortcut to clean up the workspace
* test: Add tests
2026-04-14 10:25:32 -07:00
Greg Annandale
172adb5608
chore(docs): handle hoisted node_modules in Mocha tests
...
With npm installing packages to the root `node_modules` dir (due to now handling both packages/blockly and packages/docs), the Mocha script location is most likely to be `node_modules/mocha`, but maintains a fallback path for `packages/blockly/node_modules/mocha`.
2026-04-13 23:57:57 +01:00
Greg Annandale
50ea8768f0
chore(docs): isolate type_definitions from docs related types
...
Prevents auto loading of @types packages by TypeScript test config. This avoids docs @types/mdx leaking into Blockly’s type_definitions check.
2026-04-13 23:05:14 +01:00
Greg Annandale
593d877504
chore(docs): fix eslint version inconsistency between packages
...
Ensure that the docs package utilises the same version of eslint and prettier as the blockly package.
2026-04-13 23:05:14 +01:00
translatewiki.net
50445ed16e
Localisation updates from https://translatewiki.net . ( #9716 )
2026-04-13 13:31:10 -07:00
Aaron Dodson
13459a2b53
fix: Fix positioning of move marker on blocks ( #9722 )
...
* fix: Fix positioning of move marker on blocks.
* refactor: Move block topline calculation out of loop
2026-04-13 13:24:32 -07:00
Michael Harvey
1478b1f093
chore!: remove unused statuses
...
This reverts commit 956f049dbd .
2026-04-13 10:51:15 -04:00
lizschwab
a61222f727
fix: Add default aria role to svg and group elements ( #9697 )
...
* fix: Add default aria role to svg and group elements
* addressed pr feedback
2026-04-10 14:40:42 -07:00
Michael Harvey
956f049dbd
Revert "chore: remove unused statuses ( #9698 )" ( #9700 )
...
This reverts commit 229450a1b7 .
2026-04-10 16:52:21 -04:00
Michael Harvey
229450a1b7
chore: remove unused statuses ( #9698 )
...
* chore: remove unused statuses
* fix: revert removal of valuemax and valuemin
2026-04-10 16:37:51 -04:00
Aaron Dodson
c7fd3f339e
release: Bump version to 13.0.0-beta.0 ( #9693 )
2026-04-08 13:29:03 -07:00
Aaron Dodson
41319baf5d
feat: Add keyboard shortcut to perform an action on the currently focused element ( #9673 )
...
* feat: Add keyboard shortcut to perform an action on the currently focused element
* test: Add tests
* chore: Add example of shortcut formats
* fix: Don't show toast if shortcut doesn't exist
* chore: Clarify use of Zelos in tests
* fix: Skip help hint toast until shortcut is added
2026-04-08 13:14:04 -07:00
Michael Harvey
5bc04b6435
chore: add example to JSDoc for getAriaValue ( #9692 )
2026-04-08 16:12:00 -04:00
Maribeth Moffatt
4163db8505
chore: merge main into v13
...
chore: merge main into v13
2026-04-08 12:12:43 -04:00
Greg Annandale
7a8f646997
chore(docs): fix broken links
...
Primarily to reference docs, also links to the GitHub repo prior to the monorepo reshuffle.
2026-04-08 16:59:43 +01:00
Greg Annandale
059a9c741d
chore(docs): replace CompareBlock component with admonition syntax
2026-04-08 16:59:43 +01:00
Greg Annandale
541c8d645a
chore(docs): move CodelabCards component into own dir
2026-04-08 16:59:43 +01:00
Greg Annandale
d44f955e27
chore(docs): remove index.html path requirement for all Code Labs paths/URLs
2026-04-08 16:59:43 +01:00
Greg Annandale
703991ec99
chore(docs): replace CodelabImage with standard Image component
2026-04-08 16:59:43 +01:00
Greg Annandale
b3fc849010
chore(docs): set Docusaurus base_url in env var
2026-04-08 16:57:39 +01:00
Greg Annandale
cca97ed298
chore(docs): generate just typings for docs build Workflow
...
ie. no need to build the entire Blockly package, with Closure compiler, just for the docs
2026-04-08 16:57:39 +01:00
Greg Annandale
363edf083b
chore(docs): fix Actions workflow to correctly build reference docs
...
Before generating the site, also gracefully handle the missing "references" sidebar config. Remove the, now generated, _reference.js sidebar config file
2026-04-08 16:51:59 +01:00
Greg Annandale
062c403a72
Merge branch 'main' of github.com:grega/blockly
2026-04-08 16:51:40 +01:00
Michael Harvey
b4d21b2f94
feat: aria utility additions / improvements ( #9690 )
2026-04-08 14:38:20 +00:00
Michael Harvey
9d5307cc37
feat: Add aria APIs to Field base class ( #9683 )
...
* feat: Add aria APIs to Field base class
* fix: no underscores in new code
2026-04-08 10:00:36 -04:00
Aaron Dodson
cb0d1c96ce
fix: Fix navigation between toolbox and flyout in all layouts ( #9681 )
...
* fix: Fix navigation between toolbox and flyout in all layouts
* test: Add tests
2026-04-07 14:11:38 -07:00
Aaron Dodson
b665711646
chore: Remove the build size check from npm run test ( #9689 )
2026-04-07 14:04:07 -07:00
lizschwab
61583fff31
fix: add group when cutting workspace comments ( #9680 )
...
* fix: add group when cutting workspace comments
* Update shortcut_items.ts
* added check for group to the cut workspace comment unit test
2026-04-07 13:50:28 -07:00
Michael Harvey
b49fe1ec7d
feat: i shortcut on workspace gives overview ( #9677 )
...
* feat: i shortcut on workspace gives overview
* fix: code review changes
2026-04-06 16:54:11 -04:00
Michael Harvey
34c265fcf8
feat!: announce toasts via shared ARIA live region ( #9672 )
...
* feat: announce toasts via shared ARIA live region
* chore: add extra space
2026-04-03 09:06:11 -04:00
Greg Annandale
2851979c11
Merge branch 'docs'
2026-04-03 09:57:23 +01:00
Aaron Dodson
3389f87cee
feat: Add keyboard shortcuts to navigate between stacks ( #9678 )
...
* feat: Add keyboard shortcuts to navigate between stacks
* test: Add tests for stack jumping shortcuts
* chore: Clarify logic
* test: Add additional tests for no-op stack navigation
2026-04-02 12:26:52 -07:00
Aaron Dodson
dc4d751b93
fix: Display focus rings on flyout buttons and labels ( #9679 )
2026-04-02 12:08:15 -07:00
Heliacer
0bdae1497b
feat: Add a JSON Block definition interface ( #9613 )
2026-04-02 14:16:54 -04:00
Aaron Dodson
43be0edf5d
fix!: Fix types on BlockSvg connections ( #9669 )
2026-04-02 11:01:29 -07: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