Commit Graph

2771 Commits

Author SHA1 Message Date
alschmiedt
869e4eb366 Update flyout metrics to work with the new metrics manager (#4684) 2021-03-09 17:09:49 -08:00
Monica Kozbial
8b0488d71e Fix flyout scrollbar reposition edge case (#4693)
* Fix flyout scrollbar position
2021-03-09 11:32:10 -08:00
Sam El-Husseini
17d2e72ab0 Fix circular dependencies in shortcut + contextmenu registries (#4681)
* Fix circular dependencies in shortcut and contextmenu registries
2021-03-08 13:35:11 -08:00
Monica Kozbial
bea85cda1c Positionables bugfix (#4685)
* Apply fixes to positionable logic

* Update variable name and add @private annotation
2021-03-08 11:20:30 -08:00
Rachel Fenichel
855185c6cf Merge pull request #4682 from rachel-fenichel/toolbox_constants
Use Blockly.utils.toolbox.Position enum everywhere
2021-03-08 10:52:58 -08:00
Monica Kozbial
d4897061d7 Cleanup comment (#4680) 2021-03-05 15:47:00 -08: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
Rachel Fenichel
6a1ee141ea Lint 2021-03-05 14:23:43 -08: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
alschmiedt
26104d280d Update metrics to support mutators (#4679) 2021-03-05 11:44:29 -08:00
Monica Kozbial
0246e2a132 Fix flyout metrics and workspace scroll (#4674)
* Fix flyout metrics and max scroll logic in scroll

* Fix horizontal scroll wheel logic
2021-03-05 11:34:29 -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
ef8a5a1fe1 Add PluginManager (#4672)
* Add PluginManager.
2021-03-04 16:51:06 -08:00
Rachel Fenichel
1c372188de Fix tests 2021-03-04 10:23:20 -08:00
Rachel Fenichel
7f8c875b29 Fix lint 2021-03-04 10:23:20 -08:00
Rachel Fenichel
c6d6df81be Rebuild uncompressed 2021-03-04 10:23:18 -08:00
Rachel Fenichel
750b62030b First pass at creating connectionTypes and inputTYpes 2021-03-04 10:22:24 -08:00
Monica Kozbial
4844a1038c Adding single-direction scroll options to inject options (#4651)
* Adding single directions scroll config to inject options
2021-03-03 12:29:10 -08:00
Monica Kozbial
f2cec81584 Adding Positionable interface (#4669)
* Adding IPositionable interface.
2021-03-02 16:17:17 -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
Monica Kozbial
88625bc3ae Adding requiresResize check (#4649) 2021-02-26 13:40:34 -08:00
Maribeth Bottorff
4fd6d1b229 Add overrideable function to get flyout scale (#4647) 2021-02-26 12:06:27 -08:00
Rachel Fenichel
4e31deca2b Align constants -> Blockly.constants.ALIGN enum 2021-02-26 11:12:53 -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
Monica Kozbial
d42afc7e69 Add missing madding to flyout (#4657) 2021-02-25 12:00:46 -08:00
Rachel Fenichel
0b09d179ae Merge pull request #4642 from rachel-fenichel/event_data_type
Move bind/unbind events functions to new file, with example usage.
2021-02-25 12:00:22 -08:00
Monica Kozbial
dd7e365882 Scrolling readability refactor (#4643)
* Refactors scrolling logic in scrollbars and adds comments to be more readable
* Updates JSDoc description for ScrollbarPair.set and Scrollbar.set
2021-02-24 15:09:43 -08:00
Monica Kozbial
f942736a1e Erratic scroll fix (#4650)
* Resize fix

* Update fix
2021-02-23 14:35:21 -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
Monica Kozbial
cd8860058e Upgrade closure compiler (#4631)
* Add missing casts

* Update google-closure-compiler version
2021-02-23 11:06:33 -08:00
Rachel Fenichel
896ec0b637 Add jsdoc 2021-02-23 10:25:23 -08:00
Rachel Fenichel
ad37d9e5c6 More renaming 2021-02-23 10:21:46 -08:00
Rachel Fenichel
f20b06faa8 Rename checkAndBind and update comments. 2021-02-23 10:20:13 -08:00
Rachel Fenichel
ed358c8454 Renamed event_handling.js -> browser_events.js 2021-02-22 13:24:04 -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
2a3f5040e6 Move bind/unbind events functions to new file, with example usage. 2021-02-19 14:34:45 -08:00
Rachel Fenichel
2360a12493 Fix remaining trivial missing requireTypes 2021-02-19 13:17:14 -08:00
Rachel Fenichel
ea39e03b8c Merge pull request #4637 from rachel-fenichel/missing_require_feb
Fix missing requireTypes
2021-02-18 14:07:20 -08:00
alschmiedt
7b30cc76a4 Adds tests for metrics manager (#4635) 2021-02-18 13:45:53 -08:00
Rachel Fenichel
107181d6f5 Missing requires, r through v 2021-02-17 14:52:06 -08:00
Rachel Fenichel
05ab37690e Missing requiretypes, m through r 2021-02-17 14:39:15 -08:00
Rachel Fenichel
9c5521122c Fix keyboard nav requireTypes 2021-02-17 11:45:33 -08:00
Rachel Fenichel
a392fcc57c More missing requireType calls 2021-02-17 11:32:54 -08:00
Rachel Fenichel
26d2b51681 Fix missing require types 2021-02-17 11:17:48 -08:00
alschmiedt
d81703a745 Metrics register (#4630) 2021-02-12 16:16:33 -08:00
alschmiedt
a8f28c6b11 Metrics refactor (#4627) 2021-02-10 16:19:56 -08:00
Rachel Fenichel
84446215c0 Update more missing requireTypes 2021-02-10 14:59:05 -08:00