Maribeth Moffatt
204d081bce
release: update version number to 11.0.0-beta.7
2024-04-05 10:30:47 -07:00
Beka Westberg
e8c51965b4
feat: add toFlyoutData method for compatibility with backpack ( #8002 )
2024-04-05 10:25:33 -07:00
Beka Westberg
d6744758f8
chore: add webdriver tests for workspace comments ( #7954 )
...
* chore: add collapse and uncollapse tests
* chore: add typing test
* chore: add resizing test
* chore: add delete tests
* chore: add better assertion messages
* chore: copyright year
2024-04-05 16:18:01 +00:00
Beka Westberg
7277a2350f
chore: delete old dragging infrastructure ( #7995 )
2024-04-05 09:13:02 -07:00
Beka Westberg
c60db431ca
chore: delete useless DRAG_STACK value ( #7994 )
2024-04-04 15:58:24 -07:00
Beka Westberg
fd177358ea
feat: comment collapse event ( #7949 )
...
* feat: define comment collapse event
* feat: add firing collapse events
* chore: add round-trip test
* chore: add tests for firing collapse events
* chore: format
2024-04-04 15:48:34 -07:00
Beka Westberg
c0e6e6745f
fix: dragging shadow blocks ( #7992 )
...
* fix: dragging shadow blocks
* fix: dragging shadows not reverting them to their original position
* fix: shadow parents not being deselected
2024-04-04 18:30:41 +00:00
Maribeth Bottorff
b0c29b8b69
Merge pull request #7993 from google/develop
...
chore: merge develop into rc/v11
2024-04-04 11:14:18 -07:00
Beka Westberg
ed403d0b77
feat!: change gestures to look at selected when dragging ( #7991 )
...
* feat: change gestures to look at selected when dragging
* chore: fix tests
* chore: format
* chore: PR comments
2024-04-04 08:52:43 -07:00
Beka Westberg
e75a4fb1d3
fix: comment move and change events ( #7947 )
...
* fix: comment move event
* feat: add support for a drag reason
* fix: comment change events
* chore: add tests for move and change events
2024-04-03 12:58:04 -07:00
Beka Westberg
3988e13fbc
chore: fix comment colours disappearing when dragging ( #7978 )
2024-04-02 14:37:54 -07:00
Mike Harvey
9e05d69d2a
feat: support keyboard navigation of flyout buttons ( #7852 )
...
* feat: support keyboard navigation of flyout buttons
* fix: use FlyoutItem type for flyout contents, rework navigateBetweenStacks for flyouts
2024-04-02 13:40:58 -07:00
Beka Westberg
f7bdfa2062
feat: support dragging comments in the gesture ( #7977 )
...
* feat: add dragging of comments in gesture
* chore: fix naming problems
2024-04-02 20:08:27 +00:00
Beka Westberg
b13f8f6737
fix: prevent default undo ( #7946 )
...
* fix: prevent default undo
* chore: fix format
2024-04-02 13:03:11 -07:00
Maribeth Bottorff
b7cdeffccd
chore: merge develop into rc/v11
2024-04-01 14:57:19 -07:00
Alejandro Ramos
d56f52cb0a
fix: Assign to containerDiv blockyWidgetDiv if it already exists ( #7980 )
...
* fix: assign to containerDiv if it already exists
* Delete unused return
* Fix if statement
* format file using Prettier
* Deduplicate lines and improve efficiency
2024-04-01 21:54:54 +00:00
dependabot[bot]
518fc67ec5
chore(deps): Bump @blockly/dev-tools from 7.1.5 to 7.1.7 ( #7986 )
...
Bumps [@blockly/dev-tools](https://github.com/google/blockly-samples/tree/HEAD/plugins/dev-tools ) from 7.1.5 to 7.1.7.
- [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@7.1.7/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-04-01 14:45:54 -07:00
dependabot[bot]
f547fad362
chore(deps): Bump typescript from 5.4.2 to 5.4.3 ( #7985 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3 )
---
updated-dependencies:
- dependency-name: typescript
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-04-01 14:45:24 -07:00
Beka Westberg
2fa6f5b954
fix: comment icon interface re serialization ( #7964 )
...
* fix: comment icon interface re serialization
* chore: fix test
2024-04-01 14:34:48 -07:00
Beka Westberg
63eb4ecb2a
fix: comment create and delete events ( #7945 )
...
* chore: switch events to use new comment class
* fix: switch create and delete events to use JSON
* work on getting new comments to fire events
* chore: fixup tests
* chore: rename workspace comment test to comment view test
* chore: add tests for firing events
* chore: remove TODO
2024-04-01 21:33:50 +00:00
Maribeth Bottorff
6767717d0b
feat: allow duplicate registry values ( #7988 )
2024-04-01 14:13:25 -07:00
Beka Westberg
9effba5ee1
feat: make comment a draggable ( #7976 )
...
* feat: add drag strategy
* chore: use draggable
2024-04-01 10:25:43 -07:00
Beka Westberg
abfbbbc299
fix!: various drag-adjacent interfaces ( #7975 )
...
* fix: ISelectable and IDeletable interfaces
* fix: switch everything over to use new draggable interface
* fix: exports
2024-03-29 21:00:56 +00:00
Beka Westberg
59f589c32a
feat!: migrate bubble dragging to use new API ( #7974 )
2024-03-29 11:02:47 -07:00
Beka Westberg
da8a83b925
feat: have the gesture use a dragger for blocks ( #7972 )
...
* feat: have block use drag strategy
* fix: gesture to use dragger for blocks
* chore: register dragger
* chore: remove getInsertionMarkers and pull logic into workspace
2024-03-28 17:38:58 -07:00
Beka Westberg
75fc4704da
feat: have block use drag strategy ( #7971 )
2024-03-28 17:15:36 -07:00
Beka Westberg
8b6e9d8cad
feat: add block drag strategy ( #7970 )
...
* feat: add the block drag strategy
* chore: remove underscores
* chore: make crazy condition clearer?
* chore: rename var
2024-03-28 16:05:04 -07:00
Neil Fraser
5a6f22f0f3
feat!: Throw errors on missing inputs ( #7969 )
...
Previously generators could generate code from inputs that didn't exist and get back the empty string. This silent failure was causing problems for diagnosing issues. This PR changes the behaviour so that an error is thrown.
This will break generators which rely on the previous behaviour. Several of our demo blocks needed editing to accomodate this change.
Resolves #7665
2024-03-28 23:53:57 +01:00
Neil Fraser
82972bed76
chore: Remove colour blocks from code demo. ( #7973 )
...
The colour-picker is leaving core.
Removing the colour blocks means that any stored programs that use colour blocks will no longer load. However, since the code demo has no visual output, the colour blocks serve no use.
2024-03-28 23:52:45 +01:00
Beka Westberg
da79a120f2
fix: remove parameter from wouldDelete ( #7968 )
2024-03-28 15:39:48 -07:00
Beka Westberg
6fe080bc6e
fix: draggable interface and concrete dragger ( #7967 )
...
* fix: interface to match design
* fix: dragger implementation
* fix: rename moveToStart to revertDrag
* fixup
2024-03-28 15:11:30 -07:00
dependabot[bot]
d9ea9b7f44
chore(deps): Bump google-github-actions/deploy-appengine ( #7814 )
...
Bumps [google-github-actions/deploy-appengine](https://github.com/google-github-actions/deploy-appengine ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/google-github-actions/deploy-appengine/releases )
- [Changelog](https://github.com/google-github-actions/deploy-appengine/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/deploy-appengine/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: google-github-actions/deploy-appengine
dependency-type: direct:production
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-03-27 13:21:20 -07:00
Beka Westberg
3ea330b981
fix: comment view styling ( #7965 )
2024-03-27 11:19:00 -07:00
Neil Fraser
2ea9e21e6d
chore: Clean up variable assignment. ( #7962 )
...
* chore: Clean up variable assignment.
* fix: variable now const as a result of prev commit
2024-03-26 19:13:52 +01:00
dependabot[bot]
2f4bea4ede
chore(deps): Bump @microsoft/api-extractor from 7.38.5 to 7.43.0 ( #7959 )
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor ) from 7.38.5 to 7.43.0.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.43.0/apps/api-extractor )
---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
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-03-26 08:27:00 -07:00
dependabot[bot]
35bce82587
chore(deps-dev): Bump ip from 1.1.8 to 1.1.9 ( #7876 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 08:26:31 -07:00
dongjinlong
68b03d269d
chore: remove repetitive words in comments ( #7963 )
...
Signed-off-by: dongjinlong <dongjinlong@outlook.com >
2024-03-26 13:27:40 +01:00
dependabot[bot]
7d8ccebe67
chore(deps): Bump @typescript-eslint/eslint-plugin from 6.19.0 to 7.3.1 ( #7960 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.19.0 to 7.3.1.
- [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/v7.3.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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-03-25 16:11:47 -07:00
Christopher Allen
0588dfade8
feat(dragging): Introduce Dragger, implementing IDragger ( #7956 )
...
* feat(dragging): Introduce Dragger, implementing iDragger
* docs(dragging): JSDoc for Dragger's .startLoc
2024-03-22 19:03:57 +00:00
Beka Westberg
d01f9a73fe
fix: comment position in RTL ( #7934 )
...
* fix: how comments are laid out in RTL
* fix: comment positioning with JSON
* fix: comment positioning with XML
2024-03-22 10:46:42 -07:00
Christopher Allen
11c219c537
feat(dragging): Create (new) IDragger and IDraggable interfaces ( #7953 )
...
* chore(dragging): Rename core/interfaces/i_draggable.ts
Rename core/interfaces/i_draggable.ts to
core/interfaces/i_draggable.old.ts to make room for new
IDraggable. Do not rename actual interface as it's not yet
clear that it will be necessary for both to coexist as
imports in the same file.
* feat(dragging): Introduce new IDraggable interface
* feat(dragging): Introduce new IDragger interface
---------
Co-authored-by: Beka Westberg <bwestberg@google.com >
2024-03-22 16:21:14 +00:00
Christopher Allen
b0430d5302
release: Update version number to 11.0.0-beta.6
blockly-v11.0.0.-beta.6
2024-03-21 17:20:26 +00:00
Christopher Allen
3934447c64
release: Update version number to 11.0.0-beta.5
2024-03-21 17:12:14 +00:00
Christopher Allen
d3575adcb8
fix(typings): Restore inadvertently-deleted typings/msg/msg.d.ts; add TS import test ( #7955 )
...
* test(typings): Add langfile (msg) import + typings test
* fix(typings): Restore inadvertently-deleted typings/msg/msg.d.ts
Fixes #7952 .
The main typings file for langfiles, typings/msg/msg.d.ts, was
inadvertently deleted in PR #7822 .
This was part of a well intentioned attempt to remove spurious
files from typings/msg/ that do not correspond to published
langfiles, but this file should have been retained because
msg.d.ts is reexported by all the other *.d.ts files in this
directory.
2024-03-21 15:01:22 +00:00
Beka Westberg
5462b21b15
fix: comment have XML save and load new workspace comments classes ( #7931 )
...
* fix: have XML save and load new comment classes
* chore: fix imports to resolve circular dependencies
* chore: add round-trip tests
* chore: skip failing test
* fixup: PR comments
2024-03-20 16:25:41 -07:00
Beka Westberg
407ff44e18
feat: add JSON serialization for workspace comments ( #7927 )
...
* feat: basic comment serializer
* bad: temporarily jam new comment classes into array
* chore: implement serializer
* chore: add serialization tests
* chore: JSDoc
* chore: unonly tests
2024-03-20 12:40:27 -07:00
Beka Westberg
fd1a02ff37
feat: have RenderedWorkspaceComment implement IBoundedElement and IRenderedElement ( #7919 )
...
* feat: implement IBoundedElement
* feat: implement IRenderedElement
2024-03-20 08:27:32 -07:00
Aaron Dodson
199c00afd5
fix: Fix block disposal animations ( #7948 )
...
* fix: Fix block disposal animations
* chore: Run lint
* chore: Remove unused import
* fix: Remove unused function arg
2024-03-19 14:08:12 -07:00
Beka Westberg
93acb62456
feat: rendered workspace comment ( #7918 )
...
* feat: add basic rendered workspace comment
* feat: add updating the view and model
* feat: add support for setting editability
* feat: add moveTo support
* feat: add disposing
* chore: add tsdoc
* fix: disposing of the comment when the delete icon is clicked
* feat: add isDeadOrDying
2024-03-19 10:52:27 -07:00
dependabot[bot]
2bebf6c137
chore(deps): Bump @blockly/block-test from 5.0.4 to 5.1.0 ( #7944 )
...
Bumps [@blockly/block-test](https://github.com/google/blockly-samples/tree/HEAD/plugins/block-test ) from 5.0.4 to 5.1.0.
- [Release notes](https://github.com/google/blockly-samples/releases )
- [Changelog](https://github.com/google/blockly-samples/blob/master/plugins/block-test/CHANGELOG.md )
- [Commits](https://github.com/google/blockly-samples/commits/@blockly/block-test@5.1.0/plugins/block-test )
---
updated-dependencies:
- dependency-name: "@blockly/block-test"
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-03-18 15:44:08 -07:00