Monica Kozbial
b14bbe7e66
Check if WidgetDiv is visible before hide logic. ( #3716 )
2020-02-27 10:30:14 -08: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
Sam El-Husseini
97eb86f988
Configure zelos selected glow properties in theme ( #3715 )
...
* Configure selected and replacement glow size and colour in zelos from the theme.
2020-02-25 14:29:45 -08:00
Sam El-Husseini
60db399a8d
Use flex to compute measure font metrics ( #3714 )
...
* Use flexbox to compute font dimensions instead of inline-block
2020-02-24 17:36:01 -08:00
Monica Kozbial
4432ca2e93
Cleanup centerOnBlock. ( #3699 )
2020-02-24 13:35:36 -08:00
Beka Westberg
981c0b5d12
Fix checkbox field rerendering on setCheckChar ( #3704 )
...
* Fix checkbox field rerendering on setCheckChar
2020-02-24 11:13:48 -08:00
Beka Westberg
868d3cf30f
Fix geras collapsed rendering incorrect in RTL ( #3709 )
2020-02-24 11:13:05 -08:00
Sam El-Husseini
56ca1e4330
[zelos] Fix centered textinputs ( #3703 )
...
* Fix bug in centering text inputs. Shouldn't add right corner element for output only blocks.
2020-02-21 12:03:28 -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
Sam El-Husseini
8524da903b
Support renderers that are ES6 classes ( #3702 )
2020-02-20 15:03:24 -08:00
Beka Westberg
392d25eb39
fix: Break breaking undo.
2020-02-18 16:01:18 -08:00
alschmiedt
0c60c119a2
Update to use knew variable ( #3694 )
2020-02-17 14:08:27 -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
Rachel Fenichel
d2ef7f1c68
Merge pull request #3675 from BeksOmega/feat/empty-trashcan
...
Added empty trashcan function.
2020-02-10 13:52:30 -08:00
Sam El-Husseini
33e082414d
Adjust what the spacers at after the top and before the bottom rows depend on. Make them depend on the top row's minHeight and desired height. ( #3686 )
2020-02-10 08:58:07 -08:00
Sam El-Husseini
95aadbffb1
[zelos] Set a maximum width for dynamic connection shapes. ( #3685 )
...
* Set a maximum width for dynamic connection shapes.
* Only render the left side connection if a block has a statement input
2020-02-07 15:13:51 -08:00
Beka Westberg
4416be2a30
Added const tags and fixed visibility.
2020-02-07 13:34:09 -08:00
alschmiedt
e1bb1d667e
Add back setters for theme ( #3674 )
2020-02-07 09:20:21 -08:00
Beka Westberg
b0cd803211
Added empty trashcan function.
2020-01-31 13:15:03 -08:00
Beka Westberg
c02f703629
Added constants to animation code.
2020-01-31 13:14:39 -08:00
alschmiedt
88ad660c51
Remove check for same theme when refreshing ( #3672 )
...
* Remove check for same theme when refreshing
2020-01-30 16:05:24 -08:00
Sam El-Husseini
97d0001512
Unhighlight current item when hovering over disabled menu items ( #3655 )
2020-01-30 16:04:21 -08:00
alschmiedt
513e85bf4a
Checks keyboardAccessibility flag before rendering ( #3671 )
2020-01-30 14:11:47 -08:00
Sam El-Husseini
4a94dc8a85
Unpack self-closing tags when converting domToText ( #3665 )
...
* Unpack self-closing tags when converting domToText
2020-01-27 15:32:12 -08:00
Monica Kozbial
6dbb023a1d
Fixing path typo. ( #3663 )
2020-01-27 11:19:21 -08:00
Monica Kozbial
e2b510662c
Fixing typo on "programmatically". ( #3654 )
2020-01-24 15:10:22 -08:00
Sam El-Husseini
8475976103
Fix start hats ( #3651 )
2020-01-24 13:02:27 -08:00
Beka Westberg
025d087e6a
fix: Fixed insertion preview logic. And fixed markers not handling typed statements. ( #3526 )
...
* Added planned functions.
* Added default getConnectionPreviewMethod method.
* Moved show preview logic into their new functions.
* Fixed default getConnectinPreviewMethod logic.
* Reverted to lastConnectionInRow call (for output connections) for behavioral backwards-compat.
* Added zelos logic.
* Removed unused functions, and added docs.
2020-01-24 07:49:31 -08:00
Sam El-Husseini
f6b5e9ebb4
Add test block for field image with a click handler ( #3642 )
2020-01-23 16:19:24 -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
Monica Kozbial
fdb1d71e88
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:10:33 -08:00
Monica Kozbial
26a11faf49
Update CSS rules for cursor. ( #3627 )
2020-01-22 11:41:59 -08:00
Sam El-Husseini
5727a62c62
Revert on blur for text input fields as it interferes with combo boxes ( #3634 )
2020-01-22 11:23:33 -08:00
Sam El-Husseini
58b690728d
Fix rtl placement of arrow in non-borderbox dropdown fields ( #3629 )
2020-01-22 11:07:59 -08:00
Sam El-Husseini
af84e6a40c
Zelos rename highlightfilter ( #3630 )
...
* Rename highlight filter to selected filter
* Update comment
2020-01-22 11:07:45 -08:00
alschmiedt
130297f795
Add colour methods back to blockSvg ( #3626 )
...
* Add colour methods back to blockSvg
2020-01-22 07:34:46 -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
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