Commit graph

16 commits

Author SHA1 Message Date
Rachel Fenichel
ab5d4e7b9d Lint in block definitions 2018-05-02 15:58:36 -07:00
Andrew Sliwinski
2c0bf6b896 Move all block strings into messages.js 2018-04-23 16:11:05 -04:00
Ken
a45d8ad6ab Add [string] contains [string] block ()
* Add [string] contains [string] block

* Add [string] contains [string] to palette

* Add second input 😒

* Update as per requested changes
2017-08-23 09:54:15 -04:00
Rachel Fenichel
cb402aeb21 Use blockly extensions for more block definitions ()
* Convert more categories of blocks

* More blockly extensions

* Add missing requires

* Add comments and annotations to the vertical_extensions file

* Fix build problems
2017-06-19 16:31:13 -07:00
Andrew Sliwinski
ca0b32a613 Do not accept an input for some drop-down menus ()
* Do not accept an input for some drop-down meuns. Resolves GH-827

* Convert motion_setrotationstyle dropdown to field_dropdown
2017-03-10 16:55:42 -05:00
Airhogs777
d7745b12fd Classify blocks by category ()
* boilerplate for category attribute

* style tweaks for Travis

* I read up on valid-jsdoc

* add to horizontal as well

* categories for vertical/event

* categories for vertical/data

* categories for vertical/control

* categories for vertical/looks

* categories for vertical/more

* categories for vertical/motion

* categories for vertical/operators

* categories for vertical/pen

* categories for vertical/senising

* rename Blockly.Categories.sounds to Blockly.Categories.sound

* add categories for vertical/sound

* categories for horizontal/control

* categories for horizontal/event

* categories for horizontal/wedo -- based off of color instead of adding wedo category
2016-09-30 16:42:39 -04:00
Tim Mickel
ff65bc54f6 Block consistency improvements, fix ()
* Block consistency improvements, fix 

* Recompile Sept. 14
2016-09-14 13:18:43 -04:00
Tim Mickel
37dcd9b045 Blocks lint and licenses () 2016-07-11 11:00:33 -04:00
Tim Mickel
c7fa4cb8e5 As a demo, round string-type outputs () 2016-07-05 10:05:56 -04:00
Tim Mickel
e94765b0ef More motion and looks blocks ()
* Add more motion blocks: set/change x/y, x/y reporters

* Add selection of looks blocks; recompile
2016-06-29 23:42:06 -04:00
Rachel Fenichel
c79f4929dd Add json property for adding a checkbox in the flyout 2016-06-29 13:38:07 -07:00
Tim Mickel
553c825d7a Separate output edge shapes from output types ()
* Separate output shape from type checking.

* Fix enum check in actual output shape rendering.

* Add output shapes for most relevant blocks.

* Bring back and update output shapes for unoccupied connections.

* Fix output shapes for boolean-type operators

* Update type-checking in blocks to match Scratch 2.0
2016-06-23 19:04:20 -04:00
Tim Mickel
85578d8c7c Color fixes for text drop-down menus ()
* Add class for drop-down text colour; remove arrow special case

* Use secondary colours in drop-down blocks

* Add comment about updateTextNode_ resetting the class
2016-06-13 19:06:12 -04:00
Tim Mickel
980a1fbbee Convert mathop menu to a shadow block () 2016-06-12 19:37:47 -04:00
Tim Mickel
c93f546275 Fix output type of "length" block () 2016-06-10 15:56:13 -04:00
Tim Mickel
046ff23b6f Add full set of Scratch operators; remove some of Blockly's ()
* Add full set of Scratch operators; remove some of Blockly's

-All operators in Scratch 2.0
-Remove blocks/logic.js
-Remove all but the "primitive" numbers from math.js
-Update vertical playground

* Fix text in operator_equals block
2016-06-10 15:52:27 -04:00