Commit Graph

4668 Commits

Author SHA1 Message Date
Sam El-Husseini
639b0fd721 Update langs in prep for release (#3605) 2020-01-16 15:23:22 -08:00
Sam El-Husseini
077e75211d Merge branch 'master' into develop 2020-01-16 15:22:43 -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
2f3716a022 Update Typings in preparation for release (#3603) 2020-01-16 11:36:51 -08:00
Sam El-Husseini
3283c02980 Remove local_build.sh (#3600) 2020-01-16 09:20:55 -08:00
translatewiki.net
f8db478241 Localisation updates from https://translatewiki.net. 2020-01-16 15:28:06 +01:00
Sam El-Husseini
492aa96e18 Update packagelock (#3598)
* Update package-lock.json
2020-01-15 10:35:02 -08:00
Sam El-Husseini
1242b6e624 Rebuild in preparation for release (#3595) 2020-01-14 13:50:38 -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
4f07776dd9 IE 11 doesn't allow the same property to be set on an object twice in strict mode. (#3586) 2020-01-14 13:10:18 -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
f0f1681253 Cleanup connection test blocks in playground (#3588)
* Move connection test blocks handlers into test_blocks file out of the playground.
2020-01-14 09:02:57 -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
Beka Westberg
1278cd95ea test: Added connection test blocks. (#3525)
* test: Added connection test blocks.
2020-01-13 15:51:42 -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
1fedbfa591 Add two new zelos rendering playgrounds for all the blocks in pxtblockly and scratchblocks. (#3582) 2020-01-13 11:57:50 -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
translatewiki.net
c9d7d097e3 Localisation updates from https://translatewiki.net. 2020-01-13 16:06:36 +01: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
Neil Fraser
cd1d18b7a0 STRICT is no longer supported by Closure Compiler
Apparently 'PRUNE' is the new option, but it's undocumented.  More info:
https://github.com/google/blockly-games/issues/176
2020-01-06 11:04:24 -08:00
translatewiki.net
f17c0ae21c Localisation updates from https://translatewiki.net. 2020-01-06 17:39:50 +01:00