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
d0e91a15a2
Toolbox definition ( #3891 )
...
* Add support for creating a toolbox with JSON
2020-05-13 08:16:53 -07:00
Monica Kozbial
abd6a53ac2
Add missing cleanup for block types. ( #3890 )
...
* Add missing cleanup for block types.
* Add missing dispose and remove unecessary delete.
2020-05-06 17:49:22 -07:00
Sam El-Husseini
888e348c69
Clean out the date field ( #3876 )
2020-05-06 09:42:24 -07:00
Rachel Fenichel
3b6d364d07
Merge pull request #3874 from BeksOmega/fix/insertion-gen
...
Add ignoring insertion markers in code/xml gen
2020-05-04 10:43:08 -07:00
Beka Westberg
1c08d93937
Add blockIds to insertion code gen tests
2020-05-02 08:00:19 -07:00
Beka Westberg
65bb33635d
Add ignoring insertion markers in code gen
2020-05-02 07:37:58 -07:00
Maribeth Bottorff
be50de6650
Procedure ( #3875 )
...
* Use getBlocksByType to speed up allProcedures generation
* Add tests for allProcedures
* Add error messages for some tests
2020-05-01 11:44:26 -07:00
Monica Kozbial
e3d82fa3af
Converting procedure svg tests to mocha. ( #3867 )
...
* Converting procedure svg tests to mocha.
* Removing unused function.
* cleanup
2020-04-29 11:33:11 -07:00
Monica Kozbial
e606b872c2
Converting logic_ternary block tests to mocha ( #3868 )
...
* Convert logic_ternary block tests to mocha.
2020-04-29 11:30:23 -07:00
Monica Kozbial
c35793bf9c
Convert event svg tests to mocha. ( #3864 )
2020-04-29 11:16:45 -07:00
Monica Kozbial
e516a08430
Workspace svg tests ( #3857 )
...
* Converting workspace svg tests to mocha and calling workspace tests.
* Removing jsunit style test for workspace_svg.
* Fix eslint error.
2020-04-27 16:32:52 -07:00
Monica Kozbial
bbc13cfd57
Add wait for xml test case. ( #3855 )
2020-04-24 15:07:57 -07:00
Monica Kozbial
b3d4932d49
Enabling workspace comments test. ( #3856 )
2020-04-24 15:07:44 -07:00
Monica Kozbial
b574490072
Convert workspace redo undo tests to mocha. ( #3847 )
...
* Convert workspace redo undo tests to mocha.
* Adding details to asserts and test case names.
* Adding additional checks for undo/redo tests.
* Bumping timeout and addressing comments.
2020-04-22 16:24:02 -07:00
Monica Kozbial
2f33a37fa4
Convert workspace comment tests to mocha. ( #3850 )
2020-04-22 14:49:42 -07:00
alschmiedt
3fa6ffa2c6
Fix toolbox tests ( #3852 )
...
* Fix toolbox tests
2020-04-22 14:11:02 -07:00
alschmiedt
10444d76ec
Toolbox tests ( #3846 )
...
* Add tests for toolbox
2020-04-22 08:47:08 -07:00
Monica Kozbial
b934fdc93c
Converting generator tests to mocha. ( #3845 )
2020-04-21 17:38:26 -07:00
Monica Kozbial
61c60019fd
Converting widget div tests to mocha. ( #3844 )
2020-04-21 14:03:32 -07:00
Monica Kozbial
bb3b20443b
Convert remaining tests in workspace_test. ( #3841 )
2020-04-20 16:52:56 -07:00
Monica Kozbial
17eade1017
Partial conversion of workspace tests to mocha. ( #3838 )
2020-04-17 16:31:12 -07:00
Monica Kozbial
0adf7efd5f
Converting jsunit asserts to chai. ( #3831 )
...
* Converting jsunit asserts to chai.
* Move jsunit functions to test_utilities.
* Adding eslint exception for helper method.
2020-04-17 16:08:46 -07:00
Monica Kozbial
a74cd0898c
Converting variable map tests to mocha. ( #3827 )
...
* Converting variable map tests to mocha.
* Removing TODO updating chai syntax.
2020-04-16 17:47:17 -07:00
Monica Kozbial
e838027629
Convert variable model tests to mocha. ( #3829 )
...
* Convert variable model tests to mocha.
* Delete old jsunit test.
* Updating to use chai syntax.
2020-04-16 17:39:38 -07:00
Monica Kozbial
9c400f2bf0
Converting variable tests to mocha. ( #3828 )
2020-04-16 14:18:12 -07:00
Beka Westberg
9e98df9949
Fix collapsed blocks not updating when modified ( #3806 )
...
* Stop recursive render calls
* Fix visibility bugs.
* Make toString ignore collapsed input.
* Add automatic collapse rendering handling
* Fix insertion markers with collapsed
* Add tests
* Fix build?
* PR comments
* Add missing jsdoc
2020-04-16 13:02:05 -07:00
Monica Kozbial
d61f3c6f38
Converting extensions_test to mocha. ( #3820 )
...
* Converting extensions_test to mocha.
* Add spacing between test cases.
* Fix cleanup for block type.
* Add cleanup for event state.
2020-04-15 15:55:49 -07:00
Monica Kozbial
ab5f7d8a00
Converting event tests to mocha. ( #3811 )
...
* Convert remaining jsunit tests for events to mocha.
* Fix eslint.
2020-04-15 11:29:17 -07:00
alschmiedt
3a902ee970
Update ast node ( #3808 )
...
* Update ast node
2020-04-15 10:10:21 -07:00
Monica Kozbial
c740d2781c
Converting json junit test to mocha. ( #3809 )
...
* Converting json_test to mocha.
* Adding exceptions to mocha eslint config.
* Address PR comments.
2020-04-14 18:17:34 -07:00
Monica Kozbial
8a2fe6411f
Converting xml tests to mocha. ( #3818 )
...
* Converting xml tests to mocha.
* Remove async
* Updating no variable test.
* Addressing PR comments.
2020-04-14 14:10:10 -07:00
Monica Kozbial
e0521265b2
Fixing event tests and removing duplicate tests. ( #3810 )
2020-04-14 13:22:06 -07:00
Monica Kozbial
b1b2af2a48
Converting utils tests to mocha and removing duplicates. ( #3813 )
...
* Converting utils tests to mocha and removing duplicates.
* Adding eslint exception for helper function.
* Splitting tokenizeInterpolation into chunks.
2020-04-14 13:21:48 -07:00
Monica Kozbial
d35b3659c8
Removed duplicate block tests and renamed tests. ( #3812 )
...
* Removed duplicate block tests and renamed tests.
* Refactor shared code and add comment about parent/middle/child.
2020-04-13 15:52:44 -07:00
Sam El-Husseini
4f9b4a707a
Add field set source block tests ( #3796 )
...
* Set the source block on fields in mocha tests.
2020-04-03 14:50:33 -07:00
Sam El-Husseini
71f7285333
Fix mutator field scale ( #3763 )
...
* Fix mutator zoom scale
2020-03-23 17:34:12 -07:00
Sam El-Husseini
1d3a1655c6
Support multiple renderer / theme combos on the same page. ( #3732 )
...
* Support multiple renderer / theme combos on the same page.
2020-03-11 20:09:00 -07:00
Sam El-Husseini
29dc7bd7f7
Adjust marker and cursor colours from the theme ( #3735 )
...
* Support adjusting marker and cursor colours from the theme
2020-03-11 11:23:29 -07:00
Sam El-Husseini
eb07793ba8
Cleanup Blockly UI components. ( #3723 )
...
* Cleanup Blockly UI components. Remove unnecessary getters
2020-03-11 10:40:16 -07:00
Beka Westberg
981c0b5d12
Fix checkbox field rerendering on setCheckChar ( #3704 )
...
* Fix checkbox field rerendering on setCheckChar
2020-02-24 11:13:48 -08:00
Sam El-Husseini
eb40ca44ba
Dynamic fonts ( #3698 )
...
* Piping themes into the renderer and ensuring fields update their size information when constants change.
2020-02-20 17:16:01 -08:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Monica Kozbial
c84ee46a89
Setting default options in workspace constructor. ( #3592 )
...
* Setting default options in workspace constructor.
* Changing logic for parsing workspace options.
* Adding gridPattern declaration to options and updating options handling for workspace.
* Addressing PR comments.
* Moving objects to constructor.
* Using constructor instead of casting for Blockly.Options.
* fix eslint
* Adding types.
* Change in type.
* eslint fix.
* Fix typings.
2020-01-17 15:16:20 -08:00
Beka Westberg
6d1bb201f7
feat: Improved procedure arg interaction. ( #3527 )
...
* feat: Improved procedure arg interaction.
* Added docs.
* Fixed typos and typings.
* Fixed typings?
* Changed visibility to private.
2020-01-07 13:55:46 -08:00
alschmiedt
6f82667d62
Fix key map ( #3539 )
...
* Update key map functions access to public
2020-01-03 16:12:40 -08:00
alschmiedt
bfa6fa6581
Removes ability to enter accessibility mode using shift click ( #3538 )
...
* Removes ability to enter accessibility mode using shift click
2020-01-03 11:21:42 -08:00
alschmiedt
4ce67bb108
Fix moving cursor when block mutates ( #3535 )
...
* Fix moving cursor when block mutates
2020-01-02 15:12:06 -08:00
alschmiedt
481fe63302
Marker manager ( #3497 )
...
* Adds a marker manager
2019-12-10 10:53:34 -08:00