Commit Graph

4110 Commits

Author SHA1 Message Date
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
Sam El-Husseini
09d2a167f9 Fix travis by running browser tests in headless mode (#3001)
* Fix travis by running browser tests in headless mode
2019-09-11 17:25:22 -07:00
Beka Westberg
042ddb043b Added hideChaff calls to the custom fields demo. 2019-09-11 15:49:21 -07:00
Rachel Fenichel
7a068f8521 Merge pull request #2996 from rachel-fenichel/alphabetize
Alphabetize requires
2019-09-10 13:18:56 -07:00
Rachel Fenichel
4b17234cba Alphabetize requires 2019-09-10 13:01:13 -07:00
alschmiedt
4a80889ef1 Enter accessibility (#2982)
* Fix shift clicking on a block

* Add tests for toggle keyboar nav
2019-09-09 16:41:06 -07:00
Sam El-Husseini
22fdf2ac20 Update npm readme to use correct path for the Javascript generator (#2993) 2019-09-09 15:41:09 -07:00
translatewiki.net
8e0a0e85c4 Localisation updates from https://translatewiki.net. 2019-09-09 19:11:40 +02:00
Sam El-Husseini
4c8e28c53d Dynamic output shapes (#2980)
* Round and triangle dynamic output shapes.
2019-09-06 13:04:01 -07:00
translatewiki.net
f2595b980c Localisation updates from https://translatewiki.net. 2019-09-06 06:44:42 +02:00
Rachel Fenichel
cd2d59597d Merge pull request #2974 from rachel-fenichel/block_height
Add dark path offset in geras info.
2019-09-05 17:11:06 -07:00
Rachel Fenichel
e96acf476c Add dark path offset in geras info. 2019-09-05 16:55:56 -07:00
Rachel Fenichel
ffd1a157ae Merge pull request #2973 from rachel-fenichel/highlight_path
Use strings instead of arrays for highlight paths
2019-09-05 16:30:39 -07:00
Rachel Fenichel
261040a6fd Add jsdoc 2019-09-05 16:19:51 -07:00
Rachel Fenichel
e48c60fee6 Use strings instead of arrays for highlight paths 2019-09-05 15:48:46 -07:00
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