Commit Graph

3385 Commits

Author SHA1 Message Date
Beka Westberg
ce816b93bf Added field_label_serializable. (#2399) 2019-04-24 10:43:09 -07:00
Rachel Fenichel
71d7809c8d Set node version explicitly for travis; rebuild (#2403)
* Set node version explicitly for travis
* rebuild
* Tweak travis config
2019-04-23 16:33:39 -07:00
RoboErikG
d625d60c49 Add release and milestone information to Readme (#2401)
* Add release and milestone information to Readme

* Readme updates in response to comments
2019-04-23 14:36:37 -07:00
Jim Jiang
1b10d134a5 Add Block.setEnabled (#2386)
* Implement Block.setEnabled()

From issue #1593. This commit:
- add setEnabled
- deprecate setDisabled

* Update setDisabled calls to setEnabled

Add setEnabled and deprecate setDisabled in
- core/block_svg

Update calls in
- blocks/loops
- blocks/procedures
- core/block_events
- core/events
- core/flyout_base
- core/xml
- tests/workplace_svg/procedure_svg_test

* Implement changes from comments from RoboErikG

- Implement isEnabled()
- Make this.disabled @private
- Make setDisabled(disabled) call setEnabled(!disabled)
- Update setEnabled to use isEnabled()

* Utilize isEnabled() and fix typos

Fix missing parentheses
Implement isEnabled() more widely
Fix lint and parentheses errors

* Change prevDisabledState to prevEnabledState
2019-04-23 08:49:07 -07:00
asunwoo98
aa4d885cba Validate newValue parameter in setValue (#2392)
* Validate newValue parameter in setValue

* bugfix

* alternate fix

* test

* cleanup
2019-04-22 16:00:37 -07:00
Rachel Fenichel
a84e86f097 Merge pull request #2366 from alschmiedt/Documentation_Update
Documentation update
2019-04-22 14:45:38 -07:00
alschmiedt
1ca7d6a28b Clarifies what statementToCode does 2019-04-22 14:20:05 -07:00
translatewiki.net
fc80d71f39 Localisation updates from https://translatewiki.net. 2019-04-22 22:04:07 +02:00
Beka Westberg
9a9c6612f8 Changed buttons and labels to respect <sep> elements in toolbox. (#2395) 2019-04-22 12:23:04 -07:00
Rachel Fenichel
bc49f29015 Merge pull request #2389 from BeksOmega/feature/SerializableFields
Added isSerializable and SERIALIZABLE to Field
2019-04-22 11:05:50 -07:00
Beka Westberg
148823146d Fixed lint errors 2019-04-22 10:55:36 -07:00
Beka Westberg
91b0e3d79a Changed mocha eslint config to extend root eslint config. 2019-04-22 10:45:35 -07:00
Rachel Fenichel
2e70b8e343 Merge pull request #2397 from BeksOmega/fixes/RTLDemoBlocks
Moved RTL Demo Blocks so They Aren't Behind the Toolbox
2019-04-22 09:12:23 -07:00
Beka Westberg
e8573bc0db Added isSerializable function and SERIALIZABLE property to fields. 2019-04-21 08:28:37 -07:00
Beka Westberg
5df7a39dae Moved RTL demo blocks so they aren't behind the toolbox. 2019-04-20 08:32:56 -07:00
Rachel Fenichel
9152b9dc94 Merge pull request #2394 from rachel-fenichel/update_version_num
Update version number to 1.20190419.0-develop
2019-04-19 13:28:44 -07:00
Rachel Fenichel
a82604d75c Update version number to 1.20190419.0-develop 2019-04-19 11:38:11 -07:00
Rachel Fenichel
a03f9b9fca Merge pull request #2393 from google/rachel-fenichel-patch-2
Add sauce labs to readme
2019-04-18 12:21:07 -07:00
Rachel Fenichel
0c0eeab502 Add sauce labs to readme 2019-04-18 12:18:05 -07:00
ahigerd
bc77024670 Reorganize conditionals for block context menu (#2390)
* Reorganize conditionals for block context menu

* Disable comments and disabling in block factory
2019-04-18 08:49:07 -07:00
translatewiki.net
ae112354fb Localisation updates from https://translatewiki.net. 2019-04-18 16:55:44 +02:00
Rachel Fenichel
209a87ee6c Merge pull request #2382 from BeksOmega/feature/FieldIsDirty
Added isDirty_ Property to Fields
2019-04-16 14:24:05 -07:00
Beka Westberg
0617cc7fea Added isDirty_ property to fields. 2019-04-15 16:37:11 -07:00
RoboErikG
ec78eeb39b Propagate the visible state when blocks connect (#2003)
* Propagate the visible state when blocks connect

This fixes #1967.

In rendered connections when connecting:
- If the superior connection is hidden this hides the newly connected block.
- If the superior connection isn't hidden it makes sure the block is visible.

In rendered connections when disconnecting:
- If the superior connection is hidden, make the disconnected block stack visible.

TODO before review:
 - write tests.
 - update collapsed message

* Add missing overrides

* Add tests for hidden connections and fix a bug while disposing
2019-04-15 16:23:19 -07:00
Beka Westberg
f88c704d69 Fixed visible floating point errors in number fields. (#2384) 2019-04-15 13:26:20 -07:00
Rachel Fenichel
6bb27052ee Merge pull request #2383 from google/fraser-angle
Angle picker's degree symbol left of number in both LTR and RTL.
2019-04-15 12:33:38 -07:00
Beka Westberg
b93253c69c Fixed Mutator Flyout Being Positioned Incorrectly RTL (#2378)
* Fixed mutator flyout being positioned incorrectly.

* Changed flyout_horizonal and flyout_vertical to check this.targetWorkspace_.toolboxPosition instead of targetWorkspaceMetrics.toolboxPosition.
2019-04-15 10:02:07 -07:00
translatewiki.net
fd4bbe035c Localisation updates from https://translatewiki.net. 2019-04-15 17:31:58 +02:00
Neil Fraser
8c99cccbc3 Degree symbol left of number in both LTR and RTL.
Resolves issue #2380.
2019-04-13 20:30:56 -07:00
Rachel Fenichel
1bd7c7bffd Merge pull request #2376 from alschmiedt/rever_hideChaff_fix
Reverts hideChaff fix
2019-04-11 14:25:24 -07:00
alschmiedt
be4da5feeb Reverts hideChaff fix 2019-04-11 11:43:37 -07:00
translatewiki.net
daf59f6659 Localisation updates from https://translatewiki.net. 2019-04-11 17:41:49 +02:00
Rachel Fenichel
a4af4c8c58 Merge pull request #2372 from rachel-fenichel/rebuild_04_08_19
Rebuild
2019-04-08 19:22:59 -07:00
Rachel Fenichel
e264105a78 Rebuild 2019-04-08 19:21:02 -07:00
Rachel Fenichel
9c0e138e22 Merge pull request #2367 from alschmiedt/mutator_fix
Updates function call
2019-04-08 17:30:33 -07:00
Rachel Fenichel
5e49771216 Merge pull request #2371 from nyu-ossd-s19/typofix
typo fix in line 134 of field.js for documentation
2019-04-08 16:59:35 -07:00
asunwoo98
ef1c6d08d4 typo fix in line 134 of field.js for documentation 2019-04-08 18:00:38 -04:00
alschmiedt
c4f8313792 Updates function call 2019-04-08 14:14:56 -07:00
alschmiedt
98a1c06e7a Changed jsdoc 2019-04-08 10:48:22 -07:00
translatewiki.net
2e5d585f24 Localisation updates from https://translatewiki.net. 2019-04-08 16:39:34 +02: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
RoboErikG
5056e23389 Fix margins/checkbox in RTL dropdown menus (#2356)
Fixes #2337 by adding in correct positioning for RTL selected states
and fixing an incorrect margin value.
2019-04-05 15:55:00 -07:00
alschmiedt
97d670c0ea Updates documentation 2019-04-05 12:00:04 -07:00
alschmiedt
4fca16730c core/generator.js 2019-04-05 11:59:05 -07:00
alschmiedt
dcbac91ba3 Merge pull request #2360 from alschmiedt/Bump_RTL
Fixes bumping too much when in RTL
2019-04-04 16:26:14 -07:00
alschmiedt
a759fffcc1 Fixes bumping too much when in RTL 2019-04-04 15:54:17 -07:00
alschmiedt
124a8f1e40 Merge pull request #2359 from alschmiedt/Hide_chaff_bug
Hides chaff on document mouseup
2019-04-04 14:08:55 -07:00
alschmiedt
db7a87555f Hides chaff on document mouseup 2019-04-04 11:24:22 -07:00
translatewiki.net
7210148776 Localisation updates from https://translatewiki.net. 2019-04-04 19:56:17 +02:00
Thomas Lim
80b835e04c Develop1709 (#2358)
* Remove Python references in Dart math generator
Resolves #2329
Commit in develop branch

* first commit for Thomas

* Created entry for custom-dialogs
Part of issue #1709

* icon.png for custom dialog demo added
2019-04-03 19:25:07 -07:00