Commit Graph

9238 Commits

Author SHA1 Message Date
Christopher Allen
a6208d78b7 fix(generators): Make scrub_ public (#7940)
Fixes #2156.

In PRs #7602, #7616, #7646, #7647 and #7654 the @protected
access modifier on scrub_ on the CodeGenerator subclasses
was not transcribed to the new typescript signature.  I was
going to re-add it, but this breaks some of the procedure
block generator functions which rely on it, and then
@BeksOmega pointed out that this might be one of the
CodeGenerator API functions which we had already decided
should be public—and lo and behold I found #2156.

Per discussion amongst team, I am not renaming it to
scrub at this time.
2024-03-15 22:01:46 +00:00
Blake Thomas Williams
b6b57215a8 fix: updated field_dropdown to properly infer its Field type with TS 5.3.3 (#7939)
* fix: updated field_dropdown to properly infer its Field type with TS 5.3.3

* fix: removed undefined as an option as its not needed for the type fix

* fix: updated field_dropdown to allow |undefined class validation
2024-03-15 14:45:16 -07:00
Beka Westberg
8fc439f090 feat: add headless workspace comment class (#7916)
* feat: add empty definitions for comment class

* feat: implement constructor

* feat: add method implementations

* feat: add own properties

* chore: add tsdoc

* fix: typos

* chore: cleanup TODOs
2024-03-15 11:36:10 -07:00
Rachel Fenichel
b70da6d3de chore: delete blockfactory_old (#7933) 2024-03-15 11:24:41 -07:00
Beka Westberg
8821c83cc9 feat: allow overriding comment icons (#7937)
* feat: add comment icon interface

* feat: have blocks construct comment icons from registry

* chore: add tests for setCommentText

* fix: typeguard
2024-03-15 18:20:08 +00:00
Neil Fraser
0ecbcde9fc chore: Use .includes and .startsWith, not .indexOf (#7936)
Easier to read than the diverse collection of `=== 0` and `!== -1` and `> -1` tests.
2024-03-15 00:03:55 +01:00
Beka Westberg
e91dd203c3 fix!: classes on text input bubble to match comment view (#7935) 2024-03-14 09:57:18 -07:00
Rachel Fenichel
67c3aae76c feat!: delete angle, colour, and multiline input fields and blocks (#7932)
* chore: delete mocha tests for angle field

* feat! : delete angle field

* chore(tests): delete colour tests from generator tests and golden files

* chore: delete colour blocks and associated generators

* chore: remove colour blocks from playgrounds

* chore: delete mocha tests for colour fields

* chore: fix incorrect comment

* chore: delete colour field from core

* chore: delete multiline input tests from generators tests and golden files

* chore: delete multiline text block and associated generators

* chore: remove multiline text block from playgrounds

* chore: delete mocha tests for multiline input field

* chore: delete multiline input field from core
2024-03-13 13:28:26 -07:00
Beka Westberg
a5126d1176 fix!: have disposing be true from start of dispose (#7891) 2024-03-13 09:23:11 -07:00
Beka Westberg
81e2203f7f chore: merge master into develop following V10.4.3 release
Merge pull request #7930 from BeksOmega/merge/master-to-dev
2024-03-13 16:18:23 +00:00
Beka Westberg
443f0eb316 chore: merge master into develop 2024-03-12 17:48:43 +00:00
Beka Westberg
5d4e120d9a chore: merge develop into v11.0.0
Merge pull request #7929 from BeksOmega/merge-dev-v11
2024-03-12 16:56:34 +00:00
Beka Westberg
cac6b64ab0 chore: merge develop into v11 2024-03-12 16:10:59 +00:00
Beka Westberg
30127db35f fix: comment min size (#7915)
* feat: add min and max to size

* fix: properly calculate the minimum size of the comment

* fix: inline docs
2024-03-11 20:57:47 +00:00
Beka Westberg
fc4228ce03 feat: add comment view (for workspace comments, and block comments for partners) (#7914)
* feat: add basic comment view

* feat: add icons to comment

* chore: add text area to comment view

* feat: add getting size

* feat: add collapsing comment view

* feat: add setting editability

* feat: add location and text hooks.

* feat: add changing the size

* feat: resizing

* feat: add collapsing

* feat: add disposing

* feat: add cursors

* feat: add moving to the front

* chore: split construction into subprocedures

* chore: split resizing into subprocedures

* feat: handle RTL

* chore: add doc comments throughout file

* chore: reduce css specificity where possible

* chore: format

* feat: add remove change listener methods

* chore: add tests for listeners

* feat: add disposing accessors

* chore: add coordinate system notes

* chore: add issues to TODOs where possible

* chore: remove suite.only
2024-03-11 12:12:35 -07:00
Beka Westberg
0e22a7982e release: v10.4.3
Merge pull request #7917 from BeksOmega/rc/v10.4.3
blockly-v10.2.0 blockly-v10.4.3
2024-03-11 16:44:19 +00:00
Rachel Fenichel
84218fe9b1 Merge pull request #7903 from google/rachel-fenichel-patch-2
chore: fix spelling in common.ts
2024-03-08 15:11:19 -08:00
Rachel Fenichel
3fccb75885 chore: format 2024-03-08 15:08:15 -08:00
Beka Westberg
48228e47e3 chore: merge develop into v11 to fix CI (#7893)
* fix: destroy connection highlight when the connection is disposed (#7830)

* fix: fix reference docs toc generation (#7832)

* fix: insertion marker previewer finding wrong connection for different conn counts (#7833)

* feat: make grid options togglable (#7828)

* chore(deps): Bump prettier from 3.1.1 to 3.2.5 (#7831)

Bumps [prettier](https://github.com/prettier/prettier) from 3.1.1 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.1.1...3.2.5)

---
updated-dependencies:
- dependency-name: prettier
  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>

* fix: disposing of connection previewer (#7834)

* fix: typo in Click event class docs

* chore: rollup of updates from translatewiki for 10.4.0 (#7856)

* chore: update metadata for v10.4.0 (#7857)

* release: update version number to 10.4.0

* fix: connection previewer disposing too early

* Merge pull request #7859 from BeksOmega/fix/previewer-disposing

fix: connection previewer disposing too early
(cherry picked from commit da3ec253bf)

* release: update version number to 10.4.1

* chore: move connection previewer out of subfolder (#7835)

* chore(deps-dev): Bump undici from 5.26.3 to 5.28.3 (#7862)

Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update webdriverio to fix chrome endpoint issue (#7875)

* fix: insertion marker drag scaling (#7874)

* fix: insertion marker drag scaling

* chore: added docs for other params

* fix: restore respecting snap radius (#7873)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Maribeth Bottorff <maribethb@google.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Elvis Adomnica <elvis.adomnica@gmail.com>
Co-authored-by: Rachel Fenichel <fenichel@google.com>
2024-03-08 14:24:58 -08:00
Beka Westberg
6a29acbe7a release: Update version number to 10.4.3 2024-03-08 20:19:00 +00:00
Beka Westberg
0ab2809ce9 fix: connection dancing (#7899)
* fix: special case zelos for connection previewing

* chore: add TODO

(cherry picked from commit 848415e48f)
2024-03-08 20:17:12 +00:00
Beka Westberg
8dee571469 chore: make getters for grid attributes public and update inline docs (#7865) 2024-03-08 09:16:18 -08:00
Beka Westberg
848415e48f fix: connection dancing (#7899)
* fix: special case zelos for connection previewing

* chore: add TODO
2024-03-08 08:45:11 -08:00
Beka Westberg
7c7dfd003f fix: shouldPreventMove not being respected (#7894)
* fix: shouldPreventMove not being respected

* fix: PR comments
2024-03-07 10:14:03 -08:00
Rachel Fenichel
ccd29be4c4 chore: fix spelling in common.ts
definiton -> definition
2024-03-06 11:37:38 -08:00
Rachel Fenichel
ca743cc85d Merge pull request #7886 from devilhyt/fix/libraryBlocks-exports
fix: libraryBlocks exports
2024-03-05 09:32:15 -08:00
Maribeth Bottorff
71185b5582 Merge pull request #7880 from google/master
chore: master into develop following v10.4.2
2024-02-28 15:32:28 -08:00
dependabot[bot]
039ccb71d0 chore(deps): Bump eslint from 8.56.0 to 8.57.0 (#7887)
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  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-02-27 17:45:49 +00:00
devilhyt
a20a8a77cf fix: libraryBlocks exports 2024-02-25 17:56:25 +08:00
Maribeth Bottorff
bdc416f691 release: v10.4.2
release: v10.4.2
blockly-v10.4.2
2024-02-21 11:45:24 -08:00
Beka Westberg
a02b3c225a chore: update webdriverio to fix chrome endpoint issue (#7875)
(cherry picked from commit 3073e8d444)
2024-02-21 10:56:20 -08:00
Maribeth Moffatt
7a03bb852a release: update version number to 10.4.2 2024-02-21 10:51:14 -08:00
Beka Westberg
f15c115964 fix: insertion marker drag scaling (#7874)
* fix: insertion marker drag scaling

* chore: added docs for other params

(cherry picked from commit 0e3a6e9705)
2024-02-21 10:50:21 -08:00
Beka Westberg
1dc91be124 fix: restore respecting snap radius (#7873)
(cherry picked from commit a517317b77)
2024-02-21 10:50:21 -08:00
Beka Westberg
a517317b77 fix: restore respecting snap radius (#7873) 2024-02-21 10:13:03 -08:00
Beka Westberg
0e3a6e9705 fix: insertion marker drag scaling (#7874)
* fix: insertion marker drag scaling

* chore: added docs for other params
2024-02-20 14:27:00 -08:00
Beka Westberg
3073e8d444 chore: update webdriverio to fix chrome endpoint issue (#7875) 2024-02-20 14:15:29 -08:00
dependabot[bot]
a169c2b36e chore(deps-dev): Bump undici from 5.26.3 to 5.28.3 (#7862)
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 10:12:04 -08:00
Beka Westberg
673b042639 chore: move connection previewer out of subfolder (#7835) 2024-02-16 08:31:55 -08:00
Rachel Fenichel
64803ff1ba Merge pull request #7854 from elvisvoer/develop
fix: typo in Click event class docs
2024-02-15 17:05:02 -08:00
Maribeth Bottorff
7759f5e6bc Merge pull request #7861 from google/master
chore: merge master into develop following v10.4.1
2024-02-15 17:00:34 -08:00
Maribeth Bottorff
d782d7d125 release: v10.4.1
Merge pull request #7860 from google/rc/v10.4.1
blockly-v10.4.1
2024-02-15 16:06:39 -08:00
Maribeth Moffatt
50e22feaeb release: update version number to 10.4.1 2024-02-15 15:55:24 -08:00
Maribeth Bottorff
f4961f602e Merge pull request #7859 from BeksOmega/fix/previewer-disposing
fix: connection previewer disposing too early
(cherry picked from commit da3ec253bf)
2024-02-15 15:48:04 -08:00
Maribeth Bottorff
da3ec253bf Merge pull request #7859 from BeksOmega/fix/previewer-disposing
fix: connection previewer disposing too early
2024-02-15 15:38:14 -08:00
Beka Westberg
9e46ed77ae fix: connection previewer disposing too early 2024-02-15 23:26:25 +00:00
Maribeth Bottorff
592c541133 release: v10.4.0
Merge pull request #7858 from google/rc/v10.4.0
blockly-v10.4.0
2024-02-15 14:05:31 -08:00
Maribeth Moffatt
1126906a8e release: update version number to 10.4.0 2024-02-15 12:34:50 -08:00
Maribeth Moffatt
ef500ab911 release: merge develop into rc/v10.4.0 2024-02-15 12:20:06 -08:00
Maribeth Bottorff
e59df7ba3d chore: update metadata for v10.4.0 (#7857) 2024-02-15 12:18:49 -08:00