Commit Graph
908 Commits
Author SHA1 Message Date
picklesrus 9cd41199c5 Fix #4203 by checking whether a target exists before asking whether it has an variables 2018-12-26 16:26:34 -05:00
Paul Kaplan 3c53bac17b Revert "Make remixing/saving faster by marking all assets as clean to start." 2018-12-21 11:22:16 -05:00
Chris Willis-Ford 744076babf Merge pull request #4162 from cwillisf/telemetry-opt-in
Add telemetry opt-in/opt-out dialog
2018-12-20 18:44:13 -08:00
Andrew Sliwinski 3ba85ebd74 Merge pull request #4172 from ericrosenbaum/bugfix/another-library-update
More library updates
2018-12-20 17:37:59 -05:00
Eric Rosenbaum fb6da98bfd More library updates 2018-12-20 17:23:25 -05:00
Christopher Willis-Ford ee80e07ade Add telemetry opt-in/opt-out dialog
The playground now displays this on startup when in Scratch Desktop
simulation mode.
2018-12-20 13:50:36 -08:00
Paul Kaplan 57e841b19b Merge pull request #4146 from paulkaplan/list-import
Implement list import and export from files
2018-12-20 13:35:54 -05:00
Paul Kaplan 54eea42e15 Remove most of the analytics.pageview events, keeping the search queries 2018-12-20 13:19:24 -05:00
Paul Kaplan 50a917280a Use new sentry API provided by www, and use analytics ID from www 2018-12-20 12:53:33 -05:00
Benjamin Wheeler 19f5b196bd Merge pull request #4160 from benjiwheeler/load-fonts-in-redux
refactored font loading state to be in redux
2018-12-20 10:00:37 -05:00
Paul Kaplan fc28a7256d Add txt import so file can be imported/exported from symmetrically 2018-12-20 08:43:07 -05:00
Paul Kaplan 54c8588279 Merge pull request #4153 from paulkaplan/enfasten-remix
Make remixing/saving faster by marking all assets as clean to start.
2018-12-20 08:30:26 -05:00
Paul Kaplan ef43a17c1e Merge pull request #4156 from paulkaplan/only-trigger-saves-from-editor
Ignore projectChange updates from the VM when not in editor mode
2018-12-20 08:29:56 -05:00
Paul Kaplan 8f554a74e0 Merge pull request #4158 from paulkaplan/fix-unload-alert
Do not remove the window beforeunload handler in componentWillUnmount.
2018-12-20 08:29:17 -05:00
Ben Wheeler 8a9996b247 refactored font loading state to be in redux 2018-12-19 19:45:38 -05:00
Paul Kaplan c492602a9f Do not remove the window beforeunload handler in componentWillUnmount.
This is because when switching from project to editor view, this component gets unmounted and then remounted, but the componentDidMount seems to happen before the componentWillUnmount. Because it is dealing with a global variable, it is unsafe to always unset the beforeunload when unmounting.
2018-12-19 16:37:32 -05:00
Paul Kaplan c799541d8e Ignore projectChange updates from the VM when not in editor mode
This prevents unnecassary changes that do not matter to the player view because they were made by the project in progress (i.e. made by running the blocks, or by cloud var updates)
2018-12-19 16:02:31 -05:00
Paul Kaplan faadda3007 Make remixing/saving faster by marking all assets as clean to start.
They were not being marked as clean when loaded from the server, causing remixes that included only minimal (or no) changes to take a very long time as it waited for hundreds of network requests to resolve. Mark them as clean when loaded from the server so we know they do not need to be resaved
2018-12-19 15:11:30 -05:00
Eric Rosenbaum 8263a734ca Add city and bedroom assets 2018-12-19 13:55:22 -05:00
Eric Rosenbaum 6355abe0a8 Merge pull request #4149 from ericrosenbaum/bugfix/library-update-fixes
Sprite and costume library fixes
2018-12-19 13:38:57 -05:00
Eric Rosenbaum 0f83046f7d Zebrafixes 2018-12-19 13:28:33 -05:00
Eric Rosenbaum ba06a64e9d Fixilations 2018-12-19 13:20:03 -05:00
Eric Rosenbaum 2c7ffe9f3b Fixifications 2018-12-19 13:16:54 -05:00
Eric Rosenbaum 010078d8a7 Yet more fixes 2018-12-19 13:15:33 -05:00
Eric Rosenbaum 400fc676a9 More fixes 2018-12-19 13:14:34 -05:00
Chris Willis-Ford 0544641515 Merge pull request #4113 from cwillisf/isScratchDesktop
Add a helper function to check if GUI is running in Scratch Desktop
2018-12-19 10:00:51 -08:00
Christopher Willis-Ford af50ac76bf Remove ready check from isScratchDesktop()
This was intended as a safety check but it causes problems with some
tests.
2018-12-19 09:50:27 -08:00
Eric Rosenbaum 829616db44 Sprite and costume library fixes 2018-12-19 12:48:37 -05:00
Paul Kaplan aa253d7de0 Implement list import and export from files 2018-12-19 10:54:37 -05:00
Christopher Willis-Ford b9dc953ded Derive isScratchDesktop state from a GUI prop 2018-12-19 01:10:27 -08:00
Benjamin Wheeler b3e97adb46 Merge pull request #4134 from benjiwheeler/save-before-upload
When user uploads project file, project will auto-save before loading
2018-12-18 16:23:15 -05:00
Ben Wheeler ac730dd336 got tests passing 2018-12-18 15:50:57 -05:00
Karishma Chadha d63a7ad625 Merge pull request #4132 from kchadha/remove-extra-logs
Remove unnecessary console logs that occur when sending and receiving cloud messages.
2018-12-18 15:18:55 -05:00
Eric Rosenbaum 6242a1650f Update all the things! 2018-12-18 13:58:07 -05:00
Karishma Chadha 83a1498015 Remove unnecessary console logs that occur when sending and receiving cloud messages. 2018-12-18 13:15:04 -05:00
Christopher Willis-Ford aa23b4109a Exclude 'Animate an Adventure' from Scratch Desktop 2018-12-17 15:20:07 -08:00
Christopher Willis-Ford e2e1ee7744 Add isScratchDesktop func, use it in playground 2018-12-17 15:19:58 -08:00
Ben Wheeler 9e46eff11a render vm when requesting project thumbnail, so it is set immediately 2018-12-17 15:37:37 -05:00
Ray Schamp 56a2697749 Merge pull request #4087 from rschamp/3.0-routes
Use 3.0 routes for GETs
2018-12-16 10:36:05 -05:00
Paul Kaplan 923dd3ac4a Actually use the showPreviewInfo prop to show the preview modal 2018-12-14 13:47:48 -05:00
Ray Schamp 5c83d603d6 Use 3.0 routes for GETs
This should have happened a long time ago, but the Fastly config prevented it
2018-12-14 08:53:09 -05:00
Karishma Chadha f41fc58545 Merge pull request #4048 from kchadha/randomize-sprite-positions
Randomize Sprite Positions
2018-12-13 15:59:26 -05:00
Ray Schamp aac65d868b Merge pull request #4044 from rschamp/feature/sprite-library-update
Update sprite library with new assets
2018-12-12 17:16:20 -05:00
Karishma Chadha 7a8fd5abde randomize sprite positions when added from image file or from library (through 'choose from library' and 'surprise') 2018-12-12 17:09:13 -05:00
chrisgarrity fe4e3cf7f8 Merge pull request #4042 from chrisgarrity/feature/4038-whatsnew-tutorial
Add what’s new tutorial (hidden)
2018-12-12 16:26:19 -05:00
Ray Schamp 94908fe324 Update sprite library with new assets 2018-12-12 16:21:29 -05:00
Eric Rosenbaum 646e2ddf20 Update WeDo tutorial video 2018-12-12 15:59:03 -05:00
chrisgarrity 70be5a3004 Add what’s new tutorial (hidden) 2018-12-12 15:48:15 -05:00
Benjamin Wheeler 9df5b773c9 Merge pull request #3969 from benjiwheeler/remove-component-props
removed various props from children; renamed prop to be more consistent
2018-12-12 10:22:22 -05:00
Ben Wheeler 2eff22f068 validate onSetProjectUnchanged and exclude from componentProps 2018-12-12 10:01:42 -05:00