Commit Graph
2744 Commits
Author SHA1 Message Date
Eric Rosenbaum 7c557db8b4 Merge pull request #4621 from ericrosenbaum/feature/boost-coming-soon
Add Boost extension "coming soon" tile
2019-03-05 14:50:44 -05:00
Eric Rosenbaum b76593cabb Optimize svg and png 2019-03-05 14:36:43 -05:00
Eric Rosenbaum ced6e8df18 Fix localization description 2019-03-05 11:29:53 -05:00
Eric Rosenbaum 0ea314d98a Update boost tile and icon 2019-03-05 11:26:56 -05:00
Eric Rosenbaum 08ec713bff update scratch link icon 2019-03-04 14:10:20 -05:00
chrisgarrity 6468395ba5 Merge pull request #4507 from chrisgarrity/issue/3632-localize-tutorials
Initial version of translated tutorial gifs
2019-03-04 14:15:15 +01:00
chrisgarrity 686dbb5245 Refactor step and step image naming conventions
Step Ids and step file names did not follow a consistent pattern. To make it easier to automate in the future, things were renamed in the following ways:

StepId: camel case, prefix with the short name that we usually use to refer to the tutorial, e.g. name, music, chaseGame. Followed by a name for the step, e.g. nameAddSprite, nameAddBackdrop. When there are two of a step, add ‘2’ to the end e.g. nameAddSprite2

