alschmiedt
f480b1ff79
Changes Blockly style to be Blockly theme.
2019-01-08 11:40:57 -08:00
alschmiedt
1f742bf83d
Fixing review comments
2019-01-07 10:38:49 -08:00
alschmiedt
bca5fd36d3
Fix failing test
2019-01-03 13:20:28 -08:00
alschmiedt
bfc55ada27
Fixes refresh on simple toolbox withno categories
2019-01-03 12:56:19 -08:00
alschmiedt
d3a603ffd9
Update the style on blocks in the mutator
2018-12-21 09:00:55 -08:00
alschmiedt
1b3955d9d6
Fixing review comments
2018-12-21 07:52:50 -08:00
alschmiedt
ebe8492d3d
Add error message for when style is not set
2018-12-20 09:04:45 -08:00
alschmiedt
f125065a17
Merge branch 'develop' of https://github.com/alschmiedt/blockly into blockly_colours
2018-12-19 10:39:10 -08:00
alschmiedt
9afe497b7e
Fixes jsdocs
2018-12-19 08:45:20 -08:00
alschmiedt
b9efa72161
Small cleanup
2018-12-18 14:05:44 -08:00
Sandeep Dubey
b5146036e1
Fix #1632 : Added alt attribute to the field image. ( #2178 )
...
* Added alt for field image.
* Removed lint issues.
2018-12-18 13:38:53 -08:00
alschmiedt
2481274406
Small cleanup
2018-12-18 13:36:23 -08:00
Beka Westberg
dcae85dd4f
Added maxTrashcanContents Property to Workspace Options ( #2183 )
...
* Added maxTrashcanContents property to workspace options.
* Changed default with trashcan to 32.
2018-12-18 13:22:43 -08:00
Rachel Fenichel
468df8749f
Merge pull request #2176 from BeksOmega/fixes/2175
...
Changed Warnings to Interact Properly with Collapsing/Expanding.
2018-12-18 11:09:49 -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
Rachel Fenichel
b3ef429d74
Merge pull request #2180 from epicfaace/feature/scroll
...
Scroll very long context menus
2018-12-18 09:21:33 -08:00
Ashwin Ramaswami
2cc3a8b3d9
Scroll very long context menus
2018-12-18 08:41:14 -05:00
Beka Westberg
8241068630
Updated JSDoc.
2018-12-17 15:29:25 -08:00
Rachel Fenichel
261a067a31
Merge pull request #2157 from BeksOmega/feature/TrashcanContents
...
Added flyout to trashcan to "get back" deleted blocks.`
2018-12-17 15:23:17 -08:00
Beka Westberg
44df2d4680
Changed parent blocks to display "Collapsed blocks contain warnings." instead of having warnings "bubble up" from children. Added message to msg/messages.js .
2018-12-17 14:54:56 -08:00
Beka Westberg
f16cdf912d
Changed Warnings to Interact Properly with Collapsing/Expanding.
2018-12-15 15:52:34 -08:00
Rachel Fenichel
e182f43d12
Disable insertion markers for the December 2018 release
2018-12-14 10:57:39 -08:00
alschmiedt
91cc05abf3
Merge pull request #2168 from alschmiedt/procedure_events
...
Groups events fired during field input change
2018-12-13 14:55:45 -08:00
alschmiedt
4bd21c5128
Added todo
2018-12-13 14:39:27 -08:00
alschmiedt
aae15f01f4
Groups events fired during field input change
2018-12-13 12:52:55 -08:00
Beka Westberg
77ee4c8e22
Reverted to storing xml as text.
2018-12-12 15:20:12 -08:00
RoboErikG
e49d07dd16
Propagate the event group when enforcing bounds on blocks ( #2163 )
...
Fixes #1653
Makes the bounds checker created in inject correctly set the event group
before moving blocks in bounds.
When a workspace can't scroll the inject method sets up an event listener
to bump blocks back into the visible bounds when dropped off the edge. The
event group wasn't being used, though, causing the move to be a separate
undo step. When undone, this would get you stuck in a loop where the
workspace would keep pulling it back into the visible range.
2018-12-12 13:03:25 -08:00
alschmiedt
4918da9538
Adds ability to provide a hue value for primary colour
2018-12-12 11:39:23 -08:00
Beka Westberg
39b7f95827
Renamed var block to node in cleanBlockXML_.
2018-12-12 06:50:35 -08:00
Beka Westberg
5f2d5df321
Fixed nits. Changed contents to store XML. Added removing IDs from all descendants. Removed deleteNext.
2018-12-11 16:46:24 -08:00
alschmiedt
56c2e5fc31
Initial commit for adding a style
2018-12-11 13:22:25 -08:00
Beka Westberg
31daf37922
Fixed lid angle not being set property through events.
2018-12-10 16:43:18 -08:00
Ashwin Ramaswami
8422f931f1
Handle promise rejection for sound.play() in preload ( #2162 )
2018-12-10 15:25:21 -08:00
Rachel Fenichel
c9411dfa33
Merge pull request #2159 from mehdi-yeganeh/develop
...
#172 , Fixed [Edge, IE] Zoom control mouseover is not clipped
2018-12-10 11:01:28 -08:00
Mehdi Yeganeh
fc47878f2a
#172 , Fixed [Edge, IE] Zoom control mouseover is not clipped
2018-12-08 16:37:03 +03:30
Mehdi Yeganeh
56d5f166de
#172 , Fixed [Edge, IE] Zoom control mouseover is not clipped
2018-12-08 16:16:59 +03:30
Beka Westberg
15b34f7e73
Added flyout to trashcan to "get back" deleted blocks.`
2018-12-07 10:44:24 -08:00
Beka Westberg
8f81bbac25
Fixed Filter Capacity not Considering Child Blocks. ( #2155 )
2018-12-06 08:54:26 -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
f5ea0f665e
Tweak insertion marker snap radii
2018-12-03 11:35:28 -08:00
Beka Westberg
1b2ec7230c
Added randomness to bumping per Issue #2011
2018-12-02 12:34:34 -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
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
alschmiedt
76538e67e7
Merge pull request #2133 from alschmiedt/single_code_block
...
Generate Code For Single Block
2018-11-27 13:38:20 -08:00