Commit Graph

4565 Commits

Author SHA1 Message Date
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
alschmiedt
ffb124c58d Move basic cursor (#3460)
* Move basic cursor
2019-11-22 16:02:13 -08:00
Sam El-Husseini
30a49c3225 Statement inputs have minimum widths. (#3463) 2019-11-22 13:53:49 -08:00
Sam El-Husseini
2a8e7d9ac8 [zelos] Full field colour (#3461)
* Support showing the colour value on the entire block.
2019-11-22 13:50:33 -08:00
translatewiki.net
14b7ee108c Localisation updates from https://translatewiki.net. 2019-11-21 14:53:06 +01:00
Sam El-Husseini
426e17a06d Move more CSS into renderers. (#3455)
* Move more CSS into renderers.
2019-11-20 11:57:37 -08:00
Sam El-Husseini
329a21c572 Add theme and renderer classnames onto the widget and dropdown div. (#3456)
* Add theme and renderer classnames onto the widget and dropdown div.
2019-11-20 11:07:39 -08:00
Sam El-Husseini
24627f0b3e Fix zelos flickering in flyout (#3448) 2019-11-19 08:41:00 -08:00
Sam El-Husseini
70c24cf94e CSS in renderers (#3446)
* Have each renderer declare some CSS that is specific to the renderer.
2019-11-18 16:14:19 -08:00
translatewiki.net
32e2f9ccdf Localisation updates from https://translatewiki.net. 2019-11-18 18:08:54 +01:00
Sam El-Husseini
3c120f9d46 Highlight input shape in Zelos (#3444)
* Highlight shape for input in zelos rendering
2019-11-15 13:14:39 -08:00
Sam El-Husseini
cff8e19699 Return focus to the workspace after hiding a widget or dropdown div (#3447) 2019-11-15 10:57:29 -08:00
Sam El-Husseini
139382e009 Field textinput pixel perfect input (#3443)
* Fix sizing of text input field in zelos, pixel perfect input in other browsers
2019-11-14 16:13:22 -08:00
Sam El-Husseini
d8476306f4 Fix up more zelos spacing (#3445)
* Fix up more of zelos spacing
2019-11-14 16:04:46 -08:00
Sam El-Husseini
c868a86bdd Field dropdown with an SVG arrow (#3442)
* Add SVG arrow as an option on the dropdown field
2019-11-14 15:00:49 -08:00
alschmiedt
564af764d0 Cursor renderer (#3440)
* Initial commit for adding the cursor to renderer
2019-11-14 13:36:29 -08:00