Commit Graph

4582 Commits

Author SHA1 Message Date
translatewiki.net
54cb686dcd Localisation updates from https://translatewiki.net. 2019-12-23 15:45:23 +01:00
alschmiedt
9347348f46 Update the keyboard nav demo (#3512) 2019-12-18 09:37:02 -08:00
Sam El-Husseini
3d66eab311 [zelos] Output connection position (#3516)
* Move connection point for output connections to the left and centerline
2019-12-16 14:06:10 -08:00
Sam El-Husseini
88451457a2 [zelos] Jagged teeth (#3514)
* Update jagged teeth code to use height / width, and use 0 for zelos.
2019-12-16 14:05:50 -08:00
Sam El-Husseini
034ae878c6 Fix gulp blocks compile build (#3519)
* Fix gulp build by adding Comment, Mutator and Warning to the remove regex.
2019-12-16 14:05:31 -08:00
translatewiki.net
b861b7868a Localisation updates from https://translatewiki.net. 2019-12-16 15:51:35 +01:00
Sam El-Husseini
38e2b9d3ca [zelos] Statement input centreline (#3513)
* Make statement inputs in zelos use the top row centreline.
2019-12-15 02:34:58 -08:00
Sam El-Husseini
c892496668 Update zelos constants to use GRID UNIT, add shadow dummy input height (#3515) 2019-12-15 02:34:39 -08:00
translatewiki.net
77951c585e Localisation updates from https://translatewiki.net. 2019-12-12 15:18:47 +01:00
alschmiedt
7b35cfa02d Ws cursor move (#3509)
* Add actions to move the cursor around the workspace
2019-12-11 21:37:52 -08:00
Sam El-Husseini
595bc5270f Remove BEFORE/AFTER statement input spacer measurable (#3506)
* Remove before / after statement input measurable and use spacer properties instead.
2019-12-11 19:29:31 -08:00
Sam El-Husseini
adc06cc544 [zelos] Add extra offset for statement input to account for right corner width (#3508)
* Add additional offset to the statement input in zelos to account for the width of right corner.

* inside corners
2019-12-11 17:00:22 -08:00
Sam El-Husseini
bb5939f77c [zelos] Multi-line rendering (#3501)
* Add isMultiRow property and computation for padding with multirow blocks.
2019-12-11 14:12:36 -08:00
Beka Westberg
78e2fb2f4b Fixed adding a variable field programmatically when it has a following field. (#3468)
* Fixed adding a var field through mutator error.
2019-12-11 14:10:38 -08:00
Rachel Fenichel
17fa526e0e Merge pull request #3315 from shakao/hex
Handle 0x hex values in color parsing
2019-12-11 14:00:03 -08:00
Zufeng
07b31489b5 Allow code demo to shrink more (#3345)
If the width goes below a certain threshold,
some tabs are replaced with a single tab with a select menu.
2019-12-11 13:53:37 -08:00
Rachel Fenichel
680377684f Merge pull request #3505 from google/fraser-grid
Restore support for 0-length grid lines.
2019-12-11 13:50:33 -08:00
Sam El-Husseini
2b335dcb6b Make alignment common renderer behaviour (#3498)
* Make alignment common
2019-12-11 13:42:10 -08:00
Neil Fraser
5b46652e90 Restore support for 0-length grid lines.
Resolves #3503
2019-12-11 01:24:51 -08:00
Sam El-Husseini
38fe5189bb [zelos] Limit vertical tightnesting (#3504)
* Limit vertical tight nesting to blocks with a certain height

* Use const.
2019-12-10 16:51:36 -08:00
Sam El-Husseini
5852bef90d Inject constants CSS in createDom (#3502)
* Inject constants CSS in createDom instead. Use a random identifier to pre-emptively set CSS that uses the disabled pattern id.
2019-12-10 15:00:32 -08:00
alschmiedt
481fe63302 Marker manager (#3497)
* Adds a marker manager
2019-12-10 10:53:34 -08:00
Sam El-Husseini
8cbec2eaee Make checkbox field width a constant. (#3499) 2019-12-10 08:32:26 -08:00
Sam El-Husseini
63f7af115c [zelos] Set field rect background colour (#3500)
* More consistent field rect colour in zelos. Only overriding in full block fields. Fix disabled block colours.

* Use a better constant name and fix build.
2019-12-10 08:31:43 -08:00
Sam El-Husseini
a779d44104 Reduce the vertical spacing for spacers before and after an input row if it contains non-shadow connected blocks. (#3496) 2019-12-09 13:17:00 -08:00
Sam El-Husseini
ec035f19d3 Count all fields when deciding whether or not a full text field should be used. (#3492) 2019-12-09 13:10:24 -08:00
Sam El-Husseini
fee606e2e0 Render negative elem spacing in debugger. (#3493)
* Render negative elem spacing in debugger.
2019-12-09 13:04:28 -08:00
Sam El-Husseini
7baa192d59 Update zelos rendering playground so that screenshots reflect state of the workspace (#3491) 2019-12-09 08:33:00 -08:00
Lukas Dachtler
7d24276721 added editable property to workspaceComment (#3480)
* added editable property to workspaceComment
2019-12-08 23:16:48 -08:00
Sam El-Husseini
f5bb5b6143 Zelos horizontal tight nesting. (#3490)
* Reduce the amount of implicit spacing added by the connection shape by adding negative spacing to the first and last spacer in an output block
2019-12-06 10:51:50 -08:00
Sam El-Husseini
55997784ca Move blockStyles into constants (#3485)
* Move blockStyles into constants.
2019-12-06 10:51:36 -08:00
Sam El-Husseini
abb74eda83 Fix the text input field colouring in full block fields. (#3489) 2019-12-06 10:01:03 -08:00
Sam El-Husseini
4eb791bd70 [zelos] Add right connection shape element. (#3488)
* Add right connection shape element
2019-12-05 17:51:39 -08:00
Sam El-Husseini
bcb9e949d2 Adjust zelos spacing constants (#3487) 2019-12-05 11:20:51 -08:00
alschmiedt
10b3a9aa9a Refactor marker and cursor (#3484)
* Refactor marker and cursor
2019-12-04 14:50:58 -08:00
Mustafa Jebara
d99d913600 Fix #3386 - Warning Bubble Dragging (#3479)
* Set no-pointer events on the warning text svg element.
2019-12-04 14:49:18 -08:00
Sam El-Husseini
e5cb8e753e Move CSS to constants (#3482) 2019-12-04 09:46:18 -08:00
Sam El-Husseini
917f58ab0f Fix bugs with apply colour (#3483) 2019-12-03 13:22:41 -08:00
translatewiki.net
8017382742 Localisation updates from https://translatewiki.net. 2019-12-02 09:22:33 +01:00
translatewiki.net
e96718b31f Localisation updates from https://translatewiki.net. 2019-11-28 16:31:49 +01:00
Sam El-Husseini
b038c1cef5 [zelos] Set dropdown div colour to match block colour (#3462)
* Set dropdown div colour to match block colour
2019-11-27 09:30:29 -08:00
Rachel Fenichel
c2bf971947 Merge pull request #3474 from rachel-fenichel/constant_comments
Add comments to many rendering constants
2019-11-25 16:54:20 -08:00
Rachel Fenichel
8d92b05e6a Type annotation 2019-11-25 16:50:03 -08:00
Sam El-Husseini
9fcc532977 [zelos] Cross browser pixel perfect text input (#3466)
* Align text and widget div text input pixel perfect on all browsers
2019-11-25 15:54:24 -08:00
Sam El-Husseini
5ddf374327 [zelos] bump fields to min x position (#3464)
* Bump up all non-text fields in the first row to a min x position.
2019-11-25 15:40:46 -08:00
Rachel Fenichel
17b40dfc67 Add comments to many rendering constants 2019-11-25 14:45:59 -08:00
Sam El-Husseini
9fc995425a Support adjusting dropdowndiv default colours through CSS (#3469)
* Support setting the dropdown theme default colours through CSS. Update dark theme.
2019-11-25 14:18:28 -08:00
Sam El-Husseini
f4431b3361 [Zelos] apply Colour (#3465)
* Only apply colour from a single entry point. Zelos rendering apply colour
2019-11-25 14:18:10 -08:00
translatewiki.net
b289ec3670 Localisation updates from https://translatewiki.net. 2019-11-25 15:28:19 +01:00
Sam El-Husseini
2f87243466 Fix bug with tabbing out of Blockly (#3470)
* Pipe handled cursor action correctly.
2019-11-22 17:30:25 -08:00