alschmiedt
d101e591de
Removes unnecessary test
2021-07-20 13:06:39 -07:00
Monica Kozbial
2c83652733
Add missing whitespace to test files ( #5031 )
...
* Add missing spaces
* undo incorrect replaces in utils tests
2021-07-12 15:11:33 -07:00
Monica Kozbial
f837f1e44e
Add zoom support for single-direction-scroll ( #4653 )
...
* Add zoom support for single-direction scroll
2021-03-05 14:37:41 -08:00
Monica Kozbial
40ef586260
Refactoring Ui events in core ( #4418 )
...
* Ui events base (#4370 )
* Add constants for new ui event types
* Add property to indicate an event as UI event
* Click events (#4372 )
* Creating new ui base class.
* Refactor theme event (#4391 )
* Add themeName property to theme event
* Refactor marker move events. (#4389 )
* Refactor trashcan open event (#4392 )
* Refactor selected event (#4387 )
* Refactor toolbox item change event (#4394 )
* Refactor bubble open events (#4390 )
* Refactor block drag event (#4388 )
* Viewport events (#4395 )
* Fix event filtering for ui events (#4401 )
* Move events to new directory and rename Ui events base (#4400 )
* Move events to new directory and rename Ui events base
* Add missing fromJson implementation for click event (#4410 )
* Adding serialization tests for events
* Zoom controls event (#4407 )
* Refactor zoom event
* Rename IS_UI_EVENT to isUiEvent
2020-11-04 14:43:54 -08:00
Monica Kozbial
896c630a89
Shared global cleanup ( #4217 )
...
* Refactor block type cleanup into shared cleanup.
* Use shared cleanup for block type cleanup.
* Remove overwriting of core Blockly block in test.
* Rename cleanup arrays for clarity
* Add blocks to cleanup array when defined in shared helpers
* Refactor logic for adding to shared cleanup.
* Add helper for defining block and adding block type to cleanup.
* Fix jsdocs
* Simplifying helpers for adding to cleanup.
* Add missing semicolons
* Update jsdoc for sharedTestSetup
* Use stub to wrap cleanup with defineBlocksWithJsonArray
* Remove unused helper from lint ignore
2020-09-09 15:51:34 -07:00
alschmiedt
d01169fa79
Toolbox Rewrite ( #4223 )
...
Rewrite the toolbox in order to get rid of old closure code and make it easier to extend.
Co-authored-by: Maribeth Bottorff <maribethb@google.com >
2020-09-02 08:13:07 -07:00
Monica Kozbial
739b8b3adc
Viewport change event ( #4180 )
...
* Adding viewport ui event emitting and tests
* comment out viewport ui event logic and add TODO for reference
2020-08-31 18:41:20 -07:00
Monica Kozbial
a89ff37bd8
Add checks to WorkspaceSvg dispose and fix shared Workspace tests ( #4170 )
...
* Fix workspace tests and add add checks for WorkspaceSvg dispose
* Move flyout test to WorkspaceSvg
2020-08-17 10:32:55 -07:00
Monica Kozbial
b7305c1eed
Shared events cleanup ( #4092 )
...
* Remove temp fix for event queue cleanup.
* Implementing shared setup and cleanup.
* Remove unecessary restore and add comment.
* Adds helper for workspace teardown
* Remove unecessary restore calls in event tests
2020-08-03 16:50:23 -07:00
alschmiedt
d0e91a15a2
Toolbox definition ( #3891 )
...
* Add support for creating a toolbox with JSON
2020-05-13 08:16:53 -07:00
Monica Kozbial
e516a08430
Workspace svg tests ( #3857 )
...
* Converting workspace svg tests to mocha and calling workspace tests.
* Removing jsunit style test for workspace_svg.
* Fix eslint error.
2020-04-27 16:32:52 -07:00