Ben Wheeler
c064eaed4e
upload in current project id, rather than creating new project id
2019-04-16 23:34:07 -04:00
Paul Kaplan
839deda612
Merge pull request #4674 from mzgoddard/project-changed
...
dispatch projectChange redux action when project has not changed
2019-03-28 14:01:18 -04:00
Paul Kaplan
dac1ece8fd
Merge pull request #4665 from mzgoddard/locale-string
...
use Collator.compare in place of localeCompare
2019-03-28 13:51:42 -04:00
Michael "Z" Goddard
3f73c6df7b
dispatch projectChange redux action when project has not changed
...
Dispatching a message through redux makes it reconsider all currently
listening components. Dispatching for each block, while loading, can
mean dispatching and reconsidering thousands of times if not more.
While dispatching is pretty quick doing this for every block ends up
taking a lot of time.
2019-03-20 14:37:02 -04:00
Michael "Z" Goddard
f5d1dd7e03
use Collator.compare in place of localeCompare
2019-03-19 17:14:05 -04:00
Evelyn Eastmond
66b3f43581
Merge pull request #4657 from evhan55/extensions/lib-index-file-refactor
...
Refactor extensions library index file
2019-03-19 11:10:58 -04:00
Paul Kaplan
00a4db1213
Remove complexity around promise/non-promise.
...
Since this is in a promise chain, it doesn't matter if onUpdateProjectData returns a promise or a primitive, it'll work either way
2019-03-18 15:09:31 -04:00
Evelyn Eastmond
8e3bd8c631
Changing prop names throughout React chain to reflect new extension library property names.
2019-03-18 14:58:32 -04:00
Evelyn Eastmond
a74bb9afc7
Renaming more variable names related to connection modal properties.
2019-03-18 14:50:49 -04:00
Evelyn Eastmond
a082d8329e
Adding speech2text folder for extension library.
2019-03-18 14:44:43 -04:00
Evelyn Eastmond
9f9a780093
Adding TODO comments for some file renaming suggestions.
2019-03-18 14:44:43 -04:00
Evelyn Eastmond
8c36ad3cc2
Adding some comments for possible variable name changes.
2019-03-18 14:44:43 -04:00
Evelyn Eastmond
1b2555c7de
Renaming some more variables in the extensions library index file.
2019-03-18 14:44:43 -04:00
Evelyn Eastmond
996ed08908
Adding asset folders, moving files, and renaming some extension library variables.
2019-03-18 14:44:43 -04:00
Paul Kaplan
7709580710
Move project saving to server to helper, allow external save action
2019-03-18 12:00:01 -04:00
Chris Willis-Ford
33f3d1d79b
Merge pull request #4645 from cwillisf/add-telemetry-hooks
...
Add telemetry hooks
2019-03-14 10:47:59 -07:00
Christopher Willis-Ford
f0ba4180c7
Fix spacing in comments
2019-03-12 16:13:44 -07:00
Christopher Willis-Ford
f6b9f11d3b
Merge branch 'develop' into scratch-desktop
...
Conflicts:
src/components/library-item/library-item.jsx
src/components/library/library.jsx
src/components/menu-bar/menu-bar.jsx
src/containers/library-item.jsx
src/lib/project-saver-hoc.jsx
2019-03-12 16:13:40 -07:00
Christopher Willis-Ford
5c4f50c1b8
Merge branch 'develop' into scratch-desktop
2019-03-12 16:13:28 -07:00
Christopher Willis-Ford
4d671ddfab
Merge remote-tracking branch 'upstream/develop' into scratch-desktop
2019-03-12 16:13:27 -07:00
Christopher Willis-Ford
94901b33fe
Merge remote-tracking branch 'upstream/develop' into scratch-desktop
2019-03-12 16:13:27 -07:00
Christopher Willis-Ford
f6dc2726b5
Implement projectDidSave telemetry event
2019-03-12 16:13:21 -07:00
Christopher Willis-Ford
39279fa0ef
Merge remote-tracking branch 'upstream/develop' into scratch-desktop
2019-03-12 15:55:50 -07:00
Christopher Willis-Ford
5f2f95a6db
HACK: report telemetry events if telemetry is active
2019-03-12 15:55:49 -07:00
Evelyn Eastmond
31625d6807
Adding ability to show both bluetooth and internet icons in extension library item tiles.
2019-03-12 10:10:59 -04:00
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
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
d301794463
Add a way for GUI consumer to retrieve snapshots of the stage
2019-02-15 14:21:37 -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
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
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
cae9d9a683
Merge branch 'develop' into nj/ui-changes
2019-02-12 09:04:31 -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
7c1d720e17
Merge pull request #4485 from towerofnix/sort-of-variables
...
Sort variable options in "of" block
2019-02-08 13:37:27 -05:00