Aaron Dodson
aeb1a80672
feat: Allow specifying the default size of comments. ( #8618 )
2024-10-14 08:20:34 -07:00
Aaron Dodson
edd02f6955
fix: Take the flyout into account when positioning the workspace after a toolbox change. ( #8617 )
...
* fix: Take the flyout into account when positioning the workspace after a toolbox change.
* fix: Accomodate top-positioned toolboxes.
2024-10-14 08:19:49 -07:00
Aaron Dodson
9fc693140a
fix: Correctly calculate the bounds of hat blocks. ( #8616 )
2024-10-14 08:19:27 -07:00
Aaron Dodson
2dfd8c30ad
feat: Allow specifying the placeholder text of workspace comments. ( #8608 )
2024-10-02 10:32:44 -07:00
Aaron Dodson
14c9b1abcb
chore: remove obsolete comment. ( #8606 )
2024-10-02 09:52:16 -07:00
Aaron Dodson
e777086f16
refactor!: Update flyouts to use inflaters. ( #8601 )
...
* refactor: Update flyouts to use inflaters.
* fix: Specify an axis when creating flyout separators.
* chore: Remove unused import.
* chore: Fix tests.
* chore: Update documentation.
* chore: Improve code readability.
* refactor: Use null instead of undefined.
2024-10-02 09:20:45 -07:00
Aaron Dodson
e5c1a89cdf
fix: Fix bug that caused fields in the flyout to use the main workspace's scale. ( #8607 )
...
* fix: Fix bug that caused fields in the flyout to use the main workspace's scale.
* chore: remove errant param in docs.
2024-10-02 08:18:47 -07:00
Aaron Dodson
a4b522781c
fix: Fix bug that prevented dismissing the widgetdiv in a mutator workspace. ( #8600 )
...
* fix: Fix bug that prevented dismissing the widgetdiv in a mutator workspace.
* fix: Check if the correct workspace is null.
* fix: Remove errant this.
2024-10-02 08:18:21 -07:00
dependabot[bot]
c8c4684d3b
chore(deps): bump @hyperjump/json-schema from 1.9.6 to 1.9.8 ( #8603 )
...
Bumps [@hyperjump/json-schema](https://github.com/hyperjump-io/json-schema ) from 1.9.6 to 1.9.8.
- [Commits](https://github.com/hyperjump-io/json-schema/compare/v1.9.6...v1.9.8 )
---
updated-dependencies:
- dependency-name: "@hyperjump/json-schema"
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>
2024-10-02 12:56:32 +01:00
Christopher Allen
9cd58e325a
refactor(shortcuts): Improve shortcut registry documentation & style ( #8598 )
...
* refactor(shortcuts): Improve shortcut registry documentation & style
Make some minor refactorings of shortcut_registry.ts to improve
readability and style, and add documentation for the
KeyboardShortcut interface type.
* docs(shortcuts): Fix JSDoc typos etc. for PR #8598
* chore: Format
2024-10-02 12:30:19 +01:00
John Nesky
9b3603a3ea
fix: Let block factory overwrite user defined blocks. ( #8605 )
2024-10-01 17:00:59 -07:00
dependabot[bot]
5fd337bb4d
chore(deps): bump concurrently from 8.2.2 to 9.0.1 ( #8602 )
...
Bumps [concurrently](https://github.com/open-cli-tools/concurrently ) from 8.2.2 to 9.0.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases )
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.2.2...v9.0.1 )
---
updated-dependencies:
- dependency-name: concurrently
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>
2024-09-30 10:56:31 -07:00
Aaron Dodson
ec5b6e7f71
feat: Add a BlockFlyoutInflater class. ( #8591 )
...
* feat: Add a BlockFlyoutInflater class.
* fix: Fix the capacity filter callback argument name.
* fix: Fix addBlockListeners comment.
* chore: Add license.
* chore: Add TSDoc.
* refactor: Make capacity filtering a normal method.
* fix: Bind flyout filter to `this`.
2024-09-27 14:12:59 -07:00
Aaron Dodson
bdc43bd0f7
feat: Add support for inflating flyout separators. ( #8592 )
...
* feat: Add support for inflating flyout separators.
* chore: Add license.
* chore: Add TSDoc.
* refactor: Allow specifying an axis for flyout separators.
2024-09-27 13:23:56 -07:00
Aaron Dodson
489aded31d
feat: Add inflaters for flyout labels and buttons. ( #8593 )
...
* feat: Add inflaters for flyout labels and buttons.
* chore: Temporarily re-add createDom().
* chore: fix JSDoc.
* chore: Add license.
* chore: Add TSDoc.
2024-09-27 13:22:36 -07:00
Aaron Dodson
6ec1bc5ba5
feat: Add the IFlyoutInflater interface. ( #8581 )
...
* feat: Add the IFlyoutInflater interface.
* fix: Add a return type for IFlyoutInflater.disposeElement().
* refactor: Add the gapForElement method.
2024-09-25 10:23:25 -07:00
dependabot[bot]
f7a2c4dcd0
chore(deps): bump webdriverio from 9.0.7 to 9.0.9 ( #8582 )
...
Bumps [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio ) from 9.0.7 to 9.0.9.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v9.0.9/packages/webdriverio )
---
updated-dependencies:
- dependency-name: webdriverio
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>
2024-09-25 17:33:25 +01:00
dependabot[bot]
e5a2e62622
chore(deps): bump @typescript-eslint/eslint-plugin from 8.4.0 to 8.6.0 ( #8584 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 8.4.0 to 8.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.6.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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>
2024-09-25 17:29:14 +01:00
John Nesky
8d44a4d93a
fix: Group field validator changes with field value changes. ( #8589 )
2024-09-24 16:09:41 -07:00
dependabot[bot]
bc2b142f62
chore(deps): bump @blockly/theme-modern from 6.0.3 to 6.0.7 ( #8583 )
...
Bumps [@blockly/theme-modern](https://github.com/google/blockly-samples/tree/HEAD/plugins/theme-modern ) from 6.0.3 to 6.0.7.
- [Release notes](https://github.com/google/blockly-samples/releases )
- [Changelog](https://github.com/google/blockly-samples/blob/master/plugins/theme-modern/CHANGELOG.md )
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/theme-modern@6.0.7/plugins/theme-modern )
---
updated-dependencies:
- dependency-name: "@blockly/theme-modern"
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>
2024-09-23 08:29:40 -07:00
John Nesky
51f6dab0b2
fix: Simplify list and text WHERE validation ( #8575 )
...
* fix: Simplify list and text WHERE validation
* Addressing PR review comments.
2024-09-20 14:46:06 -07:00
Aaron Dodson
c79610cea6
refactor: remove redundant flyout positioning. ( #8573 )
...
* refactor: remove redundant flyout positioning.
* fix: handle the case where there is a flyout without a toolbox
2024-09-18 11:58:39 -07:00
dependabot[bot]
73416d4db5
chore(deps): bump @typescript-eslint/parser from 8.2.0 to 8.5.0 ( #8577 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.2.0 to 8.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.5.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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>
2024-09-16 13:30:19 -07:00
Aaron Dodson
476d454c05
fix: include potential variables in variable dropdowns in the flyout ( #8574 )
2024-09-16 09:14:56 -07:00
dependabot[bot]
de6982abd2
chore(deps): bump @microsoft/api-documenter from 7.25.10 to 7.25.14 ( #8578 )
...
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter ) from 7.25.10 to 7.25.14.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-documenter/CHANGELOG.md )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-documenter_v7.25.14/apps/api-documenter )
---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
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>
2024-09-16 08:21:11 -07:00
John Nesky
561b4189fb
fix: Factor out workspace drag methods into utils. ( #8566 )
2024-09-13 12:53:37 -07:00
dependabot[bot]
8211c1a530
chore(deps): bump @hyperjump/browser from 1.1.4 to 1.1.6 ( #8569 )
...
Bumps [@hyperjump/browser](https://github.com/hyperjump-io/browser ) from 1.1.4 to 1.1.6.
- [Commits](https://github.com/hyperjump-io/browser/compare/v1.1.4...v1.1.6 )
---
updated-dependencies:
- dependency-name: "@hyperjump/browser"
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>
2024-09-13 17:58:59 +01:00
Aaron Dodson
732bd7f616
fix: size text with computed styles even when hidden ( #8572 )
...
* fix: size text with computed styles even when hidden
* refactor: remove unneeded try/catch.
2024-09-13 09:58:57 -07:00
Aaron Dodson
def80b3f31
fix: improve flyout performance ( #8571 )
...
* fix: improve flyout performance
* refactor: don't call position() in show()
The later call to reflow() itself winds up calling position(), so this calculation is redundant.
2024-09-11 12:37:32 -07:00
dependabot[bot]
483f8fb65b
chore(deps): bump @typescript-eslint/eslint-plugin from 8.1.0 to 8.4.0 ( #8567 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 8.1.0 to 8.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.4.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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>
2024-09-09 08:28:01 -07:00
Ben Henning
6acc583094
Merge pull request #8550 from BenHenning/ensure-immovable-blocks-are-considered-during-workspace-tidying
...
fix: Ensure immovable blocks are considered during workspace tidying
2024-09-05 13:40:28 -07:00
Rachel Fenichel
63158b6c8e
release: Update version number to 11.2.0-beta.0
blockly-v11.2.0-beta.0
2024-09-04 09:11:15 -07:00
Rachel Fenichel
812d23baf4
release: Merge branch 'develop' into rc/v11.2.0
2024-09-04 09:10:56 -07:00
Ben Henning
05795a06ea
Rename 'tidyUp' back to 'cleanUp'.
2024-09-03 23:13:50 +00:00
Ben Henning
fbafda3e4c
Merge branch 'develop' into ensure-immovable-blocks-are-considered-during-workspace-tidying
2024-09-03 23:02:37 +00:00
Aaron Dodson
cb1c055bff
refactor: use getters for flyout width and height. ( #8564 )
2024-09-03 13:25:18 -07:00
Rachel Fenichel
0a6596ce75
feat: mark some marker_svg properties protected instead of private ( #8558 )
2024-09-03 09:17:42 -07:00
dependabot[bot]
d10c56461b
chore(deps): bump webdriverio from 8.39.0 to 9.0.7 ( #8561 )
...
Bumps [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio ) from 8.39.0 to 9.0.7.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v9.0.7/packages/webdriverio )
---
updated-dependencies:
- dependency-name: webdriverio
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>
2024-09-03 17:16:55 +01:00
dependabot[bot]
0c29d8809a
chore(deps): bump jsdom from 24.1.1 to 25.0.0 ( #8553 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 24.1.1 to 25.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/24.1.1...25.0.0 )
---
updated-dependencies:
- dependency-name: jsdom
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>
2024-09-03 17:14:22 +01:00
Chang Min Bark
4d0fd5db79
fix(comments): added workspace comments and comment drag strategy isDeadOrDying() checks ( #8532 )
...
* fix: added id to rendered ws comments; made getCommentById public; added blocklyDraggable class to ws comments
* fix: added workspace comments and comment drag strategy isDeadOrDying checks
* chore: removed .idea files
* chore: formatted with prettier
2024-09-03 17:12:40 +01:00
dependabot[bot]
074a549f09
chore(deps): bump @blockly/dev-tools from 8.0.6 to 8.0.9 ( #8562 )
...
Bumps [@blockly/dev-tools](https://github.com/google/blockly-samples/tree/HEAD/plugins/dev-tools ) from 8.0.6 to 8.0.9.
- [Release notes](https://github.com/google/blockly-samples/releases )
- [Changelog](https://github.com/google/blockly-samples/blob/master/plugins/dev-tools/CHANGELOG.md )
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/dev-tools@8.0.9/plugins/dev-tools )
---
updated-dependencies:
- dependency-name: "@blockly/dev-tools"
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>
2024-09-03 08:29:49 -07:00
Christopher Allen
2409123d66
refactor: Omit unused exception arguments from catch blocks ( #8559 )
...
Fixes #1770 .
2024-09-03 15:27:40 +01:00
Christopher Allen
724828f689
refactor: Use arrow functions when calling Array.prototype.filter ( #8557 )
2024-08-30 17:23:23 +01:00
Christopher Allen
a7afda8343
fix(events): Simplify filter function, add new enqueueEvent function ( #8539 )
...
* docs(events): JSDoc improvments
* fix(filter): Introduce enqueueEvent; don't reorder in filter
Remove the broken BlockChange event reordering code from filter.
Instead, do necessary event reordering (correctly, this time)
in a new enqueueEvent function used by fireInternal.
* chore(events): Deprecate forward parameter of filter
Since we don't filter in undo any more, and filtering in reverse
order causes problems, prepare to remove this opportunity for
error.
* fix(events): Only merge adjacent events
Simplify filter by having it consider only adjacent events in the
queue for merging.
Previously any events in the queue could potentially be merged if
they were of suitable (typically identical) .type, even if other
events had occurred between them (with the sole exception of
BlockMove events, which would only be merged with adjacent
events). This could potentially result in replay failures during
undo/redo/mirroring, though it is unknown whether any such
problems occurred in practice.
* refactor(events): Tweaks
- Use for…of loop where appropriate.
- Make filter reason-merging code more concise.
- Use arrow functions when calling Array.prototype.filter.
* chore(events): Fix typos for PR #8539 .
2024-08-29 17:41:54 +01:00
dependabot[bot]
07da975b63
chore(deps): bump @typescript-eslint/parser from 8.1.0 to 8.2.0 ( #8552 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.2.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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>
2024-08-26 16:28:15 -07:00
John Nesky
095f29e274
fix: Detect if deleting shadow block affects selection highlight ( #8533 )
...
* fix: Detect if deleting shadow block affects selection highlight
* Use contains instead of descendsFrom for html consistency.
* Added tests.
* Removing and manually inlining new contains function.
2024-08-26 12:22:37 -07:00
Ben Henning
348a5b33b8
Addressed self-review comment.
2024-08-22 18:00:22 +00:00
Ben Henning
0413021b7c
Auto-fix formatting issues to address CI failure.
2024-08-21 21:02:07 +00:00
Aaron Dodson
ba0762348d
fix: display the correct variable reference count when deleting a variable. ( #8549 )
2024-08-21 13:57:32 -07:00
Ben Henning
ca42a4b4fd
Merge branch 'develop' into ensure-immovable-blocks-are-considered-during-workspace-tidying
2024-08-21 17:44:37 +00:00