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
826409b01a
Add tests for keyboard navigation ( #2725 )
2019-07-29 13:12:09 -07:00
Beka Westberg
2464e3af46
Added setting a colour fields options through JSON. ( #2655 )
2019-07-18 12:23:31 -07:00
Beka Westberg
f873ddb1c6
Added Field Tooltip Support to the JSON ( #2657 )
...
* Added support for setting a field's tooltip via JSON.
* Added a test block to the playground.
2019-07-18 12:21:37 -07:00
Beka Westberg
4d9c0f01f5
Moved the date field to the dropdown div, and restyled it.
2019-05-28 15:32:20 -07:00
Beka Westberg
f16c9c0beb
Refactored field validation.
2019-05-24 14:23:42 -07:00
Beka Westberg
247aafae7e
Added updateColour to field.
2019-04-29 16:53:59 -07:00
Beka Westberg
ce816b93bf
Added field_label_serializable. ( #2399 )
2019-04-24 10:43:09 -07:00
Beka Westberg
e8573bc0db
Added isSerializable function and SERIALIZABLE property to fields.
2019-04-21 08:28:37 -07:00
Beka Westberg
0617cc7fea
Added isDirty_ property to fields.
2019-04-15 16:37:11 -07:00
Beka Westberg
f88c704d69
Fixed visible floating point errors in number fields. ( #2384 )
2019-04-15 13:26:20 -07:00
Neil Fraser
9561ecffa6
Common prefix for test blocks
...
Fixes #2103 .
This will break any saved XML involving the playground’s test blocks. I don’t think any such XML exists on this planet.
2019-04-05 16:03:43 -07:00
Rachel Fenichel
dfc74b8c4f
Use dropdownDiv for the angle field as well
2019-02-26 14:54:21 -08:00
Andrew n marshall
114171ada8
language-neutral text -> language-neutral id
2019-02-07 10:22:36 -08:00
Beka Westberg
74e5c49e0d
Fixed comments and defaults.
2019-02-05 14:32:40 -08:00
Beka Westberg
a47ddcb976
Added a test block for a dynamic dropdown.
2019-02-02 09:57:07 -08:00
alschmiedt
7941651444
Merge pull request #2184 from alschmiedt/blockly_colours
...
Blockly Themes
2019-01-11 10:57:57 -08:00
Beka Westberg
969687ec34
Added flipRtl Support for FieldImages ( #2203 )
...
* Added flipRtl support for FieldImages. Added a flipRtl test block.
* Added blockfactory support.
* Fixed JSDoc.
2019-01-10 08:59:35 -08:00
alschmiedt
55a46f8299
Fixes error thrown for style defined inline
2019-01-09 13:44:22 -08:00
alschmiedt
4fad29bf15
Fixes problem with hat style
2019-01-08 14:52:14 -08:00
BeksOmega
1c4ba38300
Added Max Instances Property to Workspace Options ( #2130 )
...
* Added Max Instances property to Blocks
* eslint cleanup
* eslint cleanup 2
* Moved maxInstances property from block to workspace (as a map of block type to max instances). isDuplicate() changed to correctly handle siblings/branches.
* eslint cleanup
* Changed checking types to map. Added hasBlockLimits. Fixed Nits.
* Added limit_instances test block. eslint fixes.
* fixup! Added limit_instances test block. eslint fixes.
* Changed sorting objects to a private static function of the workspace. Fixed nits. Undeleted .eslintrc
* Reverted .gitignore file.
* Added getBlockTypeCounts() to utils. Added isCapacityAvailable() to workspace. Changed clipboard to save typeCountsMap rather than object.
2018-11-27 16:34:21 -08:00
Neil Fraser
346b24aa74
Playground upgrades ( #2063 )
...
Adds two new blocks to the playground's test blocks.
Fixes dropdown which previously could not be set to 'Test Blocks' due to missing condition.
Simplifies detection of file:// url.
2018-09-25 13:59:26 -07:00
Andrew n marshall
46ee2d90fb
Moving media/test_* files (PR #2004 )
...
...to tests/media/.
2018-08-15 14:42:53 -07:00
picklesrus
063b5d880c
Add a test block with a dropdown containing both text and images ( #1748 )
2018-03-29 13:15:20 -07:00
Andrew n marshall
2358fe6fd5
Adding test cases for Unicode in blocks. ( #1646 )
...
Adds test blocks to demonstrate capabilities. Stopped short of adding BiDi override characters.
I added to the toolbox category "Images". It isn't really images, but it didn't seem worth making a separate category at this stage.
2018-02-21 13:53:44 -08:00
Andrew n marshall
d9a7f84b98
Adding test blocks into the playground ( #1629 )
...
The new toolbox option includes a number of test blocks
largely pulled from the android project, testing various
configurations and edge cases.
2018-02-16 11:14:40 -08:00
CoryDCode
6cc6848961
Added the variable modal and component and implemented basic renaming functionality. ( #991 )
2017-03-23 13:47:26 -07:00
Andrew n marshall
802c03b4c0
Adding tests for logic_ternary block in a new jsunit test framework.
2017-02-13 16:28:43 -08:00