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
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
Sam El-Husseini
ed79ea6d94
Fix zelos input outline rendering in RTL ( #3435 )
2019-11-13 10:38:29 -08:00
Rachel Fenichel
939bafddd8
Merge branch 'develop' into single_field_blocks
2019-11-12 11:52:03 -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
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
Sam El-Husseini
7d174727b0
Fix warnings for code used by blocks ( #3362 )
2019-10-30 08:11:18 -07:00
Sam El-Husseini
a79ea1652a
[Zelos] Fix dynamic connection shape size ( #3324 )
...
* Better reporting of connection height and width for dynamic connections
2019-10-25 00:33:53 -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
Sam El-Husseini
c1c9121fcc
Fix jsdoc. @return instead of @returns ( #3271 )
...
* Fix jsdoc. @return instead of @returns
2019-10-16 17:01:36 -05:00
Neil Fraser
2eaabd180d
Minor cleanup in keyboard nav ( #3264 )
...
* Clean cursor code
Some obvious inefficiencies that jumped out while randomly browsing the compiled code.
* Typos
* Multiplying by minus one.
2019-10-16 08:19:37 -05:00
Rachel Fenichel
9ce41598c0
Clean up todos.
2019-10-07 13:25:47 -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
Neil Fraser
872aa45fae
More straightening out of dependencies.
2019-09-27 10:48:14 -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
Monica Kozbial
a14ac351b5
Adding checks for whether to add elem spacer on row ends ( #3060 )
...
* Adding checks for whether elem spacer shouldbe added to start and end of row.
* Fix eslint and add package visibility.
2019-09-20 14:20:14 -07:00
Monica Kozbial
a8af9fea21
Move populate for topRow and bottomRow to info ( #3057 )
...
* Move populate for topRow and bottomRow from measurable definition to info.
* Fix local variable and circular dependency.
2019-09-20 13:24:46 -07:00
Rachel Fenichel
77185906d8
Renderers define which paths a block has. ( #2981 )
...
* Move render elements into a path object.
2019-09-16 12:13:32 -07:00
Sam El-Husseini
e339ae26bc
Move the rendering object to live on the workspace_svg ( #3016 )
...
* Move the rendering object onto the workspace allowing the various workspaces to have different renderers.
2019-09-13 14:20:34 -07:00
Sam El-Husseini
fc420b7037
Support for registering renderers and switching between them ( #3013 )
...
* Added support for registering renderers and for choosing which renderer the workspace wants to use.
2019-09-13 10:30:20 -07:00
Neil Fraser
23caa12571
Error is a constructor, ‘new’ is not required.
2019-09-12 18:02:59 -07:00
Sam El-Husseini
8ab51c8639
Remove closure base file dependency ( #2976 )
...
* Trim down closure's base dependency even further by removing the dependency on closure's base file.
2019-09-11 17:30:51 -07:00
Rachel Fenichel
4b17234cba
Alphabetize requires
2019-09-10 13:01:13 -07:00
Sam El-Husseini
4c8e28c53d
Dynamic output shapes ( #2980 )
...
* Round and triangle dynamic output shapes.
2019-09-06 13:04:01 -07:00
Rachel Fenichel
2ffe71f0a0
Remove references to dark path offset; fix highlights while dragging'
2019-09-05 11:59:28 -07:00
Rachel Fenichel
87e7be9619
Cleanup
2019-09-04 17:19:31 -07:00
Rachel Fenichel
581705cc7b
Create a Renderer base class and extend it for each type of renderer
2019-09-04 17:16:08 -07:00
Rachel Fenichel
e35f4d5070
More cleanup.
2019-09-04 16:26:53 -07:00
Rachel Fenichel
b4ac23df6c
Remove useless variable.
2019-09-04 16:26:53 -07:00
Rachel Fenichel
135ab7993e
Use ascender/descender naming for top and bottom rows; tweak position calculation.
2019-09-04 16:26:53 -07:00
Sam El-Husseini
73d0b70c22
Add a spacer before and after a statement input and place use it to render a right corner before and after the statement input. ( #2967 )
2019-09-04 15:38:23 -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
06a882348b
Render round right corners in zelos. ( #2938 )
...
* Render round right corners in zelos.
2019-08-30 18:11:01 -07:00
Sam El-Husseini
e7f10e7c3e
minor rendering fix ( #2919 )
2019-08-27 10:47:32 -07:00
Sam El-Husseini
dc1e7b82fe
Zelos notch ( #2918 )
...
* Add the zelos notch
2019-08-26 17:49:42 -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
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
a81c633be7
Centralize references to Blockly.blockRendering.constants
2019-08-22 18:08:59 -07:00
Rachel Fenichel
e86c852936
Split render_info
2019-08-21 14:33:43 -07:00