file-naming: all step files should be in the steps directory. The name is the ‘kebab’ case of the stepId, followed by the language-code, then the file extension. For example the english version of the file for `nameAddSprite` would be `name-add-sprite.en.gif`, `chaseGameAddSprite2` would be `chase-game-add-sprite2.en.gif`
2019-02-28 15:22:44 +01:00
chrisgarrity 26de4b2e51 refactor image files
* thumbnails folder: thumbnail images for tutorials (multistep decks and videos). Images should not need translations (avoid text that would need translation in the image)
* steps folder: gif images associated with tutorial steps. Images can be translated. English (default) images have the extension `.en.gif`, other language images should replace the `.en` with the corresponding locale.
* renamed some of the steps files to be more consistent and a bit less redundant
* removed a couple of files that were no longer referenced
* revised webpack config to allow localized step files to be loaded from `/static` on www
2019-02-28 12:06:49 +01:00
picklesrus 0dd0fd8e7a Merge pull request #4537 from picklesrus/init-locale-vm
Fixes #4253 by telling the vm the langauge when it is initialized.  B…
2019-02-27 16:37:31 -05:00
Eric Rosenbaum a4ea94bd39 Add LEGO BOOST “coming soon” tile 2019-02-20 17:32:07 -05:00
picklesrus 60f2f85734 Keep props from getting passed to children that don't need them. 2019-02-20 16:32:11 -05:00
Paul Kaplan 6d5183f99d Merge pull request #4567 from paulkaplan/project-thumbnailer
Add a way for GUI consumer to retrieve snapshots of the stage
2019-02-20 13:39:30 -05:00
Paul Kaplan d301794463 Add a way for GUI consumer to retrieve snapshots of the stage 2019-02-15 14:21:37 -05:00
Paul Kaplan 1a2c3bd0b7 Merge pull request #4563 from paulkaplan/fix-tab-toolbox-refresh
Request a toolbox refresh after switching between tabs to fix #4561
2019-02-15 11:27:01 -05:00
Paul Kaplan 9977ec63d5 Merge pull request #4562 from mzgoddard/mouse-move-drag-perf
Mouse move drag perf
2019-02-15 09:25:17 -05:00
Paul Kaplan 0f803dfc41 Request a toolbox refresh after switching between tabs to fix #4561 2019-02-15 09:10:42 -05:00
Michael "Z" Goddard 6f101523b4 move when the dragging drawable is extracted from the renderer
Extracting the drawable art data is very expensive. We should delay
doing that work as long as possible. As such it should wait until a few
more branching return statements before we extract it.
2019-02-14 16:50:24 -05:00
Paul Kaplan 40a5ff783a Fix loading single frame gifs by removing onDone in favor of indices
Because the `onFrame` callback could do async work, it was possible for onDone to try to submit the costumes before the onFrame had produced any. This was subject to browsers different timing treatments of setTimeout vs. promise resolution. This makes the gif-decoder use the same style of progress API as the file uploader
2019-02-14 13:55:15 -05:00
Paul Kaplan 208060e441 Merge pull request #4534 from paulkaplan/importing-alert
Show an "Importing..." alert during file import
2019-02-13 16:30:28 -05:00
Paul Kaplan a10704c44b Merge pull request #4528 from paulkaplan/ask-above-monitors
Put the ask blocks text input above the monitors on the stage.
2019-02-13 16:29:55 -05:00
Paul Kaplan ac0f004e5a Add error handling for the costumeUpload function 2019-02-13 15:07:17 -05:00
Paul Kaplan 324dc1717c Refactor to handle errors from file reader 2019-02-13 14:47:21 -05:00
Paul Kaplan 59ca7fc771 Merge pull request #4529 from paulkaplan/support-is-discrete-sliders
Support isDiscrete sliders
2019-02-13 12:58:38 -05:00
Paul Kaplan 541c43482d Make sure to only close import alert after import is done 2019-02-13 10:27:54 -05:00
Paul Kaplan 7847f9e775 Show an "Importing..." alert during file import 2019-02-13 10:21:48 -05:00
Paul Kaplan 4927e12e80 Share the replace project confirmation string between new and upload 2019-02-13 09:29:05 -05:00
picklesrus ac0705c12c Fixes #4253 by telling the vm the langauge when it is initialized. Before it didn't get the language until the blocks component mounted. 2019-02-12 10:54:32 -05:00
Paul Kaplan 24ca96971e Merge branch 'develop' into prompt-before-upload-replace 2019-02-12 09:21:53 -05:00
Paul Kaplan cae9d9a683 Merge branch 'develop' into nj/ui-changes 2019-02-12 09:04:31 -05:00
Paul Kaplan 361a9d7393 Make sure to put history in try/catch so it can be used with selenium
Selenium loads the playground using the file:// protocol, where history.replaceState throws an error
2019-02-11 14:40:41 -05:00
Paul Kaplan 29e738cb92 Prompt user about file upload replacing the current project
This only shows when you are on a project that is SHOWING_WITHOUT_ID and has changes. This is only the case when logged out, or in the desktop editor.
2019-02-11 14:03:00 -05:00
Paul Kaplan 0ae9d70685 Support the isDiscrete flag on slider monitors 2019-02-11 11:19:41 -05:00
Paul Kaplan 3993d5c8f1 Put the ask blocks text input above the monitors on the stage. 2019-02-11 10:45:03 -05:00
Paul Kaplan 7563eddb2b Merge pull request #4509 from LLK/gif-upload
Gif upload v1: sprites, costumes
2019-02-11 10:12:40 -05:00
Paul Kaplan 1d617214b4 Simplify disposal method handling 2019-02-11 09:28:16 -05:00
Nikhil Jha fb9c3eed74 Merge branch 'develop' into nj/ui-changes 2019-02-08 20:21:32 -08:00
Paul Kaplan b618f2493c Fix backdrop uploading from gif 2019-02-08 13:56:00 -05:00
Paul Kaplan 8dad7d8ec0 Remove extra parens 2019-02-08 13:45:30 -05:00
Paul Kaplan a18ea5a92c Name uploaded backdrops based on the name 2019-02-08 13:44:10 -05:00
Paul Kaplan 7c1d720e17 Merge pull request #4485 from towerofnix/sort-of-variables
Sort variable options in "of" block
2019-02-08 13:37:27 -05:00
Paul Kaplan b29862fc96 Merge pull request #4498 from mzgoddard/lazy-text-encoder
require text-encoding only if it is needed
2019-02-08 13:27:19 -05:00
Paul Kaplan 38fb199533 Merge pull request #4500 from mzgoddard/loading
Set an initial message number to skip rendering a second time
2019-02-08 13:25:54 -05:00
Paul Kaplan 28635d8028 Remove namer from costume and sound upload helpers to reduce spaghetti 2019-02-08 13:18:57 -05:00
Paul Kaplan ba277a5238 Fix namer conventions to be less bizarre 2019-02-08 13:18:57 -05:00
Paul Kaplan 489467e63d Pass function for naming costumes, add integration tests 2019-02-08 13:18:57 -05:00
Paul Kaplan 88651e6e48 Gif upload v1: sprites, costumes 2019-02-08 13:18:57 -05:00
Paul Kaplan da65b41366 Merge pull request #4499 from LLK/multi-upload
Multiple file upload for costumes, sounds, backdrops and sprites
2019-02-08 10:47:15 -05:00
chrisgarrity 96668b5b04 Initial version of translated tutorial gifs
Proof of concept with spanish as the only example.
2019-02-07 19:14:33 +01:00
Paul Kaplan 50b14524b2 Get the asset type correctly 2019-02-07 11:56:03 -05:00
Paul Kaplan 0c261e5597 Use blob download instead of data-uri to enable large downloads
This was already being used for sb3s and sprite3s, but the code was repeated in different places. Make a single helper that downloads blobs, and make all download paths use it.
2019-02-07 11:44:34 -05:00