Commit Graph
379 Commits
Author SHA1 Message Date
Ray Schamp ae529ea20d Only listen to targets update
This reduces the complexity of the reducer, as well as how frequently it's run. The VM will emit a targets update after a step if any target info has changed.
2017-05-12 11:45:06 -04:00
Ray Schamp 685066089b Merge pull request #342 from rschamp/feature/save-load
Add Save and Load buttons
2017-05-11 16:17:36 -04:00
Ray Schamp a0971dd8c0 Use appropriate minimum version of scratch-storage 2017-05-11 16:10:31 -04:00
Ray Schamp ca73379a09 Add button role to button component
/ht @paulkaplan
2017-05-11 15:41:10 -04:00
Ray Schamp 64891259b1 Merge pull request #339 from rschamp/feature/serialization
Integrate VM serialization changes
2017-05-11 15:40:34 -04:00
Paul Kaplan 4dd287a598 Merge pull request #347 from paulkaplan/fix-monitor-overlay
Allow pointer events to fall through the overlay
2017-05-08 09:54:30 -04:00
Paul Kaplan 62f6887ec4 Allow pointer events to fall through the overlay 2017-05-05 16:45:51 -04:00
Ray Schamp 520e11c0cf Add Save and Load buttons
Use the de/serialization features of the VM to allow downloading and loading project JSON
2017-05-04 17:41:35 -04:00
Ray Schamp 32f4355455 Fix sound tab images 2017-05-04 15:44:03 -04:00
Ray Schamp 45a52b7787 Remove shouldComponentUpdate from TargetPane
It doesn't help anything. Doing a deep compare is unnecessary because the underlying components will do the necessary comparison themselves. Simply seeing if the sprite list has changed at all is enough.
2017-05-04 15:44:02 -04:00
Ray Schamp 84901ebb98 Use storage to retrieve costume data urls 2017-05-04 15:44:02 -04:00
Ray Schamp d7d1ad9ea1 Move VM into a reducer
Otherwise it's very annoying to get access to the storage engine to load asset data.
2017-05-04 15:44:02 -04:00
Paul Kaplan a73efe8634 Merge pull request #337 from paulkaplan/monitors-redux
Add reducer, components and containers for monitors
2017-05-04 14:55:14 -04:00
Paul Kaplan d01a5f5bd0 Make a copy of monitor data 2017-05-04 10:36:53 -04:00
Paul Kaplan 125d8ebd06 Reduce nesting by just using an array 2017-05-04 09:45:39 -04:00
Paul Kaplan 9244cb8c2f Move positioning out of monitor list 2017-05-04 09:40:38 -04:00
Paul Kaplan bb50d49c52 Add name for unused event variable 2017-05-04 09:03:56 -04:00
Paul Kaplan 8e6605cd77 Pin react-draggable version 2017-05-04 09:03:05 -04:00
Chris Willis-Ford d10d5d733e Merge pull request #335 from cwillisf/minor-pin-scratch
Minor-pin all Scratch 3.0 prerelease modules
2017-05-03 11:30:39 -07:00
Paul Kaplan 8ea7e7d8b5 dd reducer, components and containers for monitors 2017-05-03 11:45:52 -04:00
DD Liu 46bacf8606 Merge pull request #334 from fsih/turbo
Toggle turbo mode when shift clicking the green flag
2017-05-02 11:03:11 -04:00
Christopher Willis-Ford bb650c833e Minor-pin all Scratch 3.0 prerelease modules
Pin these modules to 0.*-prerelease.* to avoid problems when we
eventually bump to 1.x
2017-05-01 15:27:39 -07:00
DD b681e630b8 toggle turbo mode on shift click the green flag 2017-05-01 16:56:00 -04:00
Paul Kaplan 075216f585 Merge pull request #330 from paulkaplan/prompt
Add prompt for variable creation
2017-04-26 10:35:25 -04:00
Paul Kaplan 22f54696f4 Update to new proptypes style 2017-04-26 10:16:36 -04:00
Paul Kaplan b2c507be45 Split prompt into container and component 2017-04-26 10:14:02 -04:00
Paul Kaplan 992eb209c3 Add prompt for variable creation 2017-04-26 10:14:02 -04:00
Ray Schamp 00b4f87ebe Merge pull request #327 from rschamp/bugfix/project-clobbering
Stringify project data
2017-04-24 15:08:46 -04:00
Ray Schamp cade94abde Stringify project data
Otherwise the VM can't JSON.load it.
2017-04-24 15:03:48 -04:00
Ray Schamp c58727b24c Merge pull request #325 from rschamp/bugfix/project-clobbering
Stop clobbering loading projects with default data
2017-04-24 14:36:59 -04:00
Paul Kaplan 60830fe917 Merge pull request #324 from paulkaplan/fix-whitespace-canvas
Fix whitespace canvas
2017-04-24 14:14:29 -04:00
Paul Kaplan c7d0a85a38 Merge pull request #323 from paulkaplan/rotation-degrees
Replace draggable with direction input
2017-04-24 14:13:33 -04:00
Chris Willis-Ford 1a8b2f66a3 Merge pull request #321 from cwillisf/storage-internal-constants
Get `Asset` and `AssetType` from storage instance
2017-04-24 09:50:51 -07:00
Ray Schamp 3bbd6f05bb Merge pull request #322 from LLK/greenkeeper/babel-loader-7.0.0
Update babel-loader to the latest version 🚀
2017-04-24 12:49:02 -04:00
Ray Schamp 24b72f76d3 Update base Node version to 6
This version of babel-loader dropped support for Node < 4. Although 4.2 >= 4, update to 6  for consistency with our other repos, and so that we stay ahead of the curve for any other packages.
2017-04-24 12:35:48 -04:00
Ray Schamp e9d33f8388 Stop clobbering loading projects with default data
If the app is loading with an initial project id, don't try to load the default project. Previously, this data would load on top of the project being loaded.

