Commit Graph

4075 Commits

Author SHA1 Message Date
Rachel Fenichel
5dc45be726 Reset default renderer to geras. (#2960) 2019-09-03 15:55:52 -07:00
Sam El-Husseini
189c561f49 Rendering type checker (#2950)
* Convert all rendering types to use a type enum flag.
2019-09-03 14:39:02 -07:00
Sam El-Husseini
96378f9183 Fix slight offset in statement input connection X location. (#2953)
* Fix slight offset in statement input connection X location.
2019-09-03 14:38:10 -07:00
Sam El-Husseini
ab4b16e9d3 Field pitch remaining fixes that were missed in previous PR. (#2957) 2019-09-03 14:37:45 -07:00
Rachel Fenichel
ff64170239 Merge pull request #2947 from rachel-fenichel/pad_dummies
Fix width on dummy row.
2019-09-03 10:55:55 -07:00
translatewiki.net
a6d93418c8 Localisation updates from https://translatewiki.net. 2019-09-03 09:04:23 +02:00
Sam El-Husseini
06a882348b Render round right corners in zelos. (#2938)
* Render round right corners in zelos.
2019-08-30 18:11:01 -07:00
Rachel Fenichel
4dfb03adbf Make statement inputs store their actual width. (#2944)
* Make statement inputs store their actual width.
2019-08-30 17:55:51 -07:00
Rachel Fenichel
d3fea64f99 Fix width on dummy row. 2019-08-30 17:50:06 -07:00
Sam El-Husseini
dd9257e1b0 Field Text transformation methods (#2930)
* Add field text transform methods for converting from text to value and vice versa.
2019-08-30 17:00:31 -07:00
Sam El-Husseini
6050456bcf Fix bug in base renderer, not respecting the bottom row's overhang Y property. (#2942) 2019-08-30 15:44:44 -07:00
alschmiedt
4b4b14dbbc Update insert to use new moveAndConnect method (#2940)
* Update insert to use new moveAndConnect method

* Changes jsdoc
2019-08-30 14:37:30 -07:00
Rachel Fenichel
8c51172a40 Merge pull request #2936 from rachel-fenichel/debug_more_options
Add `connectedBlockBounds` option; set quieter defaults
2019-08-30 10:47:43 -07:00
Sam El-Husseini
03b1e7f8d4 Fixes toolbox and menu dropdown on mobile. (#2931)
* Fixes toolbox and menu dropdown for mobile.
2019-08-30 10:23:42 -07:00
Rachel Fenichel
aa8f4685da Add connectedBlockBounds option; set quieter defaults 2019-08-29 17:12:09 -07:00
Rachel Fenichel
3b81cb3f05 Merge pull request #2935 from rachel-fenichel/spacer_after_statement
Debug configurability
2019-08-29 16:50:54 -07:00
Rachel Fenichel
c069316866 Debug configurability 2019-08-29 16:21:51 -07:00
alschmiedt
72d73f779f Fix cursor rendering (#2932)
* Fixes rendering bugs for cursor and marker
2019-08-29 16:10:11 -07:00
Rachel Fenichel
6243b00c01 Merge pull request #2934 from rachel-fenichel/spacer_after_statement
Remove special case for spacer after statement
2019-08-29 15:15:16 -07:00
Rachel Fenichel
bc50143130 Remove special case for spacer after statement 2019-08-29 15:05:09 -07:00
alschmiedt
cc16bd46b4 Disconnect child block before trying to connect (#2928)
* Disconnect child block before trying to connect

* Check original connections for errors before trying to connect
2019-08-29 14:02:15 -07:00
alschmiedt
a27e059f2c Fixes shift clicking on block (#2927)
* Fixes shift clicking on block

* General cleanup

* Use new renderer api
2019-08-29 10:18:34 -07:00
Monica Kozbial
8beb060cf6 Merge pull request #2924 from moniika/moniika-statement-input-alignment
Simplify statement input height computation logic.
2019-08-27 17:29:27 -07:00
kozbial
25a41fd6ab Adding drop shadow into statement input height computation. 2019-08-27 17:24:29 -07:00
kozbial
e063ae5a38 Simplify statement input height computation logic. 2019-08-27 16:50:09 -07:00
Neil Fraser
0251340a65 Add test block that breaks renderer. 2019-08-27 10:48:23 -07:00
Sam El-Husseini
e7f10e7c3e minor rendering fix (#2919) 2019-08-27 10:47:32 -07:00
alschmiedt
d8b431ae61 Fixes not being able to move block with parent (#2920)
* Fixes not being able to move block with parent
2019-08-27 10:12:49 -07:00
Sam El-Husseini
dc1e7b82fe Zelos notch (#2918)
* Add the zelos notch
2019-08-26 17:49:42 -07:00
Rachel Fenichel
88e666a499 Merge pull request #2913 from rachel-fenichel/renames
Rename rendering files and folders
2019-08-26 11:23:57 -07:00
Sam El-Husseini
f23b659898 Remove this.text_ (#2910)
* Remove this.text_ and have every field handle its own properties.
2019-08-26 10:56:36 -07:00
Rachel Fenichel
d28c5dd8be Rename rendering files and folders 2019-08-26 10:48:44 -07:00
Sam El-Husseini
cd56a0c0b2 No Edge/IE close input icon (#2912)
* Don't show close icon in widgetdiv input in edge and IE
2019-08-26 10:38:44 -07:00
Rachel Fenichel
fd9fdf494f Merge pull request #2908 from rachel-fenichel/move_measurables
Move the rest of the measurables into their own folder
2019-08-26 10:36:30 -07:00
Rachel Fenichel
8436f3f0c6 Rebuild 2019-08-26 10:26:46 -07:00
Rachel Fenichel
9c27b878d7 Move the rest of the measurables into their own folder 2019-08-26 10:25:35 -07:00
mirandago
d9d234363c Dropdown scrolls to selected element (#2897)
* Dropdown scrolls to selected element
2019-08-26 10:23:41 -07:00
Rachel Fenichel
8800f70cb0 Merge pull request #2909 from rachel-fenichel/connection_shapes
Add a function to get the shape object of a connection, and use it
2019-08-26 10:23:13 -07:00
Rachel Fenichel
7c40ddf141 Update warning 2019-08-26 10:22:58 -07:00
alschmiedt
a14275c04b Update connect to work with multiple connecting blocks (#2905)
* Update connect to work with multiple connecting blocks

* Make logic for connect more readable
2019-08-26 10:14:18 -07:00
Sam El-Husseini
b7097d1add Field widgetdiv flicker (#2911)
* Stop field flickering when the text input is initially shown.
2019-08-26 08:53:55 -07:00
Rachel Fenichel
27cd26b264 Add a function to get the shape object of a connection, and use it 2019-08-23 17:34:41 -07:00
Rachel Fenichel
08bd15d676 Merge pull request #2907 from rachel-fenichel/zelos_constants
Add a constant provider for zelos
2019-08-23 17:10:01 -07:00
Rachel Fenichel
f4dc626439 lint 2019-08-23 17:05:36 -07:00
Rachel Fenichel
f75d0fe66d Update comments 2019-08-23 16:48:41 -07:00
Rachel Fenichel
81c06281e0 Add a constant provider for zelos 2019-08-23 16:44:21 -07:00
Rachel Fenichel
47b276e024 Merge pull request #2906 from rachel-fenichel/geras_highlight_drawer
Geras highlight drawer
2019-08-23 16:10:24 -07:00
Rachel Fenichel
70eb19ae09 Get rid of unnecessary cast 2019-08-23 15:58:24 -07:00
Rachel Fenichel
a9189f01bc Fix up annotations 2019-08-23 14:52:42 -07:00
Rachel Fenichel
a57f4691c7 Move highlighting code into geras. 2019-08-23 14:43:56 -07:00