Sam El-Husseini
f9dcb60f82
Zelos replacement highlight ( #3431 )
...
* Zelos replacement highlight
2019-11-13 17:14:28 -08:00
Sam El-Husseini
2dea7038d5
Moves field layout constants into the renderer ( #3437 )
...
* Add field constants into renderer constants
2019-11-13 16:41:35 -08:00
Rachel Fenichel
6dd07ec44d
Move cursorSvg and markerSvg to pathObject
2019-11-13 11:23:10 -08:00
Rachel Fenichel
03e75a100c
Delete unused property.
2019-11-13 11:08:37 -08:00
Sam El-Husseini
9dc46ce292
Set statement input height to be the max of the default statement input and the row height. ( #3436 )
2019-11-12 16:46:33 -08:00
Rachel Fenichel
939bafddd8
Merge branch 'develop' into single_field_blocks
2019-11-12 11:52:03 -08:00
Rachel Fenichel
3076874b2b
Merge pull request #3426 from rachel-fenichel/highlight_for_replacement
...
Move highlightForReplacement into the path object as well.
2019-11-11 16:32:49 -08:00
Sam El-Husseini
95f2b232b9
Field constants ( #3423 )
...
* Move field text sizing constants to renderer constants
2019-11-11 16:13:50 -08:00
Rachel Fenichel
23635598ec
Update i_path_object.js
2019-11-11 15:44:11 -08:00
Rachel Fenichel
067fbb4488
Move highlightForReplacement into the path object as well.
2019-11-11 15:17:26 -08:00
Rachel Fenichel
5f4a308a40
Full-block editors for single-field reporters.
2019-11-11 14:32:31 -08:00
Sam El-Husseini
36cc9a2e89
Zelos constants ( #3419 )
2019-11-08 10:59:10 -08:00
Sam El-Husseini
ee09aafd57
[zelos] Add input outlines on the path object. ( #3410 )
...
* Add input outlines on the path object.
2019-11-07 15:15:49 -08:00
Sam El-Husseini
d49b3400e6
Add zelos selection highlight. ( #3390 )
...
* zelos selection highlight
2019-11-06 13:47:30 -08:00
Rachel Fenichel
bfff91b673
Update geras and add underscore to setClass_
2019-11-06 11:47:33 -08:00
Rachel Fenichel
e71366259c
Move lots of update style functions from block_svg to path_object
2019-11-05 17:15:26 -08:00
Sam El-Husseini
337cb9c486
Fix path_object inheritance ( #3403 )
...
* Fix path_object inheritance, add zelos path_object
2019-11-05 16:36:30 -08:00
Rachel Fenichel
13e4d671c3
Moved setHighlighted and setDisabled into the path object.
2019-11-01 14:28:51 -07:00
Rachel Fenichel
46f323971a
Move filter and pattern creation from inject into constants.
2019-11-01 13:32:17 -07:00
Rachel Fenichel
46fad66ab1
Review feedback.
2019-10-30 15:58:53 -07:00
Rachel Fenichel
5ef08fc0d4
Switch to using the style object in the path object.
2019-10-30 14:47:23 -07:00
Rachel Fenichel
ca1e49bf8e
Fields now go through blockSvg for colours.
2019-10-30 14:43:42 -07:00
Rachel Fenichel
f4bbeb0688
Fix bad function definition.
2019-10-30 14:42:13 -07:00
Rachel Fenichel
ecef3467fd
Colourer/path_object cleanup
2019-10-30 14:42:13 -07:00
Rachel Fenichel
6f520335ea
Cleanup of colouring code, and move it into path_object.
2019-10-30 14:42:13 -07:00
Rachel Fenichel
85c4db5a10
First pass at colourers
2019-10-30 14:42:13 -07:00
Sam El-Husseini
942068314f
Accept lowercase alignment ( #3359 )
...
* Accept lowercase alignment
2019-10-29 11:45:30 -07:00
Sam El-Husseini
e7752e6ea2
Dummy input right alignment ( #3342 )
...
* Fix dummy input alignment in geras.
2019-10-28 16:20:54 -07:00
Sam El-Husseini
100da4a66c
Revert "Wrap dummy inputs in a measurable so that it can be aligned appropriately. ( #3337 )"
...
This reverts commit 7fc733b81f .
2019-10-24 21:53:30 -07:00
Sam El-Husseini
7fc733b81f
Wrap dummy inputs in a measurable so that it can be aligned appropriately. ( #3337 )
2019-10-24 21:42:44 -04:00
Sam El-Husseini
06b5bb1945
Might right corner support to common. Making it so there's always a right corner element, square by default. ( #3311 )
2019-10-23 21:58:43 -04:00
Sam El-Husseini
3d6eb48937
Render a notch after a statement input in zelos ( #3326 )
2019-10-23 21:58:18 -04:00
Rachel Fenichel
3c64deceec
Merge pull request #3297 from rachel-fenichel/bugfix/3228
...
Fix #3228 by only using the dark path offset in Geras.
2019-10-23 11:17:09 -07:00
Rachel Fenichel
d11b7228c2
Fix #3228 by only using the dark path offset in Geras.
2019-10-23 11:06:12 -07:00
Sam El-Husseini
ad2c5f69ce
Fix for #3313 ( #3316 )
...
* Account for output connection with when aligning statement row
2019-10-23 13:07:04 -04:00
Rachel Fenichel
d48859e338
Fix #3191
2019-10-21 15:35:53 -07:00
Sam El-Husseini
42552b5b22
Fix 6 warnings related to rendering. ( #3292 )
2019-10-21 17:49:38 -04:00
Sam El-Husseini
36524a3b4a
Only add a hat if there's no output connection or previous connection ( #3280 )
...
* Only add a hat if there's no output connection or previous connection
2019-10-17 14:08:06 -05:00
Neil Fraser
01b6992efd
Normalize to one spelling of color/colour.
2019-10-16 09:46:47 -07:00
alschmiedt
a9420154a2
Update todos so they are no longer in jsdocs ( #3250 ) ( #3257 )
2019-10-15 10:14:39 -07:00
Rachel Fenichel
9ce41598c0
Clean up todos.
2019-10-07 13:25:47 -07:00
Sam El-Husseini
d0772ad496
Fix compiler warnings related to fields. ( #3144 )
...
* Fix compiler warnings related to fields.
2019-10-03 15:58:46 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Sam El-Husseini
99ce193b1f
Base renderer next / prev connection fixes. ( #3135 )
2019-10-02 12:35:00 -07:00
Rachel Fenichel
ecf69d851d
Use row height for spacer height.
2019-10-01 16:41:58 -07:00
Rachel Fenichel
0e1a4b68e1
Remove blockRendering.Debug, thrasos, and zelos from default requires.js
2019-09-27 12:01:06 -07:00
Neil Fraser
872aa45fae
More straightening out of dependencies.
2019-09-27 10:48:14 -07:00
Monica Kozbial
22e79ae496
Updating behavior of register functions and adding unregister. ( #3085 )
...
* Updating behavior of register functions and adding unregister.
* Updates jsdoc comments.
2019-09-26 13:23:45 -07:00
Monica Kozbial
303a841685
Adding check for pushing last row with only empty dummy input. ( #3081 )
2019-09-24 13:41:26 -07:00
Monica Kozbial
21c5698e98
Moving DARK_PATH_OFFSET to geras only. ( #3066 )
...
* Moving DARK_PATH_OFFSET to geras.
* Adding compressed and uncompressed files.
* Adding missing newlines
* Reverting commit of messages.
* Reverting compressed files.
* Updating compressed files.
* Addressing PR comments.
* Removing unecessary input overrides.
2019-09-23 15:57:59 -07:00