alschmiedt
28e298f2cd
Fix flyouts ( #3645 )
...
* Set toolboxPosition after options have been parsed
* Final toolbox position update
2020-01-23 14:24:17 -08:00
Monica Kozbial
c8a98bb266
Editable field spacing ( #3635 )
...
* Substituting checks for isEditable.
* Add isField checks.
* Add parentheses for casting.
* Update value of isEditable and use for spacing.
* Changing to double equals.
2020-01-23 13:12:30 -08:00
Monica Kozbial
6e65048bf2
Update CSS rules for cursor. ( #3627 )
2020-01-22 11:46:38 -08:00
Sam El-Husseini
510c33601c
Revert on blur for text input fields as it interferes with combo boxes ( #3634 )
2020-01-22 11:46:31 -08:00
Sam El-Husseini
972536bb4f
Fix rtl placement of arrow in non-borderbox dropdown fields ( #3629 )
2020-01-22 11:46:17 -08:00
alschmiedt
a51074d1f1
Add colour methods back to blockSvg ( #3626 )
...
* Add colour methods back to blockSvg
2020-01-22 11:46:03 -08:00
Sam El-Husseini
fc7d706284
Fix parsing and passing of workspace options around Blockly ( #3616 )
2020-01-21 14:19:02 -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
alschmiedt
1a2fb6ddf0
Add new build scripts ( #3608 )
...
* Add new build scripts
* Fix pr comments
2020-01-16 16:52:20 -08:00
Monica Kozbial
1afff3c439
Use baseline for positioning rendered connection. ( #3609 )
2020-01-16 16:07:38 -08:00
Sam El-Husseini
671162b79a
Fix RTL appendDomToWorkspace positioning. ( #3601 )
...
* Fix RTL appendDomToWorkspace positioning.
2020-01-16 13:43:41 -08:00
Sam El-Husseini
f8000e00dc
Use selected option instead of selected index to cache current selected value in field. ( #3602 )
2020-01-16 13:33:45 -08:00
Sam El-Husseini
6c6296d74a
Use setAttribute for setting the id instead of block.id as IE doesn't serialize the id otherwise. ( #3604 )
2020-01-16 13:33:24 -08:00
Sam El-Husseini
6a4251b11a
Add constant for field dropdown arrow padding ( #3581 )
...
* Add constants for field dropdown arrow padding for more control over where the arrow shows up.
2020-01-14 13:27:47 -08:00
Sam El-Husseini
180926ee77
Fix duplicate variable model type ( #3594 )
...
* Resolve duplicate empty var type when returning list of variableModel's types.
2020-01-14 13:10:34 -08:00
Sam El-Husseini
6bd6bdefbc
Upgrade closure + support for closure-library dependency ( #3554 )
...
* Upgrade closure and include hints on how to include the closure library in the build.
* Revert build-uncomprssed.
* Sort uncompressed.
* nit: comment.
2020-01-14 12:59:43 -08:00
alschmiedt
f6b9deab4d
Moves setCollapsed to after mutation ( #3591 )
2020-01-14 09:45:02 -08:00
Sam El-Husseini
899162c420
Fix zelos top row spacer height when it precedes a statement input. ( #3587 )
2020-01-13 18:39:24 -08:00
Sam El-Husseini
4f80bd6cbf
Simplify zelos tight nesting logic ( #3583 )
2020-01-13 15:47:54 -08:00
alschmiedt
7e34d94610
Fixes blockly games blocks being black ( #3579 )
...
* Fixes blockly games blocks being black
2020-01-13 13:34:29 -08:00
Sam El-Husseini
8013f80251
Start hat support in zelos. ( #3580 )
...
* Start hat support in zelos.
2020-01-13 13:22:49 -08:00
Sam El-Husseini
1661d640d6
Geras inline alignment of rows + max bottom row width ( #3575 )
...
* Add a desired width getter method for input rows. Override in geras to fix the width of the bottom row and statement input to a max width.
2020-01-13 10:40:52 -08:00
Sam El-Husseini
8b50df01c0
Fix zelos statement input alignment for spacers ( #3578 )
2020-01-13 10:32:49 -08:00
Monica Kozbial
8f787a3e41
Re-rendering block in setMutator. ( #3574 )
2020-01-13 10:32:22 -08:00
Sam El-Husseini
1924b2674a
Treat a statement input as the end of the statement row. ( #3577 )
...
* Reduce spacing for editable fields when they appear right before a statement input.
2020-01-11 17:34:45 -08:00
Sam El-Husseini
e1472a3600
Detect undefined elements in the debugger and remove undefined elem if a row has no elements when adding spacers. ( #3576 )
2020-01-11 17:33:20 -08:00
Monica Kozbial
c2087e61f5
Using shapeFor to determine connections shape for marker_svg. ( #3573 )
2020-01-10 13:32:44 -08:00
Monica Kozbial
9b8fa7a177
Using shapeFor for notch and tab paths. ( #3572 )
2020-01-10 13:31:49 -08:00
Sam El-Husseini
fe555d9021
Rename input connection to connectionModel ( #3571 )
...
* Remove input measurable's connection property and rename references to connectionModel.
2020-01-09 18:09:15 -08:00
Sam El-Husseini
20e55b67d7
Fix bug with dropdown menu propagating the opening click event to a menu item ( #3570 )
...
* Prevent dropdown field menu from propagating a click event onto a menu item when the dropdown appears above the field
2020-01-09 18:08:29 -08:00
Sam El-Husseini
e162f3b45f
[zelos] Don't add next notch in a statement input if the connection block doesn't have a next connection ( #3562 )
...
* Don't add a next notch for statement inputs that have a connected block without a next connection.
2020-01-09 08:37:20 -08:00
Sam El-Husseini
e530f209cd
Fix bug in zelos tight nesting code. ( #3565 )
2020-01-08 08:47:10 -08:00
Monica Kozbial
26db9167db
Move of render contant START_HAT into ConstantProvider. ( #3563 )
...
* Move of render contant START_HAT into ConstantProvider.
2020-01-07 16:18:05 -08:00
Sam El-Husseini
c3867443f5
Fix value to stack width measurement ( #3559 )
...
* Include width of connected block in value to stack width measurement.
2020-01-07 16:05:34 -08:00
Sam El-Husseini
7ac83a318b
Remove Firefox fix for avoiding dropdown scrollbars as it no longer repros ( #3560 )
2020-01-07 16:05:08 -08:00
Beka Westberg
f10c48648e
Changed mutator getWorkspace to package. ( #3561 )
2020-01-07 14:47:28 -08:00
Sam El-Husseini
8151b94c2c
Add output shape on a block. Add squared shape. ( #3558 )
...
* Add output shape on the block. Add squared shape.
2020-01-07 14:10:51 -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
Sam El-Husseini
267877115f
Adjust single field row alignment so that it takes up less vertical space ( #3557 )
2020-01-07 13:52:57 -08:00
Sam El-Husseini
016a4f1b0a
Fix bottom horizontal flyout delete areas ( #3551 )
2020-01-06 17:03:41 -08:00
Monica Kozbial
835a6120a2
Removing leftover constant MIN_BLOCK_Y in BlockSvg. ( #3552 )
2020-01-06 16:34:51 -08:00
Sam El-Husseini
c1ff28fcd2
Rename arrowTop and arrowBottom css classes to blocklyArrowTop and blocklyArrowBottom ( #3548 )
2020-01-06 16:09:23 -08:00
alschmiedt
a1ed9ab791
Update component names ( #3549 )
2020-01-06 13:18:15 -08:00
Sam El-Husseini
8d6ff39e64
[zelos] Support dropdown fields with no border rect ( #3547 )
...
* Dropdown fields without a border rect.
2020-01-06 13:16:59 -08:00
Sam El-Husseini
ec0ba27afc
Reduce an empty row surrounded by statement inputs to match size of bottom row ( #3544 )
2020-01-06 12:39:07 -08:00
Sam El-Husseini
6794f282d4
[zelos] Fix breakout loop block ( #3545 )
...
* Fix breakout loop block by only applying the small padding if the block doesn't have a statement input
2020-01-06 12:38:54 -08:00
alschmiedt
6f82667d62
Fix key map ( #3539 )
...
* Update key map functions access to public
2020-01-03 16:12:40 -08:00
Sam El-Husseini
b6596ceddb
Deal with the case where we have two dummy inputs on the same row, one with left alignment and the other right. ( #3540 )
2020-01-03 15:31:28 -08:00
Sam El-Husseini
8c80c3e509
[zelos] Bump / tight nest for all rows that are preceded and followed by a notch ( #3541 )
...
* Bump inputs past notch for every row that has a prev and next notch. Use the same logic for tight nesting.
2020-01-03 15:31:11 -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