Commit Graph

4095 Commits

Author SHA1 Message Date
RoboErikG
a7b560db81 Revert "Mark Blockly.Constants.Colour and .Lists depreacted. (#1797)"
This reverts commit b2cb96b5b1.
2019-09-05 15:34:20 -07:00
Rachel Fenichel
dc1f285251 Merge pull request #2971 from rachel-fenichel/dark_path
Remove references to dark path offset; fix highlights while dragging
2019-09-05 14:51:34 -07:00
alschmiedt
e8f328aa28 Fix enable accessibility (#2968)
* Enables accessibility mode should make the cursor visible
2019-09-05 14:05:52 -07:00
Rachel Fenichel
77c6344a37 Reset renderer 2019-09-05 12:01:54 -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
43944f7151 Merge pull request #2970 from rachel-fenichel/renderer_object
Define a BlockRenderer object that Geras, Thrasos, and Zelos extend
2019-09-05 11:21:57 -07:00
Rachel Fenichel
da6d28b818 More cleanup 2019-09-05 11:16:27 -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
4e5f03e7c2 Merge pull request #2969 from rachel-fenichel/top_bottom_rows
Tweak top and bottom rows
2019-09-04 16:47:31 -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
alschmiedt
6e8d200857 Refactors modify and add tests (#2955)
* Refactors modify and add tests
2019-09-04 10:58:47 -07:00
Sam El-Husseini
8ce619e827 Renaming base util to global as that's all it's used for. (#2958)
* Renaming base util to global as that's all it's used for.
2019-09-04 10:09:56 -07:00
Sam El-Husseini
e8a3964a1c Rename the pitch field (#2965)
* Rename the pitch field to fall under the CustomFields namespace.
2019-09-04 10:09:42 -07:00
Sam El-Husseini
dc8d27397e Add a build debug npm script for convenience (#2961) 2019-09-03 16:56:15 -07:00
Sam El-Husseini
77e36631f1 Add jsconfig for intellisense (#2962)
* Add jsconfig for intellisense
2019-09-03 16:56:01 -07:00
alschmiedt
e620b1fde6 Action list (#2959)
* Support keyboard navigation in read only mode
2019-09-03 16:11:06 -07:00
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