Commit Graph

491 Commits

Author SHA1 Message Date
alschmiedt
e8f328aa28 Fix enable accessibility (#2968)
* Enables accessibility mode should make the cursor visible
2019-09-05 14:05:52 -07:00
alschmiedt
6e8d200857 Refactors modify and add tests (#2955)
* Refactors modify and add tests
2019-09-04 10:58:47 -07:00
alschmiedt
e620b1fde6 Action list (#2959)
* Support keyboard navigation in read only mode
2019-09-03 16:11:06 -07:00
Rachel Fenichel
c069316866 Debug configurability 2019-08-29 16:21:51 -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
Neil Fraser
0251340a65 Add test block that breaks renderer. 2019-08-27 10:48:23 -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
f23b659898 Remove this.text_ (#2910)
* Remove this.text_ and have every field handle its own properties.
2019-08-26 10:56:36 -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
Beka Westberg
821edb7e22 Changed Checkbox Field to New Configuration Paradigm (#2876)
* Moved checkbox field to new configuration paradigm.
2019-08-22 13:55:41 -07:00
Sam El-Husseini
4deb166007 Remove closure from the build script and blockly_uncompressed (#2891)
* Remove closure from the build script and blockly_uncompressed.
2019-08-22 11:22:55 -07:00
Sam El-Husseini
6d2a0ac31b Remove closure dependency from tests (#2889)
* Remove goog.testing dependency and use mocha as a test runner instead of goog.testing.jsunit
2019-08-22 11:10:53 -07:00
alschmiedt
7bba4fa59c Moves the cursor to correct location when block is deleted (#2887)
* Moves the cursor to correct location when block is deleted

* Moves cursor on block mutation
2019-08-21 16:33:16 -07:00
Sam El-Husseini
705730df0c Convert connection_db jsunit tests to mocha (#2872)
* Convert connection_db jsunit tests to mocha
2019-08-21 13:35:20 -07:00
Sam El-Husseini
f15f9ebd13 Convert metrics jsunit test to mocha (#2871)
* Convert metrics jsunit test to mocha
2019-08-20 20:15:39 -07:00
Sam El-Husseini
eada00a692 Convert theme jsunit test to mocha (#2874) 2019-08-20 20:14:38 -07:00
Rachel Fenichel
3e6c0a07e3 Merge pull request #2849 from BeksOmega/feature/AbstractFieldConfig
Changed Abstract Field to New Configuration Paradigm
2019-08-20 13:31:24 -07:00
Sam El-Husseini
3d9b8267b5 Convert names_test from jsunit to mocha. (#2873) 2019-08-20 13:17:40 -07:00
Sam El-Husseini
419451932a Convert gesture junit tests to mocha (#2875) 2019-08-20 13:17:28 -07:00
Beka Westberg
0d482c6488 Changed colour field to new configuration paradigm. 2019-08-20 09:44:14 -07:00
Beka Westberg
4f411d2859 Added handling of dynamic functions passed to opt_config. 2019-08-18 07:54:54 -07:00
Beka Westberg
9fde484a87 Moved setTooltip tests into the customization suite. 2019-08-18 07:54:54 -07:00
Beka Westberg
1e73f69cea Changed abstract field to new configuration paradigm. 2019-08-18 07:54:54 -07:00
alschmiedt
a72950cc83 Fix cursor svg to work with new rendering (#2856) 2019-08-16 18:52:29 -07:00
alschmiedt
50580febfa Add timeout for mocha tests (#2847) 2019-08-16 18:30:35 -07:00
Rachel Fenichel
803a20b6bc Merge pull request #2789 from BeksOmega/feature/FieldUtils
Extracted Common Field Support Methods Into Utils Files
2019-08-16 13:38:33 -07:00
Beka Westberg
0516122dff Added case-insensativity & safety rebuild. 2019-08-16 12:49:18 -07:00
Beka Westberg
680321fb1d Don't try to be fancy. 2019-08-16 12:25:22 -07:00
Beka Westberg
0714335bbb And fix the XML test too. 2019-08-16 12:17:08 -07:00
Beka Westberg
e92dd6bcd6 Maybe like really fix mocha. 2019-08-16 12:09:47 -07:00
alschmiedt
493470807d Remove check for renderer name from build and compile scripts (#2842) 2019-08-16 11:03:40 -07:00
Beka Westberg
e0009e62ce Remove everything but date tests. 2019-08-16 10:52:48 -07:00
Beka Westberg
f1afb61694 Maybe fix mocha? 2019-08-16 10:26:01 -07:00
Beka Westberg
b300583b6a Try to Fix Mocha: Remove changed tests. 2019-08-16 09:57:28 -07:00
Beka Westberg
542ba09d78 Try to Fix Mocha: Remove unnecessary function bindings? 2019-08-16 09:57:28 -07:00
Beka Westberg
0872d022e1 Changed utils.fields -> fieldRegistry. Also removed useless tooltip requires. 2019-08-16 09:57:28 -07:00
Beka Westberg
16c59d2ffc Added tests and remove jsunit fields test file. 2019-08-16 09:57:27 -07:00
Beka Westberg
cdc90f4059 Refactored field utilities. 2019-08-16 09:57:27 -07:00
alschmiedt
9b3e05e3d9 Field accessibility (#2823)
* Gives fields a chance to handle keyboard events
2019-08-15 15:44:54 -07:00
Sam El-Husseini
4a10ff833d Remove all calls to goog.events.KeyCodes (#2824)
* Remove all calls to goog.events.keyCodes
2019-08-14 14:14:49 -07:00
alschmiedt
00be6a6381 Make the navigation namespace lowercase (#2812) 2019-08-13 14:00:49 -07:00
Sam El-Husseini
7ab4bb846c Add a test script to compile typings and test on travis (#2808) 2019-08-13 13:49:28 -07:00
alschmiedt
74fa3bb71a Initial commit for changing key mappings (#2787)
* Added ability to easily change key mappings
2019-08-13 13:37:01 -07:00
Rachel Fenichel
61d03ba249 Add debug rendering that shows the bounding box of the block 2019-08-12 16:09:19 -07:00
Beka Westberg
654467e9ac Added disposed = false properties to fields, connections, and blocks. Changed applicable unit tests from isNotOk -> isFalse. 2019-08-07 07:17:41 -07:00
Beka Westberg
56f424d8ed Added removeInput tests. 2019-08-07 07:07:30 -07:00
Beka Westberg
2f88a40f9b Added block disposal tests. 2019-08-07 07:07:30 -07:00
Beka Westberg
995a2658fe Added shadow unplug tests. 2019-08-07 07:07:30 -07:00
Beka Westberg
b28788fad6 Added licenses to tests and changed some formatting. 2019-08-07 07:07:30 -07:00
Sam El-Husseini
f34f2beac7 Remove all calls to goog.style (#2781)
* Remove dependency on goog.style
2019-08-06 14:54:13 -07:00