Does not fix the issue of blocks not loading in the blocks pane, which appears to be separate.
2017-04-24 12:06:24 -04:00
Paul Kaplan 5f2dffb39a Use 4x3 ratio for backdrop thumbnail to prevent blank space 2017-04-24 10:55:46 -04:00
Paul Kaplan afcdc6a1c4 Use overflow to clip border radius 2017-04-24 10:54:52 -04:00
Paul Kaplan d036a51e48 Remove placeholder 2017-04-24 10:30:08 -04:00
Paul Kaplan ae1f699c1d Replace draggable with direction input 2017-04-24 09:43:17 -04:00
greenkeeper[bot] 70836b2447 chore(package): update babel-loader to version 7.0.0
https://greenkeeper.io/
2017-04-21 22:26:10 +00:00
Christopher Willis-Ford a0f7d75fdc Get Asset and AssetType from storage instance 2017-04-20 16:15:43 -07:00
Ray Schamp 507711515d Merge pull request #319 from rschamp/greenkeeper-2017-4-20
Update dependencies
2017-04-20 19:10:37 -04:00
Ray Schamp 58d482d102 Move to PropTypes for React 15.5
With jscodeshift thank God
2017-04-20 19:02:59 -04:00
Ray Schamp 92f083bcf1 Fix React dev dependency 2017-04-20 19:01:26 -04:00
greenkeeper[bot] 063373e5d8 chore(package): update react-tabs to version 0.8.3
https://greenkeeper.io/

# Conflicts:
#	package.json
2017-04-20 19:01:26 -04:00
greenkeeper[bot] b54042c0b6 chore(package): update react-style-proptype to version 3.0.0
https://greenkeeper.io/

# Conflicts:
#	package.json
2017-04-20 19:01:26 -04:00
greenkeeper[bot] 5cf1c54e20 chore(package): update react-redux to version 5.0.4
https://greenkeeper.io/

# Conflicts:
#	package.json
2017-04-20 19:01:26 -04:00
greenkeeper[bot] b418a53efb chore(package): update react-modal to version 1.7.7
Closes #311

https://greenkeeper.io/
2017-04-20 19:01:26 -04:00
greenkeeper[bot] 2651a23cd9 chore(package): update react to version 15.5.4
https://greenkeeper.io/
2017-04-20 19:01:26 -04:00