Commit Graph

2603 Commits

Author SHA1 Message Date
Sam El-Husseini
5d43d256e2 Move test blocks to dev-tools, refactor advanced playground (#4057)
* Remove remaining advanced playground actions, and remove test blocks
2020-07-24 13:53:00 -07:00
alschmiedt
0f00f42580 Adds Ability to Add a Flyout as a Plugin (#4059) 2020-07-22 17:13:19 -07:00
Monica Kozbial
26993a120f Emitting event on trashcan close. (#4056)
* Emitting event on trashcan close.
2020-07-21 13:14:29 -07:00
Monica Kozbial
e88ec53425 Hide flyout after Events are re-enabled when creating a block (#4055) 2020-07-21 12:58:40 -07:00
Monica Kozbial
64488c1402 Add listener for flyout events to playground. (#4035)
* Update workspace click and add listener for flyout events to playground.

* Fix test.

* Fix typing error

* change variable

* Update variable.
2020-07-20 14:00:03 -07:00
Rachel Fenichel
98b436031c Use registry for connection checker 2020-07-17 10:51:39 -06:00
Rachel Fenichel
815c8b8919 More deprecation 2020-07-16 17:49:51 -06:00
Rachel Fenichel
602d1b6d63 Use new deprecation warning helper 2020-07-16 17:46:49 -06:00
Rachel Fenichel
1700efc77b Add distance parameter to canConnect 2020-07-16 17:40:13 -06:00
Rachel Fenichel
3322834a9b Add deprecation warnings and tests 2020-07-16 17:40:13 -06:00
Rachel Fenichel
745017f325 Move from one, two to a, b 2020-07-16 17:40:13 -06:00
Rachel Fenichel
e47d33148e Review feedback 2020-07-16 17:40:13 -06:00
Rachel Fenichel
809148b435 Fix compiler errors 2020-07-16 17:40:13 -06:00
Rachel Fenichel
7288c66294 Rename connectionTypeChecker->connectionChecker 2020-07-16 17:40:13 -06:00
Rachel Fenichel
8ae3dc3d5e Cleanup 2020-07-16 17:40:13 -06:00
Rachel Fenichel
e24f3cef9b Add isDragging to canConnectWithReason and delete newly unused code paths. 2020-07-16 17:40:13 -06:00
Rachel Fenichel
e3c8d834cb Add todos and rebuild 2020-07-16 17:40:13 -06:00
Rachel Fenichel
01d33ce2e7 Fix type checks 2020-07-16 17:40:13 -06:00
Rachel Fenichel
450aed0aa2 More work on connection type checks 2020-07-16 17:40:12 -06:00
Rachel Fenichel
bb8348befd Move to a single canConnect function, and update tests 2020-07-16 17:40:12 -06:00
Rachel Fenichel
8c17e325b5 Update connection tests to directly use the type checker 2020-07-16 17:40:12 -06:00
Rachel Fenichel
c743a92bb9 Start work on connection type checker 2020-07-16 17:40:12 -06:00
Rachel Fenichel
5b393eed76 More cleanup 2020-07-16 14:11:48 -06:00
Rachel Fenichel
6990ac5efd Fix annotation and remove redundant 'Blockly.' 2020-07-16 14:08:27 -06:00
Rachel Fenichel
2f5663b1ec Add deprecation helper + 2 uses 2020-07-16 13:59:32 -06:00
Eric Anderson
2b8208b1e2 Perf: Move multiline xml text encoding out of domToText (#4046)
* Move multiline xml text encoding out of domToText
2020-07-14 16:32:12 -07:00
Sam El-Husseini
0f3db47fa5 Use generics to derive SVG element type (#4036)
* Encapsulate type in a generic to automatically derive type of SVG element when using createSvgElement
2020-07-13 10:40:31 -07:00
Maribeth Bottorff
e4bbd451a3 Use Context Menu registry for block-level menu options (#4032)
Use registry for block-level context menu items.
2020-07-10 19:11:48 -07:00
Monica Kozbial
40efb59a34 Unbind event handlers in dispose of zoom controls. (#4031)
* Unbind event handlers in dispose of zoom controls.

* Move event handler references to constructor.
2020-07-10 17:34:53 -07:00
Monica Kozbial
d3b8b78035 Update click event handling for workspace and trashcan. (#4024)
* Update click event handling for workspace and trashcan.

* Fix typo

* Change event name for trashcan flyout open
2020-07-10 13:23:08 -07:00
Monica Kozbial
fdd0f4f25f Emit UI event on zoom control clicks. (#4025)
* Emit UI event on zoom control clicks.

* Fix typo

* Update jsdoc for mouse event handlers.
2020-07-10 10:15:09 -07:00
Rachel Fenichel
c9c8af12a7 Remove some old deprecated functions 2020-07-08 17:31:16 -07:00
alschmiedt
459b1ef1fb Update jsdoc for keyboard nav (#4023) 2020-07-07 17:31:04 -07:00
Maribeth Bottorff
5e55d89d3b Context menu registry, initial version. (#3930)
* initial version of registry for context menu options
* Registers workspace-level context menu options
2020-07-07 10:41:53 -07:00
Sam El-Husseini
8f5966ec75 Fix field dropdown with images (#4016)
* Fix field dropdown with images
2020-07-06 10:55:00 -07:00
alschmiedt
5c4677010c Fix theme and add example (#3988) 2020-06-29 11:00:22 -07:00
Monica Kozbial
bd887665b8 Handle undefined colour (#3997) 2020-06-29 10:47:24 -07:00
Sam El-Husseini
9e7f3b07e9 Advanced compilation fixes (#3995)
* Advanced compilation fixes
2020-06-25 11:59:03 -07:00
Monica Kozbial
9d4b9884fe Fixing JSDoc syntax errors. (#3993) 2020-06-24 13:47:39 -07:00
alschmiedt
95986574cc Update Console Logs for Toolbox (#3986)
* Add check for toolbox categories

* Fix
2020-06-22 16:26:30 -07:00
Sam El-Husseini
9152c55c9f Fix multiline field not rendered in flyout (#3984) 2020-06-22 15:52:18 -07:00
Monica Kozbial
4ac4332f5e Update logic for field default values. (#3953)
* Update logic for field default values.

* Fix bugs

* Use contant for default value.

* Fix FieldColour

* Update field number tests.

* Update field angle test.

* Minor update.

* Update field checkbox test.

* Undo enabling logging

* Remove only.

* Update field colour test.

* Update invalid test cases for field colour

* Update field label tests

* Update field textinput test.

* Minor cleanup

* Make lint happy.
2020-06-12 15:18:28 -07:00
alschmiedt
4335bb6452 Add opt quiet to remove field (#3968)
* Add opt quiet to remove field
2020-06-12 14:18:28 -07:00
alschmiedt
9ec8305889 Update documentation (#3965) 2020-06-12 10:48:49 -07:00
Sam El-Husseini
c9563c1d24 Revert "Add programmatically setting shadows (#3902)"
This reverts commit 3aa1963be8.
2020-06-12 08:54:04 -07:00
alschmiedt
8585ef111c Remove @package (#3961) 2020-06-12 08:17:16 -07:00
alschmiedt
84e9802cdb Fix disposing of a workspace (#3960) 2020-06-11 14:14:18 -07:00
Sam El-Husseini
60ea4cc106 Merge branch 'master' into develop 2020-06-11 13:19:47 -07:00
Sam El-Husseini
6bcecc97db Merge pull request #3958 from samelhusseini/support_noflyout_workspace
No flyout mutator
2020-06-11 13:15:51 -07:00
alschmiedt
6811010caf Fix emitting workspace event (#3959) 2020-06-11 11:30:54 -07:00