Beka Westberg
c32c835088
Fixed programmatically added connections not being added to the connection db ( #3318 )
...
* Fixed programmatically added connections not getting added to the connection db.
2019-10-29 15:31:40 -07:00
alschmiedt
cbf867f441
Add keyboard navigation support for multiple workspaces ( #3352 )
...
* Add keyboard navigation support for multiple workspaces
2019-10-28 12:53:51 -07:00
Sam El-Husseini
52bef4463c
Fix warnings related to connections. ( #3306 )
...
* Fix warnings related to connections.
2019-10-23 17:56:52 -04:00
Sam El-Husseini
267deceb82
Dropdowndiv positioning ( #3212 )
...
* Fix positioning of the dropdown div
2019-10-16 10:20:40 -05:00
Beka Westberg
8f73fdb512
Fixed comments in trashcan.
2019-10-15 13:02:02 -07:00
RoboErikG
d09b85dc9e
Cleanup for #3179 ( #3229 )
2019-10-14 09:57:38 -07:00
alschmiedt
cf04a9529b
Fix compilier warnings for keyboard nav ( #3196 )
...
* Fix compilier warnings for keyboard nav
2019-10-08 11:34:39 -07:00
alschmiedt
a1b18368f2
Remove dead code from ast node ( #3183 )
2019-10-07 14:20:37 -07:00
RoboErikG
663809297d
Set correct defaults for Fields ( #3179 )
...
null was being converted to 0 by Number() when it should cause the
default value to be set instead. This updates FieldNumber and
FieldAngle to handle nulls correctly. Also update jsdoc.
Fixes #3177
2019-10-07 11:38:32 -07:00
Sam El-Husseini
2ac4149d98
Misc compiler warnings. ( #3172 )
...
* Fix misc compiler warnings. Use ws.getToolbox() instead of ws.toolbox_
2019-10-07 11:06:56 -07:00
Rachel Fenichel
608ce7b93c
Merge pull request #3133 from BeksOmega/fixes/ConnectionTracking
...
Connection Tracking Pt 3: Changed connections to use 'tracked_' property
2019-10-07 11:05:10 -07:00
Sam El-Husseini
d0772ad496
Fix compiler warnings related to fields. ( #3144 )
...
* Fix compiler warnings related to fields.
2019-10-03 15:58:46 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Beka Westberg
f217320154
Unskipped tests.
2019-10-01 19:27:47 -07:00
Beka Westberg
afbb2cca1e
Moved all database related code out of headless and into rendered.
2019-09-27 18:00:06 -07:00
Beka Westberg
d5e9e4c3b4
Removed TODO.
2019-09-27 16:38:37 -07:00
Beka Westberg
1baf7d1dcf
Added a bunch of connection related tests.
2019-09-27 15:56:29 -07:00
alschmiedt
468b673b73
Fix bugs ( #3108 )
...
* Fix various bugs around keyboard nav
2019-09-27 14:34:28 -07:00
Monica Kozbial
f4136fdc2a
Adding test and updating TODO. ( #3102 )
...
* Adding test and updating TODO.
* changing bug number referenced in TODO
2019-09-27 11:12:37 -07:00
Sam El-Husseini
870824bc3e
Workspace theme ( #3093 )
...
* Move the theme object so it's on the workspace.
* Add support for subscribing UI elements to theme component styles and changes.
2019-09-26 16:52:17 -07:00
Monica Kozbial
22e79ae496
Updating behavior of register functions and adding unregister. ( #3085 )
...
* Updating behavior of register functions and adding unregister.
* Updates jsdoc comments.
2019-09-26 13:23:45 -07:00
Neil Fraser
ddb04a3bc2
Partial code review of nav ( #3091 )
...
* Partial code review of nav
Had a few minutes free.
* Move getTopStackBlock to block
This is a generally useful function.
2019-09-26 10:19:40 -07:00
Rachel Fenichel
269f0dc381
Enable eslint rule spaced-comment
...
Fix up all remaining violations and turn the rule on.
2019-09-25 16:04:05 -07:00
Monica Kozbial
e1e9513e86
Disconnect child block always for block.dispose(/* healStack */ true) ( #3073 )
...
* Disconnecting child block even if it cannot be connected to parent block.
* Bump disconnected child block.
* Added method for behavior on failed connection and updated expected behavior of unplug in unit tests.
* Removing obsolete TODO and calling new helper method in tests.
2019-09-25 10:47:29 -07:00
Beka Westberg
593383e18a
Changed variable field to use configuration ( #3065 )
...
* Changed variable field to use new configuration.
2019-09-23 11:14:03 -07:00
Beka Westberg
9e5df6216a
Fixed comment ownership. ( #2923 )
...
* Moved comment icons to use a model-based system. The block holds the model of the comment, and the comment icon holds a reference to it.
* Reorganized the setVisible function.
* Changed how xml.js serializes and deserializes comments.
2019-09-20 13:16:07 -07:00
Sam El-Husseini
cb564053b3
Merge toolbox navigation ( #3054 )
...
* Merge both types of keyboard navigation (with and without accessibility mode).
2019-09-19 16:36:39 -07:00
Beka Westberg
1c3db256fa
Added angle field config ( #3038 )
...
* Added angle field configuration.
2019-09-19 16:15:20 -07:00
alschmiedt
6516363469
Change setLocation to setCurNode ( #3051 )
...
* Change setLocation to setCurNode
2019-09-19 15:15:14 -07:00
Beka Westberg
093467aed1
Added More Procedure Unit Tests ( #2630 )
...
* Added more procedure unit tests.
* Cleanup from rebase.
* Cleanup.
2019-09-18 16:14:06 -07:00
alschmiedt
8b3d48b148
Update demo ( #3033 )
...
* Update the cursor demo to use the basic cursor
* Change <br> to <br />
2019-09-18 12:01:50 -07:00
alschmiedt
9004346f7d
Remove moving on the workspace ( #3029 )
...
* Remove moving on the workspace
2019-09-17 10:58:34 -07:00
Beka Westberg
92eea22628
Label Field Config ( #2984 )
...
* Added label field configuration.
2019-09-16 16:53:06 -07:00
alschmiedt
2c98ecaed6
Update APIs and Add New Cursor Look ( #3009 )
...
* Updates methods to be private in navigation.js
* Update cursor with new look
2019-09-16 12:33:43 -07:00
Beka Westberg
e05e26ab45
Fixed insertFieldAt ( #2939 )
...
* Fixed insertFieldAt.
* Updated tests to reflect upcomming config changes.
2019-09-16 11:11:18 -07:00
Beka Westberg
b149aabd16
Image Field Config ( #2983 )
...
* Added image field configuration.
2019-09-16 11:05:32 -07:00
Beka Westberg
8b9816abcb
Text Field Config ( #2986 )
...
* Added text input field configuration.
2019-09-16 10:08:46 -07:00
Beka Westberg
af81239c42
Number Field Configuration ( #2985 )
...
* Added number field configuration.
2019-09-16 09:52:08 -07:00
Neil Fraser
23caa12571
Error is a constructor, ‘new’ is not required.
2019-09-12 18:02:59 -07:00
Sam El-Husseini
f3f3329355
Fix configure method ( #2915 )
...
* Fix configure method.
2019-09-12 17:01:03 -07:00
alschmiedt
ec07a36e44
Update cursor api ( #3002 )
...
* Move over to new implementation for cursor
2019-09-11 18:16:05 -07:00
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
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
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
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
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