Commit Graph

4953 Commits

Author SHA1 Message Date
Sam El-Husseini
f1977fd5e3 No flyout mutator 2020-06-11 09:28:40 -07:00
alschmiedt
b1211f6dd2 Add a console warning for defining a toolbox using JSON (#3937) 2020-06-10 11:11:28 -07:00
alschmiedt
1349017c8a Check if a gesture is in progress before doing keyboard nav (#3950)
* Check if a gesture is in progress before doing keyboard nav
2020-06-10 10:28:02 -07:00
alschmiedt
a23d2fb9d0 Remove assertArrayEquals (#3951) 2020-06-10 10:25:59 -07:00
Monica Kozbial
1041595932 Add clarification to remainingCapacityOfType and add tests for isCapacityAvailable. (#3952) 2020-06-10 10:23:41 -07:00
Monica Kozbial
8a2caf5c32 Distinguish between unset maxInstance and set to 0. (#3949) 2020-06-09 16:38:16 -07:00
alschmiedt
d91b5038c3 Revert not closing the flyout for a tree separator (#3944) 2020-06-09 10:27:06 -07:00
Sam El-Husseini
8fb3a95df0 Merge pull request #3943 from samelhusseini/playground_updates
@blockly/dev-tools playground
2020-06-08 12:13:06 -07:00
Sam El-Husseini
0a7fee5af0 Remove arrow functions 2020-06-08 12:07:20 -07:00
Sam El-Husseini
2276b67968 PR comments 2020-06-08 12:05:37 -07:00
Sam El-Husseini
47385c5986 minor updates 2020-06-08 10:10:39 -07:00
Sam El-Husseini
29339351ad Use unpkg 2020-06-08 09:54:14 -07:00
Sam El-Husseini
e96ec4489c Update the advanced playground to include the new Blockly playground 2020-06-08 09:53:45 -07:00
alschmiedt
14479fd7e2 Update Toolbox Interface (#3934)
* Update toolbox interface
2020-06-08 09:17:38 -07:00
Sam El-Husseini
717e342b82 Register themes (#3932)
* Add theme registry:

* Fix mocha tests
2020-06-05 09:23:00 -07:00
alschmiedt
b77a30450e Fix performance (#3931)
* Speed up performance for converting the xml to json
2020-06-05 09:22:52 -07:00
Sam El-Husseini
dc912c63ad Fix mocha tests 2020-06-04 18:10:40 -07:00
Sam El-Husseini
d6ad7c488b Add theme registry: 2020-06-04 17:56:56 -07:00
alschmiedt
26e84fef11 Add ability to add blocks by type (#3928)
* Add ability to add blocks by type
2020-06-04 12:49:04 -07:00
alschmiedt
4b0e202761 Add support for adding objects to the registry (#3927)
Support adding objects to the registry
2020-06-04 11:53:06 -07:00
translatewiki.net
7012487992 Localisation updates from https://translatewiki.net. 2020-06-04 17:43:40 +02:00
translatewiki.net
ef2533f11b Localisation updates from https://translatewiki.net. 2020-06-01 22:28:26 +02:00
alschmiedt
32de43098c Update gh pages script (#3925)
* Update script for pushing to github pages

* Remove build github pages
2020-05-29 14:36:04 -07:00
alschmiedt
00df97a59d Add plugin options (#3922)
* Adds a plugin through options

* Fix requires

* Fix pr comments
2020-05-29 13:22:25 -07:00
alschmiedt
afba82222e Fix recompile script (#3926) 2020-05-29 11:17:16 -07:00
Sam El-Husseini
1052f7548b Enable unusedPrivateMembers check (#3924)
* Add unusedPrivateMembers check
2020-05-28 17:44:16 -07:00
alschmiedt
8ec3a49487 Update build scripts (#3923)
* Update build scripts
2020-05-28 17:10:52 -07:00
Sam El-Husseini
acfc335870 Type fixes for Dropdown / Widget divs (#3911)
* Stricter typechecks in dropdown and widget div
2020-05-28 08:42:26 -07:00
alschmiedt
2b2ff909a9 Update interfaces (#3920) 2020-05-27 12:52:54 -07:00
alschmiedt
6bc60894db Toolbox interface (#3918)
* Add toolbox interface
2020-05-27 10:06:18 -07:00
Rachel Fenichel
2450a74101 Merge pull request #3915 from GermanBluefox/patch-4
Do not add COLLAPSED_WARNINGS_WARNING by deleting of warning
2020-05-26 14:13:48 -07:00
alschmiedt
61054ee55a Registry (#3914)
Create a global registry that fields, renderers and future objects can use
2020-05-26 11:21:42 -07:00
translatewiki.net
a540fd8676 Localisation updates from https://translatewiki.net. 2020-05-26 17:03:37 +02:00
Bluefox
6f3e27cf16 Do not add COLLAPSED_WARNINGS_WARNING by deleting of warning
If some block tries to remove warning with `block.setWarningText(null, block.id)` in collapsed state, the warning will be shown anyway.
2020-05-25 11:40:59 +02:00
Sam El-Husseini
b84d25fe2d Strict types in input (#3912)
* Strict types in input.js
2020-05-21 17:57:13 -07:00
Sam El-Husseini
e3babee1f3 Add Blockly.utils.Metrics @record (#3913)
* Add Blockly.utils.Metrics
2020-05-21 15:03:17 -07:00
Beka Westberg
3aa1963be8 Add programmatically setting shadows (#3902)
* Add programmatically setting shadows
2020-05-21 11:44:08 -07:00
Sam El-Husseini
317834ff59 Add accessibility interfaces and fix navigation types (#3908)
* Add accessibility interfaces and fix navigation types
2020-05-21 11:18:10 -07:00
Sam El-Husseini
3f4faeab46 Cleanup types under components/ (#3910)
* Fix types under components

* Fix menu
2020-05-20 16:54:53 -07:00
Sam El-Husseini
6809f63555 Rename bounding box to bounded element (#3909) 2020-05-20 11:21:26 -07:00
Sam El-Husseini
fd916fdb9b Bounding Box interface (#3906)
* Add an interface describing a bounding box registered on the workspace

* Clear the bounding box array

* PR comments

* Update chromedriver
2020-05-19 18:06:11 -07:00
Sam El-Husseini
38557d45be Fix advanced playground options passing (#3907) 2020-05-19 09:59:08 -07:00
translatewiki.net
45d40146a3 Localisation updates from https://translatewiki.net. 2020-05-18 16:01:48 +02:00
alschmiedt
55a36ba364 Add JSON definition for test blocks (#3901)
* Add JSON definition for test blocks
2020-05-15 13:50:12 -07:00
Sam El-Husseini
a5a3b045d3 Use the Blockly AST for block toString (#3895)
* Use the AST tree to populate block toString, add paranthesis around Number and Boolean connections
2020-05-14 17:06:35 -07:00
Beka Westberg
44ba0226c9 Add ignoring insertion markers in xml gen (#3883)
* Add ignoring insertion markers in xml gen
2020-05-14 17:05:43 -07:00
alschmiedt
dfad1dfebd Remove populateTheme (#3900) 2020-05-14 10:28:20 -07:00
alschmiedt
d0e91a15a2 Toolbox definition (#3891)
* Add support for creating a toolbox with JSON
2020-05-13 08:16:53 -07:00
Rachel Fenichel
6732d69067 Merge pull request #3889 from rachel-fenichel/playgrounds
Create advanced playground; simplify basic playground
2020-05-11 11:08:34 -07:00
translatewiki.net
7093e28141 Localisation updates from https://translatewiki.net. 2020-05-11 17:34:49 +02:00