Commit Graph
1002 Commits
Author SHA1 Message Date
Karishma Chadha 73ec43d0b3 Revert "Rename md5 property in default sb3 project to md5ext to reflect it's actual contents."
scratch-audio depends on sound property being called md5 even though it refers to md5+file ext,
so this property cannot be renamed just yet.

This reverts commit dee7195fac.
2018-03-21 12:38:55 -04:00
Karishma Chadha dee7195fac Rename md5 property in default sb3 project to md5ext to reflect it's actual contents. 2018-03-21 11:16:34 -04:00
Karishma Chadha 447b2b551a Code cleanup to remove warning for loadingStateVisible property. 2018-03-16 15:13:19 -04:00
Karishma Chadha 5cbec2e127 Moving shorthand prop ('disabled') first, according to react lint rules. 2018-03-15 11:10:42 -04:00
kchadha 03310e42a3 Load button file input should only accept specific file extensions. Update load button to use new revamped loadProject function from VM. Loading a project via load button should clear the url hash (without triggering a reload or the project-loader-hoc). 2018-03-15 10:17:09 -04:00
kchadha dff72b62dc Trigger loading animation and loading error states from load button. 2018-03-15 10:17:09 -04:00
kchadha a7a0260808 Gui should catch vm load errors and render error page if project failed to load. 2018-03-15 10:17:09 -04:00
Paul Kaplan 20ce165b1f Merge pull request #1610 from kchadha/fix-reload-link
Fix reload button on error page
2018-03-14 14:41:16 -04:00
Paul Kaplan 36a19bfa1b Allow new sprite to propagate before selecting costume tab 2018-03-12 14:23:32 -04:00
kchadha b0101fe4f9 Fix reload button on error page so that it goes to the correct url (including the pathname). 2018-03-12 13:42:15 -04:00
kchadha d9f13332fa Merge pull request #1564 from kchadha/save-load
Save and Load sb3 projects
2018-03-09 10:58:39 -05:00
kchadha c647ad6286 Removing JSZip dependency. VM will unpack the zip (for now, until this functionality gets moved to scratch-storage). 2018-03-08 10:21:35 -05:00
Paul Kaplan 0b4737f123 Merge pull request #1495 from kyleplo/showhide-stage
Update make-toolbox-xml.js
2018-03-08 09:28:36 -05:00
kyleplo 9a9b60d74f Update make-toolbox-xml.js 2018-03-08 08:09:56 -05:00
kchadha df37f3ccf1 Merge pull request #1532 from kchadha/report-mouse-up
Always report mouse-up to VM and send flag indicating end of drag
2018-03-07 17:15:04 -05:00
kchadha a57aad36d2 Code cleanup addressing PR comment. 2018-03-07 13:23:37 -05:00
Andrew Sliwinski 68b14cfac5 Merge pull request #1511 from thisandagain/bugfix/library
Minor fixes to sprite library
2018-03-07 12:07:26 -05:00
Andrew Sliwinski bc755b38f3 Additional fixes to libraries 2018-03-06 16:27:48 -05:00
DD Liu dab400a063 Merge pull request #1547 from fsih/backdropLoad
Move backdrop library back to costumes tab
2018-03-06 15:52:02 -05:00
DD 3f987097ff Add switching to costumes tab to surprise button also. All backdrop adding buttons should switch tabs. 2018-03-06 15:43:47 -05:00
DD c1780800c2 Switch to costumes tab on open backdrop library 2018-03-06 11:00:54 -05:00
kchadha 0342fe976f Merge branch 'develop' into save-load 2018-03-06 10:13:37 -05:00
Karishma Chadha c9840b5f2a Updating save and load buttons to not use bind in mapStateToProps 2018-03-06 10:09:24 -05:00
Paul Kaplan be1dfc133a Merge pull request #1546 from fsih/costumeSwitchIndex
Switch to the correct costume number when switching sprites
2018-03-06 08:58:21 -05:00
Paul Kaplan 8bc925c4a4 Merge pull request #1551 from kchadha/http-url
Allow http url in import modal
2018-03-06 08:50:17 -05:00
Paul Kaplan 02fae56a20 Merge pull request #1514 from paulkaplan/react-perf
Performance audit of react/redux state
2018-03-06 08:43:44 -05:00
Karishma Chadha 64ee4c7e86 Remove unused import. 2018-03-05 17:13:40 -05:00
Karishma Chadha 588273a991 Let vm do the heavy lifting and give gui the file to download. 2018-03-05 17:07:07 -05:00
DD afd73dcfd8 Uncomment raven 2018-03-05 16:48:52 -05:00
DD fe6078cce1 Move backdrop library back to costumes tab 2018-03-05 16:48:52 -05:00
Paul Kaplan 56ffff20a6 Cache Renderer.isSupported because it takes 30ms every time 2018-03-05 12:20:39 -05:00
Karishma Chadha 1c2c79e62f Loading sb3 projects via load button that were saved via save button. 2018-03-04 17:30:30 -05:00
Karishma Chadha 8641ae2ab3 Update save button to download zip of project json + serialized assets (costumes and sounds). 2018-03-04 17:30:30 -05:00
Karishma Chadha 1adf6b24f5 allow http url in import modal 2018-03-04 16:45:51 -05:00
DD 4da72835fe Set index for sounds too. Reseting to sound 0 matches scratch 2 behavior 2018-03-02 14:01:51 -05:00
DD d87b34cd0a Switch to the correct costume number when switching sprites 2018-03-02 13:51:32 -05:00
Karishma Chadha ff37a347d0 Send flag to vm to indicate that mouse-up event was also the end of a drag. VM should use this flag to selectively activate the sprite click hat. 2018-02-28 16:34:35 -05:00
Karishma Chadha fa40d54955 onMouseUp should tell the vm that the mouse is up even if a drag just ended. 2018-02-28 15:29:36 -05:00
Karishma Chadha 4bf21a53bb Swapping out default project with sb3 version. This will be refined as the sb3 spec gets fleshed out. 2018-02-28 11:03:10 -05:00
Paul Kaplan 5542becc44 Add fetching and loading states to display loading screen. 2018-02-27 17:23:20 -05:00
kchadha 89214e1611 Merge pull request #1516 from chrisgarrity/feature/gh1205-oops-error
Nicer crash message format
2018-02-27 14:52:54 -05:00
chrisgarrity d65fabc6a7 reload without project hash 2018-02-27 14:13:33 -05:00
Paul Kaplan f168256ff5 Merge pull request #1523 from paulkaplan/fix-gui-updating
Fix the GUI not updating when new project data is available
2018-02-27 13:04:53 -05:00
Moran T c670d4f1a8 Remove shouldComponentUpdate from vmListenerHOC, move block drag end
to target pane, which already has all the needed props.
2018-02-27 12:07:13 -05:00
Paul Kaplan 92f1d64473 Cache Renderer.isSupported because it takes 30ms every time 2018-02-27 09:33:46 -05:00
Moran T d2d15f68d4 Revert "Adding constraint on min height for large stage"
This reverts commit 0a741b1083.
2018-02-27 15:13:23 +02:00
Moran T 0a741b1083 Adding constraint on min height for large stage
Should help with smaller screen sizes, where the ratio is different (like some chromebooks)
2018-02-27 15:11:52 +02:00
chrisgarrity 5f1fe57206 Nicer crash message format
fixes #1205.

It doesn’t translate any of the text to avoid a case where translation is causing the error, and fails in the error boundary as well.
2018-02-26 21:13:24 -05:00
DD Liu c4ab9d5191 Merge pull request #1468 from fsih/blockDrag
Block drag
2018-02-26 17:31:34 -05:00
kchadha 4de8cf1961 Merge pull request #1481 from kchadha/sb2-import
SB2 Import Modal
2018-02-26 17:02:07 -05:00