Monica Kozbial
0af6bc4b01
Remove unused parameters from test helpers ( #5032 )
2021-07-13 13:13:06 -07:00
alschmiedt
a3adc42e8a
Remove keyboard navigation from core ( #4593 )
2021-01-19 11:50:51 -08:00
Monica Kozbial
637497148d
Renaming ui event properties and updating documentation for consistency ( #4432 )
...
* Renaming properties and updating documentation for consistency
* Update more properties
* fix tests
2020-11-05 11:40:17 -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
Monica Kozbial
332ff10672
Test gesture triggered events and event assertion refactor ( #4155 )
...
* Refactor event assertion helpers and add assertions to gesture test.
2020-08-12 13:27:37 -07:00
Monica Kozbial
b0b3c67b90
Support dispatching pointer events in click tests ( #4154 )
...
* Add helpers for simulating mouse click.
* Update field and workspace click tests.
2020-08-11 11:17:33 -07:00
Monica Kozbial
2e92123314
Adding async cleanup to tests ( #4103 )
...
* Adding setup and teardown to more mocha tests.
* Update workspace dispose cleanup calls.
2020-08-05 16:00:00 -07:00
Monica Kozbial
3868db3221
Refactor shared ( #4066 )
...
* Refactoring event helpers.
* Fix concurrent test failure.
2020-07-24 14:49:39 -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
e1a221de30
Fix tests
2020-07-17 11:23:39 -06:00
Monica Kozbial
0adf7efd5f
Converting jsunit asserts to chai. ( #3831 )
...
* Converting jsunit asserts to chai.
* Move jsunit functions to test_utilities.
* Adding eslint exception for helper method.
2020-04-17 16:08:46 -07:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
alschmiedt
bfa6fa6581
Removes ability to enter accessibility mode using shift click ( #3538 )
...
* Removes ability to enter accessibility mode using shift click
2020-01-03 11:21:42 -08:00
alschmiedt
4ce67bb108
Fix moving cursor when block mutates ( #3535 )
...
* Fix moving cursor when block mutates
2020-01-02 15:12:06 -08:00
alschmiedt
cbf867f441
Add keyboard navigation support for multiple workspaces ( #3352 )
...
* Add keyboard navigation support for multiple workspaces
2019-10-28 12:53:51 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
alschmiedt
2c98ecaed6
Update APIs and Add New Cursor Look ( #3009 )
...
* Updates methods to be private in navigation.js
* Update cursor with new look
2019-09-16 12:33:43 -07:00
alschmiedt
e8f328aa28
Fix enable accessibility ( #2968 )
...
* Enables accessibility mode should make the cursor visible
2019-09-05 14:05:52 -07:00
Sam El-Husseini
419451932a
Convert gesture junit tests to mocha ( #2875 )
2019-08-20 13:17:28 -07:00