Beka Westberg
5ffd43824f
Change lastConnectionInRow to getPlaceForOrphanedOutput - Take 2 ( #4851 )
...
* Change lastConnectionInRow to getPlaceForOrphanedOutput
* PR comments
2021-05-26 09:16:33 -07:00
Neil Fraser
dd0314bc0b
Normalize comments
2021-05-19 09:57:14 -07:00
Neil Fraser
4436e2814d
Use localeCompare’s case insensitivity option
...
Variables and procedures now sorted using local rules, not Unicode code points. Verified that ’sensitivity’ survives Closure compiler without quotes.
2021-05-19 09:57:14 -07:00
Neil Fraser
707b42e79b
Rename ‘type’ to ‘realm’ within Blockly.Names
...
Elsewhere ’type’ refers to int/float/string when referencing variables. This change is local and has no API effect.
2021-05-19 09:57:14 -07:00
Rachel Fenichel
d1aedd9cd5
Merge pull request #4798 from BeksOmega/fix/get-def-procedures
...
Fix getDefinition not working for modified/new procedures
2021-05-11 09:08:48 -07:00
Beka Westberg
75319312c1
Revert "Move ProcedureBlock to interface"
...
This reverts commit 918bdc2359 .
2021-05-10 15:34:36 -07:00
Beka Westberg
8a00303aa7
Revert "Rename to IProcedureBlock"
...
This reverts commit c8a065fa13 .
2021-05-10 15:33:12 -07:00
Beka Westberg
c8a065fa13
Rename to IProcedureBlock
2021-05-08 07:57:38 -07:00
Monica Kozbial
6259579c64
Add positioning helpers for trashcan and zoom controls ( #4807 )
2021-05-07 17:13:48 -07:00
Beka Westberg
918bdc2359
Move ProcedureBlock to interface
2021-05-06 12:22:40 -07:00
Beka Westberg
43e95af14e
Fix getDefinition being too restrictive
2021-04-25 14:46:51 -07:00
Monica Kozbial
5139057664
Merge consecutive viewport change events ( #4792 )
2021-04-23 10:56:52 -07:00
Beka Westberg
2cfd62a229
Add better error messages to insertion marker ( #4791 )
2021-04-22 11:13:09 -07:00
Sam El-Husseini
f2f878db8c
Fix multiple strict require warnings ( #4793 )
2021-04-21 16:46:04 -07:00
Sam El-Husseini
d83279008b
Remove dark theme in favour of @blockly/theme-dark ( #4697 )
...
* Remove dark theme in favour of @blockly/theme-dark
2021-04-21 13:33:59 -07:00
Sam El-Husseini
0cc79b1366
Fix missing require - constructors ( #4676 )
...
* Fix missing constructors
2021-04-21 12:11:13 -07:00
Rachel Fenichel
256eaa9497
Remove rules forbidding es6
2021-04-13 16:02:11 -07:00
Monica Kozbial
e295102eda
Update Flyout metrics and implement adjustable margin for scrollbars. ( #4763 )
2021-04-09 11:16:34 -07:00
Grayson Nix
3d22f8401e
Issue #4475 fix ( #4758 )
...
* Issue #4475 fix
2021-04-08 16:01:16 -07:00
Laura Harker
5ff76ae32d
Stop overriding @protected methods with @private ( #4760 )
...
An upcoming change to emit private properties in Google's internal version of
https://github.com/angular/clutz will otherwise break any
TypeScript depending on these types. This is because TypeScript errors
on overriding protected with private (Closure Compiler does not).
2021-04-06 11:05:41 -07:00
kozbial
7b4b818e96
Fix typo
2021-03-25 13:08:57 -07:00
alschmiedt
71640fbff5
Fix keyboard shortcut for advanced compilation ( #4727 )
2021-03-24 13:09:33 -07:00
alschmiedt
fe41814958
Fix missing dependency ( #4722 )
2021-03-24 13:08:20 -07:00
Monica Kozbial
b6628da5bb
Always scroll center on zoom reset ( #4725 )
...
* Always scroll center on zoom reset
2021-03-24 10:08:42 -07:00
Monica Kozbial
babf940ef5
Fix flyout scroll metrics ( #4726 )
...
* Fix flyout scroll metrics
2021-03-24 10:07:28 -07:00
Monica Kozbial
62dc2ff6fa
Include oldCoordinate and oldContents in ws comment event serialization ( #4718 )
...
* Include oldCoordinate and oldContent in ws comment event serialization
2021-03-22 08:41:31 -07:00
Monica Kozbial
8386566894
Update IPositionable position JSDoc ( #4705 )
2021-03-19 16:39:27 -07:00
alschmiedt
deab5fdd69
Update to metrics interface ( #4696 )
2021-03-19 10:27:28 -07:00
alschmiedt
2cbbaa666a
Mutator flyout scrollbar fix ( #4711 )
2021-03-18 16:08:06 -07:00
Monica Kozbial
7fdf579985
Update jsdoc ( #4714 )
2021-03-18 15:52:04 -07:00
alschmiedt
9a93ca486f
Fix advanced compilation tests for Q1 2021 release ( #4709 )
2021-03-17 15:46:17 -07:00
Sam El-Husseini
82a2dd90a7
Use registry to instantiate flyout from trashcan ( #4706 )
...
* Instantiate flyouts using registry in trashcan
2021-03-16 08:54:13 -07:00
alschmiedt
d58c80db76
Refactor flyout and toolbox metrics ( #4648 )
2021-03-15 12:37:23 -07:00
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