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 |
|
Sam El-Husseini
|
db40e44b7c
|
Move Blockly.utils.dom.SvgElementType to Blockly.utils.Svg (#4285)
* Move SVGElementType to its own file shaving off 2.7KB
|
2020-09-16 14:42:58 -07:00 |
|
alschmiedt
|
22d598484f
|
Update blockToDom types to include document fragments (#4280)
|
2020-09-16 10:51:09 -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 |
|
Beka Westberg
|
af9be6d9c3
|
Update some inline docs in block.js (#4241)
* Update some inline docs in block.js
* Fix build error
|
2020-09-01 10:27:17 -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 |
|
alschmiedt
|
0f00f42580
|
Adds Ability to Add a Flyout as a Plugin (#4059)
|
2020-07-22 17:13:19 -07:00 |
|
Rachel Fenichel
|
7288c66294
|
Rename connectionTypeChecker->connectionChecker
|
2020-07-16 17:40:13 -06:00 |
|
Rachel Fenichel
|
c743a92bb9
|
Start work on connection type checker
|
2020-07-16 17:40:12 -06: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 |
|
Rachel Fenichel
|
c9c8af12a7
|
Remove some old deprecated functions
|
2020-07-08 17:31:16 -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
|
9e7f3b07e9
|
Advanced compilation fixes (#3995)
* Advanced compilation fixes
|
2020-06-25 11:59:03 -07:00 |
|
alschmiedt
|
84e9802cdb
|
Fix disposing of a workspace (#3960)
|
2020-06-11 14:14:18 -07:00 |
|
alschmiedt
|
14479fd7e2
|
Update Toolbox Interface (#3934)
* Update toolbox interface
|
2020-06-08 09:17:38 -07:00 |
|
alschmiedt
|
00df97a59d
|
Add plugin options (#3922)
* Adds a plugin through options
* Fix requires
* Fix pr comments
|
2020-05-29 13:22:25 -07:00 |
|
alschmiedt
|
6bc60894db
|
Toolbox interface (#3918)
* Add toolbox interface
|
2020-05-27 10:06:18 -07:00 |
|
Sam El-Husseini
|
e3babee1f3
|
Add Blockly.utils.Metrics @record (#3913)
* Add Blockly.utils.Metrics
|
2020-05-21 15:03:17 -07:00 |
|
Sam El-Husseini
|
317834ff59
|
Add accessibility interfaces and fix navigation types (#3908)
* Add accessibility interfaces and fix navigation types
|
2020-05-21 11:18:10 -07:00 |
|
Sam El-Husseini
|
6809f63555
|
Rename bounding box to bounded element (#3909)
|
2020-05-20 11:21:26 -07:00 |
|
Sam El-Husseini
|
fd916fdb9b
|
Bounding Box interface (#3906)
* Add an interface describing a bounding box registered on the workspace
* Clear the bounding box array
* PR comments
* Update chromedriver
|
2020-05-19 18:06:11 -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
|
a9223b0b22
|
Typo fixes. (#3769)
|
2020-03-25 15:47:27 -07:00 |
|
Sam El-Husseini
|
71f7285333
|
Fix mutator field scale (#3763)
* Fix mutator zoom scale
|
2020-03-23 17:34:12 -07:00 |
|
alschmiedt
|
7d5dcf6562
|
Move registering objects to constructor (#3753)
|
2020-03-17 13:57:10 -07:00 |
|
Sam El-Husseini
|
1d3a1655c6
|
Support multiple renderer / theme combos on the same page. (#3732)
* Support multiple renderer / theme combos on the same page.
|
2020-03-11 20:09:00 -07:00 |
|
Sam El-Husseini
|
29dc7bd7f7
|
Adjust marker and cursor colours from the theme (#3735)
* Support adjusting marker and cursor colours from the theme
|
2020-03-11 11:23:29 -07:00 |
|
Sam El-Husseini
|
13ac939b91
|
Support passing renderer overrides in options (#3734)
* Support passing in renderer options through workspace options.
|
2020-03-10 18:36:29 -07:00 |
|
alschmiedt
|
52e76dfa1d
|
Make keyboard accessibility public (#3729)
|
2020-03-09 17:46:44 -07:00 |
|
Beka Westberg
|
ec8d76f143
|
Add workspace comment context menu option to playground (#3708)
* Add WScomment context menu option to playground
|
2020-02-25 14:32:51 -08:00 |
|
Monica Kozbial
|
4432ca2e93
|
Cleanup centerOnBlock. (#3699)
|
2020-02-24 13:35:36 -08:00 |
|
Sam El-Husseini
|
eb40ca44ba
|
Dynamic fonts (#3698)
* Piping themes into the renderer and ensuring fields update their size information when constants change.
|
2020-02-20 17:16:01 -08: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
|
ee9a55ec79
|
Fix flyouts (#3645)
* Set toolboxPosition after options have been parsed
* Final toolbox position update
|
2020-01-23 14:23:25 -08:00 |
|
Sam El-Husseini
|
70f42b3395
|
Fix parsing and passing of workspace options around Blockly (#3616)
|
2020-01-21 13:29:03 -08:00 |
|
Monica Kozbial
|
c84ee46a89
|
Setting default options in workspace constructor. (#3592)
* Setting default options in workspace constructor.
* Changing logic for parsing workspace options.
* Adding gridPattern declaration to options and updating options handling for workspace.
* Addressing PR comments.
* Moving objects to constructor.
* Using constructor instead of casting for Blockly.Options.
* fix eslint
* Adding types.
* Change in type.
* eslint fix.
* Fix typings.
|
2020-01-17 15:16:20 -08:00 |
|
Beka Westberg
|
6d1bb201f7
|
feat: Improved procedure arg interaction. (#3527)
* feat: Improved procedure arg interaction.
* Added docs.
* Fixed typos and typings.
* Fixed typings?
* Changed visibility to private.
|
2020-01-07 13:55:46 -08:00 |
|
Monica Kozbial
|
835a6120a2
|
Removing leftover constant MIN_BLOCK_Y in BlockSvg. (#3552)
|
2020-01-06 16:34:51 -08:00 |
|
alschmiedt
|
a1ed9ab791
|
Update component names (#3549)
|
2020-01-06 13:18:15 -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 |
|
Sam El-Husseini
|
5852bef90d
|
Inject constants CSS in createDom (#3502)
* Inject constants CSS in createDom instead. Use a random identifier to pre-emptively set CSS that uses the disabled pattern id.
|
2019-12-10 15:00:32 -08:00 |
|
alschmiedt
|
481fe63302
|
Marker manager (#3497)
* Adds a marker manager
|
2019-12-10 10:53:34 -08:00 |
|
Sam El-Husseini
|
55997784ca
|
Move blockStyles into constants (#3485)
* Move blockStyles into constants.
|
2019-12-06 10:51:36 -08:00 |
|
alschmiedt
|
10b3a9aa9a
|
Refactor marker and cursor (#3484)
* Refactor marker and cursor
|
2019-12-04 14:50:58 -08:00 |
|
Neil Fraser
|
a15d9611d0
|
Add missing requires.
|
2019-11-12 13:15:06 -08:00 |
|
alschmiedt
|
40bdfac017
|
Fix setting focus for workspace (#3425)
* Fix setting focus for workspace
|
2019-11-11 16:44:58 -08:00 |
|
Sam El-Husseini
|
fdc50f2cd0
|
Add the theme name to the injection div (#3413)
* Set the theme name as a class on the injection div.
|
2019-11-07 15:19:58 -08:00 |
|
Sam El-Husseini
|
30343c8cf6
|
Move the theme manager into WorkspaceSvg (#3400)
|
2019-11-05 10:44:51 -08:00 |
|
Rachel Fenichel
|
13e4d671c3
|
Moved setHighlighted and setDisabled into the path object.
|
2019-11-01 14:28:51 -07:00 |
|