Commit Graph

3054 Commits

Author SHA1 Message Date
alschmiedt
efb51eec6a Fix multi playground to work with style 2018-12-18 12:42:33 -08:00
alschmiedt
2fa7ab2825 Fixes setting border and updating shadow color 2018-12-18 10:57:20 -08:00
alschmiedt
5ba66a3418 Removes unnecessary event firing 2018-12-18 10:56:40 -08:00
alschmiedt
be78838335 Allows user to define style name using variables in json 2018-12-18 10:50:49 -08:00
alschmiedt
c226654b77 Adds style name constants 2018-12-18 10:47:43 -08:00
alschmiedt
75212a7413 Adds ability to choose different styles in playground 2018-12-18 10:03:55 -08:00
alschmiedt
712bfd70fe Adds three new styles 2018-12-18 10:02:10 -08:00
alschmiedt
034bcb00bb Replace setting colour to setting style in block definitions 2018-12-18 10:01:05 -08:00
alschmiedt
4918da9538 Adds ability to provide a hue value for primary colour 2018-12-12 11:39:23 -08:00
alschmiedt
fbd44c80f9 Adds tests for adding blockly styles 2018-12-11 13:25:53 -08:00
alschmiedt
56c2e5fc31 Initial commit for adding a style 2018-12-11 13:22:25 -08:00
Beka Westberg
8f81bbac25 Fixed Filter Capacity not Considering Child Blocks. (#2155) 2018-12-06 08:54:26 -08:00
Rachel Fenichel
d016932ef7 Merge pull request #2151 from mehdi-yeganeh/develop
#1848 Fixed throw console warning when deleting workspace comments
2018-12-05 09:55:57 -08:00
Mehdi Yeganeh
a20af7e413 #1848 Fixed eslint errors 2018-12-05 13:25:52 +03:30
Mehdi Yeganeh
16f2175356 #1848 Fixed throw console warning when deleting workspace comments 2018-12-05 00:53:22 +03:30
Rachel Fenichel
c08eadff6e Merge pull request #2149 from rachel-fenichel/bugfix/snap_radius
Tweak insertion marker snap radii
2018-12-03 15:30:10 -08:00
Rachel Fenichel
f5ea0f665e Tweak insertion marker snap radii 2018-12-03 11:35:28 -08:00
Rachel Fenichel
10704361d5 Merge pull request #2148 from BeksOmega/fixes/Bumping
Added randomness to bumping per Issue #2011
2018-12-03 10:58:51 -08:00
translatewiki.net
6b96528765 Localisation updates from https://translatewiki.net. 2018-12-03 07:37:22 +01:00
Beka Westberg
1b2ec7230c Added randomness to bumping per Issue #2011 2018-12-02 12:34:34 -08:00
Rachel Fenichel
3cbb137b4f Merge pull request #2147 from rachel-fenichel/bugfix/2131
Allow statement connections to connect around block stacks during drags
2018-11-30 14:51:17 -08:00
Rachel Fenichel
1553096b48 Check if both sides of a potential connection match, not just one 2018-11-30 14:46:09 -08:00
Rachel Fenichel
b606bc5ec6 Don't distinguish between first statement connection and others 2018-11-30 14:36:37 -08:00
Rachel Fenichel
5938c6df3b Fix #2131 2018-11-30 14:34:14 -08:00
Rachel Fenichel
7ec5599829 Merge pull request #2124 from google/update_chromedriver_develop
Update chromedriver version
2018-11-30 13:46:24 -08:00
Rachel Fenichel
b8d7ed1c14 Chromedriver 2.43 -> 2.44 2018-11-30 13:38:40 -08:00
alschmiedt
670e43280e Merge pull request #2144 from alschmiedt/delete_variable_menuItem
Pulls from MakeCode fork the ability to rename and delete variables i…
2018-11-29 16:31:13 -08:00
alschmiedt
9a1d6684d0 Pulls from MakeCode fork the ability to rename and delete variables in flyout 2018-11-29 14:17:56 -08:00
translatewiki.net
74b1584d30 Localisation updates from https://translatewiki.net. 2018-11-29 17:46:51 +01:00
BeksOmega
1c4ba38300 Added Max Instances Property to Workspace Options (#2130)
* Added Max Instances property to Blocks

* eslint cleanup

* eslint cleanup 2

* Moved maxInstances property from block to workspace (as a map of block type to max instances). isDuplicate() changed to correctly handle siblings/branches.

* eslint cleanup

* Changed checking types to map. Added hasBlockLimits. Fixed Nits.

* Added limit_instances test block. eslint fixes.

* fixup! Added limit_instances test block. eslint fixes.

* Changed sorting objects to a private static function of the workspace. Fixed nits. Undeleted .eslintrc

* Reverted .gitignore file.

* Added getBlockTypeCounts() to utils. Added isCapacityAvailable() to workspace. Changed clipboard to save typeCountsMap rather than object.
2018-11-27 16:34:21 -08:00
Rachel Fenichel
6169a6488f Merge pull request #2139 from rachel-fenichel/bugfix/2107
Bugfix/2107
2018-11-27 13:57:10 -08:00
Rachel Fenichel
9ed9dd2f08 Add tests 2018-11-27 13:48:23 -08:00
alschmiedt
76538e67e7 Merge pull request #2133 from alschmiedt/single_code_block
Generate Code For Single Block
2018-11-27 13:38:20 -08:00
alschmiedt
d64b6fe9e0 Changes function name 2018-11-27 13:31:32 -08:00
Rachel Fenichel
2ad4333d12 Look up variable by name if not found by ID 2018-11-27 13:02:33 -08:00
alschmiedt
f06bee4eca Fixes pull request comments 2018-11-27 09:55:15 -08:00
alschmiedt
e9773be499 Adds tests for a nested loop and disabled block 2018-11-27 09:32:48 -08:00
translatewiki.net
c03ea23000 Localisation updates from https://translatewiki.net. 2018-11-26 07:51:57 +01:00
translatewiki.net
b0601d3e5e Localisation updates from https://translatewiki.net. 2018-11-22 07:23:58 +01:00
alschmiedt
6366d7be24 Tests blockToCode function for all generators 2018-11-21 11:45:25 -08:00
Abby Schmiedt
26a4774b35 Adds option to generate code for a single block 2018-11-21 09:00:29 -08:00
Rachel Fenichel
c7b502820b Merge pull request #1987 from rachel-fenichel/feature/insertion_markers
Insertion markers in Blockly!
2018-11-19 16:32:15 -08:00
Rachel Fenichel
ff901a7773 Comment cleanup; remove logs 2018-11-19 16:26:18 -08:00
Rachel Fenichel
24492967ce Merge pull request #2126 from rachel-fenichel/update_selenium
Update selenium version
2018-11-19 15:20:39 -08:00
Rachel Fenichel
13740f4c84 Add tests for canConnectToPrevious 2018-11-19 14:50:00 -08:00
Rachel Fenichel
779e70f640 Update selenium version 2018-11-19 13:28:59 -08:00
Rachel Fenichel
ef23820b83 Add private annotation 2018-11-19 13:00:10 -08:00
Rachel Fenichel
a8b0b90c6f Add warning for default case in canConnectToPrevious_ 2018-11-19 12:55:04 -08:00
Rachel Fenichel
d70e89d1e0 Cleanup 2018-11-19 12:51:18 -08:00
Rachel Fenichel
991b70410e Minor cleanup 2018-11-19 12:44:43 -08:00