Commit Graph

8589 Commits

Author SHA1 Message Date
dependabot[bot]
5e2c7ca4dd chore(deps): bump glob from 10.3.10 to 10.4.1 (#8199)
Bumps [glob](https://github.com/isaacs/node-glob) from 10.3.10 to 10.4.1.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.3.10...v10.4.1)

---
updated-dependencies:
- dependency-name: glob
  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-06-13 15:25:27 +01:00
Christopher Allen
5a9a31ad1d feat(scripts): Create script to help with CJS -> ESM migration (#8197)
* feat(scripts): Create script to help with CJS -> ESM migration

  This is based on js2ts, but considerably simplified since we
  no longer need to deal with goog.module IDs.

* feat(scripts): Add support for module.exports = {...}

  Support (optionally renaming) assignments to module.exports, in
  addition to the existing support for simple exports property
  assignmenets.

* fix(scripts): Typo corrections + other improvments for PR #8197

* chore(scripts): Format
2024-06-12 18:29:47 +01:00
Beka Westberg
dc91c3ab54 fix: c-blocks disappearing (#8203) 2024-06-11 11:21:48 -07:00
dependabot[bot]
c94d8c2ca0 chore(deps): bump webdriverio from 8.32.2 to 8.38.2 (#8195)
Bumps [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio) from 8.32.2 to 8.38.2.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.38.2/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.38.2/packages/webdriverio)

---
updated-dependencies:
- dependency-name: webdriverio
  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-06-06 17:05:46 +00:00
dependabot[bot]
af907bf98e chore(deps): bump @microsoft/api-documenter from 7.23.14 to 7.25.2 (#8190)
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter) from 7.23.14 to 7.25.2.
- [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.2/apps/api-documenter)

---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
  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-06-03 08:17:39 -07:00
Mark Friedman
5881ce32c1 fix: change which element keydown is bound to from document to injection div (#8188)
* Change which element keydown is bound to

* Modify keydown tests

* Use browserEvents.conditionalBind()

* Remove commented out code.
2024-05-31 23:19:46 +01:00
Beka Westberg
547bf2373d chore: Merge master back into develop following v11.1.0 release
Merge pull request #8186 from google/master
2024-05-30 19:08:38 +00:00
Beka Westberg
e03d526864 release: v11.1.0
Merge pull request #8185 from google/rc/v11.1.0
blockly-v11.1.0
2024-05-30 18:53:04 +00:00
Beka Westberg
4f596aa9d4 release: Update version number to 11.1.0 2024-05-30 18:39:14 +00:00
Beka Westberg
3707d45972 release: Merge branch 'develop' into rc/v11.1.0 2024-05-30 18:38:40 +00:00
Beka Westberg
c3d41cfd9f fix: comment body height too short (#8182) 2024-05-29 11:13:43 -07:00
Beka Westberg
6e4ba00be5 fix: dragging and disposing of shadows (#8172)
* Revert "fix: dragging blocks by shadows to delete (#8138)"

This reverts commit 3fd749205f.

* fix: dragging shadows
2024-05-28 10:28:16 -07:00
Beka Westberg
933e210037 fix: lang file imports (#8179) 2024-05-28 10:01:50 -07:00
Maribeth Bottorff
98958f3a50 Merge pull request #8173 from maribethb/merge-osd
feat: merge branch `osd` into `develop`
2024-05-23 16:49:27 -07:00
Maribeth Moffatt
c4287d1276 chore: format 2024-05-23 16:13:52 -07:00
Maribeth Moffatt
5d3ae222e7 feat: paste in viewport 2024-05-23 16:13:39 -07:00
Maribeth Moffatt
aa4ae33f50 chore: fix package-lock 2024-05-23 11:25:43 -07:00
Maribeth Moffatt
4040e78ffb Revert "feat: Paste block in viewport / near cursor (#7521)"
This reverts commit c37f4b8749.
2024-05-23 11:06:46 -07:00
Maribeth Moffatt
7c6fbec23c Merge branch 'osd' into merge-osd 2024-05-23 10:59:53 -07:00
Sampada Bhujel
260bc6f678 feat(tests): Browser test helper to get workspace svg root (#8166)
* feat: Add helper to get the svg root of workspace to be clicked on

* feat: Add helper to get the mutator svg root to be clicked on

* fix: fix style format issue
2024-05-23 15:52:00 +01:00
Maribeth Bottorff
d7d5b9af6c chore: update git url (#8169) 2024-05-21 14:42:22 -07:00
Maribeth Bottorff
1a1face205 chore: merge master into develop following v11.0.0
chore: merge master into develop following v11.0.0
2024-05-20 14:32:08 -07:00
Maribeth Bottorff
9519333c28 release: v11.0.0
Merge pull request #8164 from google/rc/v11.0.0
blockly-v11.0.0
2024-05-20 13:36:49 -07:00
John Nesky
9b2ab79e73 fix: Only hide WidgetDiv if it is associated with the affected workspace. (#8150)
* Associate a workspace with WidgetDiv.

* Minor fixes after merging.

* Hide widget if owner is in an unknown workspace.
2024-05-20 12:48:05 -07:00
Maribeth Moffatt
2f15621f6d release: Update version number to 11.0.0 2024-05-20 11:41:06 -07:00
Maribeth Moffatt
44e0ba8449 release: Merge branch 'develop' into rc/v11.0.0 2024-05-20 11:39:11 -07:00
Maribeth Bottorff
3ac2fb9f82 chore: update metadata for v11 release (#8163) 2024-05-20 11:33:52 -07:00
Maribeth Bottorff
b4414c3142 chore: rollup of updates from TranslateWiki (#8162)
* chore: rollup of updates from TranslateWiki

* chore: Roll up additional translatewiki changes

Not sure how these were omitted from PR originally.

---------

Co-authored-by: Christopher Allen <cpcallen+git@google.com>
2024-05-20 11:32:33 -07:00
Maribeth Bottorff
28de9ef494 fix: paste in a better spot (#8123)
* fix: paste in a better spot

* fix: include bump offset

* chore: rename param

---------

Co-authored-by: Beka Westberg <bwestberg@google.com>
2024-05-20 10:09:47 -07:00
Neil Fraser
fcdb8fc33d fix: Normalize CSS between comment types (#8161)
Merge the CSS so that both comment types (block and workspace) are the same -- other than a border.
2024-05-20 18:59:24 +02:00
Beka Westberg
7c4b0bd703 fix: delete area animation (#8149)
* fix: delete area animation

* chore: format

* Update core/dragging/dragger.ts

Co-authored-by: Christopher Allen <cpcallen+github@gmail.com>

---------

Co-authored-by: Christopher Allen <cpcallen+github@gmail.com>
2024-05-20 09:58:48 -07:00
Beka Westberg
139b4b993f fix: creating comments in RTL (#8153) 2024-05-20 09:54:30 -07:00
Neil Fraser
70ca676c24 fix: Properly size comments. (#8158)
* Properly size comments.

Fixes multiple rendering and sizing issues across different browsers.

Tip: `text-overflow: hidden;` is not legal CSS and did nothing.

Resolves #8142
2024-05-20 09:30:38 -07:00
Beka Westberg
36b75696a2 fix: comment text area bottom border hidden (#8152) 2024-05-20 09:03:59 -07:00
Maribeth Bottorff
c1a2284d94 chore: load block factory from unpkg (#8154) 2024-05-17 16:05:15 -07:00
Beka Westberg
69db8a63d6 fix: comment size not respecting collapsed-ness (#8136)
* fix: comment size not respecting collapsed-ness

* chore: fix tests the only way I know how, by adding explicit clock ticks
2024-05-17 13:23:13 -07:00
Beka Westberg
3fd749205f fix: dragging blocks by shadows to delete (#8138)
* Revert "fix: dragging shadow blocks (#7992)"

This reverts commit c0e6e6745f.

* fix: dragging by shadow not being deletable

* fix: unselecting shadows

* fix: revert changes to select and unselect
2024-05-17 13:22:53 -07:00
Neil Fraser
5a8969f855 fix: Zelos comments shouldn't be bold (#8141)
Resolves #8061
2024-05-17 21:33:52 +02:00
Beka Westberg
12ff96674b fix: comment handle position in RTL (#8151) 2024-05-17 12:27:14 -07:00
Beka Westberg
75d81620ab fix: undoing block delete over trashcan creates block in wrong place (#8126) 2024-05-17 12:26:10 -07:00
Maribeth Bottorff
53cc12da77 chore: fix playground context menu (#8139) 2024-05-17 09:48:41 -07:00
Maribeth Bottorff
80cacdcad7 Merge pull request #8140 from maribethb/grabby
fix: change cursor to grab on ws comment bar
2024-05-17 09:47:45 -07:00
Beka Westberg
44db3edce3 fix: comment move events and snapping (#8127) 2024-05-17 08:26:23 -07:00
Maribeth Moffatt
e4b734c0db fix: change cursor to grab on ws comment bar 2024-05-16 17:54:28 -07:00
Beka Westberg
280568e66e chore: rename airstrike -> scatter (#8130) 2024-05-16 11:20:43 -07:00
Sam El-Husseini
23af202796 fix: workspace comment bounding box affecting RTL zoom (#8125) 2024-05-16 10:36:36 -07:00
Sampada Bhujel
049993405e fix: JSON deserialization not firing variable create events for blocks (#8122)
* fix: JSON deserialization not firing variable create events for blocks

* fix: extract logic for checking added variables and firing event to checkNewVariables function
2024-05-15 15:46:23 -07:00
Beka Westberg
dfcf5317c1 fix: throwing errors for chameleon blocks (#8121) 2024-05-15 12:51:55 -07:00
Beka Westberg
dd9619dc94 fix: extra insertion markers being created (#8120)
* fix: extra insertion markers being created

* chore: remove unused value
2024-05-15 10:44:13 -07:00
Beka Westberg
e2eba2879d fix: connection db error for insertion markers (#8109) 2024-05-15 08:27:43 -07:00