Andy O'Neill
ffcd546474
feat: add quaternary color for selected dropdowns
2023-03-02 13:46:07 -05:00
Florrie
564d3ca8c2
Sort list context menu
2019-04-23 18:22:49 -03:00
Florrie
bdf8cfc7f7
Sort context menu variable list
2019-02-04 16:19:52 -04:00
Karishma Chadha
6042702f4f
Do not include own variable name in variable reporter context menu.
2018-12-12 14:01:03 -05:00
Paul Kaplan
2f659d4375
Use variable IDs and setValue instead of variable names and setText for context menu callbacks
2018-12-04 15:54:51 -05:00
Rachel Fenichel
149dd3ff29
Add a context menu to the list getter block ( #1749 )
2018-10-24 15:28:57 -04:00
Florrie
5e88c4f2e5
Localize 'item # of value in list' block
2018-09-12 19:40:48 -03:00
Andrew Sliwinski
6ac04d677a
Add "delete all of [list]" block
2018-07-11 13:15:00 -04:00
Andrew Sliwinski
7e08190329
Add various missing translation strings. Resolves GH-1490
2018-05-13 13:34:33 -04:00
Eric Rosenbaum
ae628d59b7
Merge pull request #1425 from towerofnix/itemnum-blocks
...
Add "item # of (thing) in (list)" block
2018-05-03 18:10:39 -04:00
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
Florrie
dcc78df7f4
Add item-number block
2018-03-31 10:35:42 -03:00
Karishma Chadha
19be9aee19
Fixing issue with renaming variable not updating field variable getters on the workspace. Code cleanup of rename option callback.
2018-01-19 09:21:18 -05:00
Karishma Chadha
62b85298dc
Temporary fix for delete variable option not working from context menu of field_variable_getter from the flyout. This will be fixed upstream.
2018-01-18 15:03:46 -05:00
Karishma Chadha
8eb243f150
Making field variable getter work with newest changes.
2018-01-18 15:03:46 -05:00
Jacob Bloom
c4c2198375
Add data-lists to Blockly.Categories now that list blocks are a separate color from scalar variable blocks
2017-12-16 22:30:25 -07:00
kchadha
c9348d2449
Merge pull request #1267 from kchadha/change-list-color
...
Changing color of list blocks
2017-12-04 17:25:37 -05:00
Paul Kaplan
6504334326
Add the definitions for show/hide variable blocks, hide in toolbox.
...
By commenting out the definitions, instead of the toolbox addition, we
are breaking imported projects that use these blocks.
2017-12-01 11:41:29 -05:00
Karishma Chadha
b2b7f7d2ff
Changing color of list blocks to differentiate from varaible blocks (according to color chart in issue #600 ).
2017-11-29 11:57:55 -05:00
Paul Kaplan
998e36f01e
Fix renaming variable from getter context menu
2017-11-02 10:41:59 -04:00
Paul Kaplan
78a842fea4
Merge pull request #1021 from marisaleung/develop_addingListsWithVariableTypeChecksMerged
...
Create data_flyout.js and add lists to the flyout.
2017-08-11 08:55:05 -04:00
Tim Mickel
9be92744f3
Center variable reporter; fix field centering to work for it
2017-08-01 00:21:32 -04:00
marisaleung
bf7f8bbaeb
Adding lists!
2017-07-25 15:03:40 -07:00
marisaleung
2396faacd8
Add customcontextmenu in flyout.
2017-07-06 13:06:48 -07:00
Rachel Fenichel
f5de79ee4f
Fix #968 ( #972 )
2017-06-22 14:42:03 -07:00
marisaleung
afff833e98
Merge pull request #965 from marisaleung/develop_bug964
...
Fix Variable Getter Context Menu Bug.
2017-06-20 13:40:53 -07:00
Rachel Fenichel
cb402aeb21
Use blockly extensions for more block definitions ( #945 )
...
* 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
marisaleung
34f546a3f3
Fix Variable Getter Context Menu Bug.
2017-06-19 13:28:49 -07:00
Rachel Fenichel
e50b22ea63
Set block color with extensions ( #950 )
...
* Use extensions to share color and shape between some blocks
* Fix build problem
* And remove spurious require
2017-06-15 19:13:35 -07:00
Paul Kaplan
ead4916e53
Use variable field directly instead of shadow
2017-06-14 16:30:56 -04:00
Rachel Fenichel
09dc7c1b54
Revert "Use extensions to share color and shape between some blocks ( #938 )" ( #947 )
...
This reverts commit c7afcda275
.
2017-06-14 10:49:34 -07:00
Rachel Fenichel
c7afcda275
Use extensions to share color and shape between some blocks ( #938 )
2017-06-13 14:27:57 -07:00
Paul Kaplan
58901f2e83
Remove show and hide variable blocks for now ( #909 )
2017-05-31 13:46:10 -04:00
Rachel Fenichel
c9182b97fa
Add variable getter field
2017-02-22 13:49:39 -08:00
Tim Mickel
d65c274652
Text+drop-downs and number+drop-downs ( #662 )
...
* Don't force text-centering around FIELD_WIDTH if arrow present
* Add dark arrow asset
* Refactor FieldNumber restrictor generator to be static
* Allow disabling of FieldDropDown colour changing
* Add FieldTextDropDown and FieldNumberDropDown
* Add number drop-downs to list blocks
* Add docs
* Update `setArgType` -> `addArgType`
* Ensure arrow only created once
* Update list index min
* Refactor shared components of num restriction
* Line breaks
* Clear touch identifier
* Clear touch identifier when text drop-down closed
* Inheritance simplification
2016-10-05 17:14:33 -04:00
Airhogs777
d7745b12fd
Classify blocks by category ( #638 )
...
* 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
b00dcd7ace
Rename data_list -> data_listcontents, fix #612 ( #628 )
2016-09-27 12:01:36 -04:00
Tim Mickel
ef2899fc1d
Temporary list blocks ( #598 )
2016-09-15 16:45:45 -04:00
Tim Mickel
37dcd9b045
Blocks lint and licenses ( #505 )
2016-07-11 11:00:33 -04:00
joaoh1
5bf6358ff7
Added Variable Blocks ( #496 )
...
* Added Variables
* Fixed somethings
* Fixed More things
* Fixed again -_-
2016-07-07 15:49:25 -04:00