kozbial
6bf443bdd6
Migrate core/toolbox/separator.js named requires
2021-08-03 15:32:13 -07:00
kozbial
bce1136500
Migrate core/toolbox/separator.js to goog.module
2021-08-03 15:32:13 -07:00
kozbial
582b67ae7b
Migrate core/toolbox/separator.js to ES6 const/let
2021-08-03 15:32:13 -07:00
kozbial
4eed760a19
Fix eslint disable lines
2021-07-30 15:53:51 -07:00
kozbial
7596388124
clang-format core/toolbox/toolbox_item.js
2021-07-30 15:53:51 -07:00
kozbial
65608065ea
Migrate core/toolbox/toolbox_item.js named requires
2021-07-30 15:53:51 -07:00
kozbial
af3f04b508
Migrate core/toolbox/toolbox_item.js to goog.module
2021-07-30 15:53:51 -07:00
kozbial
7f5ec67860
Fix lint warnings in core/toolbox/collapsible_category.js
2021-07-29 16:54:07 -07:00
kozbial
17bc528039
Add eslint disable for requireType in core/toolbox/collapsible_category.js
2021-07-29 16:54:07 -07:00
kozbial
c3521b7eb4
clang-format core/toolbox/collapsible_category.js
2021-07-29 16:54:07 -07:00
kozbial
d7a864a498
Migrate core/toolbox/collapsible_category.js named requires
2021-07-29 16:54:07 -07:00
kozbial
41b53c50cd
Migrate core/toolbox/collapsible_category.js to goog.module
2021-07-29 16:54:07 -07:00
kozbial
787145acf4
Migrate core/toolbox/collapsible_category.js to ES6 const/let
2021-07-29 16:54:07 -07:00
Neil Fraser
b3c94db951
Revert "Revert "Group field edits together for undo/redo""
...
This reverts commit 344ebcfd02 .
2021-07-12 09:38:04 -07:00
Neil Fraser
344ebcfd02
Revert "Group field edits together for undo/redo"
...
This reverts commit 33ad2448b8 .
2021-06-29 11:35:21 -07:00
Neil Fraser
33ad2448b8
Group field edits together for undo/redo
...
Fixes #4189 .
Also use 0 instead of 0px, in accordance with the rest of Blockly and Google’s CSS style guide.
2021-06-29 09:57:25 -07:00
Monica Kozbial
7b286dbf82
Update the registered component ids ( #4898 )
2021-06-17 17:50:04 -07:00
Monica Kozbial
7d45b531ac
Update toolbox drag target when visibility changes ( #4919 )
2021-06-17 15:17:36 -07:00
alschmiedt
a46dbb37e7
Fixes workspace scroll bug ( #4921 )
2021-06-16 08:18:28 -07:00
Monica Kozbial
34fce2c1cb
Moves toolbox cursor styling out of block_dragger ( #4896 )
2021-06-11 18:02:40 -07:00
Monica Kozbial
a17cb7f12e
Adding parameter to dragEnter and dragExit ( #4890 )
...
* introduce IDraggable interface
* Add parameter to drag methods in IDragTarget
* combines bubble/drag methods on IDragTarget and IDeleteArea to take an IDraggable element
2021-06-11 12:58:26 -07:00
Monica Kozbial
2005576036
Add onDragOver and wouldDelete_ to DeleteArea ( #4888 )
...
* keep track of state for whether the block or bubble would be deleted for use with drag enter exit
* Check if block and bubble is deletable in IDeleteArea
* Add to jsdoc of IDeleteArea
2021-06-10 16:27:04 -07:00
Monica Kozbial
0014ad3257
Add id to component interface ( #4887 )
2021-06-10 16:03:43 -07:00
Monica Kozbial
d2579a7369
Add removeComponent to ComponentManager ( #4884 )
2021-06-09 22:29:33 -07:00
Monica Kozbial
11390341b1
Adding IDragTarget support. ( #4852 )
2021-06-09 13:59:22 -07:00
Neil Fraser
cff7b359f4
Make comments more consistent.
2021-06-09 11:41:42 -07:00
Neil Fraser
76b5517008
Use null-prototype objects for maps
...
A {} has a bunch of names already defined on it (like ‘toString’). When using an object as a map with arbitrary keys, it should not inherit from Object.prototype.
2021-06-09 11:41:42 -07:00
Monica Kozbial
5344ad6c21
Add support for IAutoHideable ( #4855 )
2021-05-27 17:01:11 -07:00
Neil Fraser
dd0314bc0b
Normalize comments
2021-05-19 09:57:14 -07:00
Sam El-Husseini
f2f878db8c
Fix multiple strict require warnings ( #4793 )
2021-04-21 16:46:04 -07:00
Sam El-Husseini
0cc79b1366
Fix missing require - constructors ( #4676 )
...
* Fix missing constructors
2021-04-21 12:11:13 -07:00
alschmiedt
d58c80db76
Refactor flyout and toolbox metrics ( #4648 )
2021-03-15 12:37:23 -07:00
Rachel Fenichel
f7e0d5f4ea
Use existing toolbox position enum
2021-03-05 14:16:43 -08:00
Rachel Fenichel
59084a043c
TOOLBOX_AT_TOP and friends -> constants.toolboxPosition.TOP, etc
2021-03-05 13:48:45 -08:00
Sam El-Husseini
63d26dc186
Add extra requires check ( #4677 )
...
* Add extra requires check
2021-03-05 09:50:51 -08:00
Monica Kozbial
57749e6eb8
Updating bump logic to support single-direction scrollbars ( #4652 )
...
* Updating bump logic to support single-direction scrollbars
2021-03-01 12:20:12 -08:00
Sam El-Husseini
5780399750
Use registry for creating the no-category flyout ( #4659 )
...
* Use registry for creating the horizontal / vertical flyout
2021-03-01 10:00:47 -08:00
Sam El-Husseini
f97730e83c
Sort requires ( #4658 )
...
* Cleanup gulp method to sort requires
2021-02-25 17:17:42 -08:00
Sam El-Husseini
ab8a11784d
Fix event related missing requires ( #4656 )
...
* Fix event related missing requires
2021-02-25 14:28:11 -08:00
Rachel Fenichel
1d8c234d33
Update uses of bindEvent_, bindEventWithChecks_, and unbindEvent_. Add missing requires for Blockly.browserEvents.
2021-02-23 11:23:28 -08:00
Rachel Fenichel
54c4e8de39
Rename Blockly.eventHandling->Blockly.browserEvents and replace all Blockly.EventData annotations
2021-02-22 13:23:19 -08:00
Rachel Fenichel
107181d6f5
Missing requires, r through v
2021-02-17 14:52:06 -08:00
alschmiedt
a3adc42e8a
Remove keyboard navigation from core ( #4593 )
2021-01-19 11:50:51 -08:00
alschmiedt
1043257f87
Fix ios12 bug ( #4517 )
...
* Changes mousedown to click event
2020-12-11 09:47:35 -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
alschmiedt
f1498e7f07
Keyboard shortcuts ( #4421 )
...
* Adds shortcut registry and removes action and key map (#4398 )
* Adds Shortcut tests and refactored navigation tests (#4412 )
* Adds shortcut items (#4408 )
* Add shortcuts for navigation (#4409 )
* Add final keyboard shortcut cleanup (#4413 )
2020-11-02 13:30:05 -08:00
alschmiedt
edbd6991b4
Small fixes to the toolbox ( #4380 )
2020-10-19 09:43:41 -07:00
Sam El-Husseini
fba35d342c
Add missing require Blockly.constants ( #4366 )
2020-10-12 17:56:42 -04:00
alschmiedt
a0c0b86679
Fix toolbox types ( #4355 )
2020-10-07 11:04:10 -07:00
alschmiedt
64fe425944
Fix toolbox resize problem ( #4340 )
2020-09-30 12:55:27 -07:00