Commit Graph
5115 Commits
Author SHA1 Message Date
Paul Kaplan e746b98d83 Remove some of the high-volume analytics events
Too much traffic, not enough value. Leaving stuff having to do with tips library/tutorial card navigation as well as hardware extension connectivity, as those help us find issues with Scratch.
2019-03-11 15:14:30 -04:00
Paul Kaplan c5b5931e11 Merge pull request #4633 from LLK/greenkeeper/scratch-vm-0.2.0-prerelease.20190308165927
Update scratch-vm to the latest version 🚀
0.1.0-prerelease.20190311154005
2019-03-11 11:37:36 -04:00
Paul Kaplan f0e518df8a Merge pull request #4635 from LLK/greenkeeper/scratch-render-0.1.0-prerelease.20190304181151
chore(package): update scratch-render to version 0.1.0-prerelease.201…
2019-03-11 11:37:23 -04:00
Paul Kaplan 158409d4d8 Merge pull request #4568 from apple502j/slider-decimal
Slider range change with decimal value support
0.1.0-prerelease.20190311152118
2019-03-11 11:19:49 -04:00
Paul Kaplan abf49b3115 Fix more prop ordering for linter 2019-03-11 11:05:16 -04:00
Paul Kaplan 4af0d9fe27 Merge pull request #4628 from LLK/touch-picker
Make the stage color picker work with touch.
0.1.0-prerelease.20190311150203
2019-03-11 11:00:31 -04:00
Paul Kaplan a627552c8e Fix prop ordering for linter 2019-03-11 10:58:09 -04:00
Paul Kaplan 127e1a9632 Add container test for slider prompt
A few modifications were made while making this test:
- Change the "defaultMin/Max" to just be called "min/max", and pass the state through to make the inputs a controlled component. It is best to make form elements controlled since it makes it more clear how data flows.
- Force the passed in data to always be of type `number`, and transform it in the constructor to always be of type `string`, and change the onOk to transform it back to a number. With inputs, it is best to be very explicit about data types, and make it clear where you are using strings and where you are using numbers.
- Do not reset the state to `0` when the field is blank, that makes typing into it very hard (only applies after making it a controlled field)
- Use consistent booleans. Since the VM uses `isDiscrete`, change it so we do not use any opposite flags (like `decimal`) for clarity.

Writing tests for this really helped me understand the behavior. If you read through the test descriptions and see anything you did not intend, let me know.
2019-03-11 10:51:50 -04:00
Paul Kaplan 438e0f9cf7 Add default values for non-required props 2019-03-11 09:52:48 -04:00
Paul Kaplan 1e532745b7 Add a selenium test for slider range 2019-03-11 09:44:56 -04:00
greenkeeper[bot] db811553c9 chore(package): update scratch-vm to version 0.2.0-prerelease.20190308165927 2019-03-08 17:06:09 +00:00
apple502j ef05591d20 Remove decimal option and use type=text 2019-03-08 19:32:01 +09:00
Benjamin Wheeler c83d85e368 Merge pull request #4589 from JinXJinX/fix_account_nav
fix(UI): fix cursor property when hovering account nav items
0.1.0-prerelease.20190307205046
2019-03-07 15:48:50 -05:00
Paul Kaplan d8d39b1d61 Merge pull request #4585 from JinXJinX/develop
fix(css): fix css value has mixed support warning
0.1.0-prerelease.20190307183300
2019-03-07 13:31:39 -05:00
Paul Kaplan f364994a46 Fix trying to get color info before pickX/Y was set 2019-03-07 11:17:48 -05:00
Paul Kaplan 9273612f99 Merge pull request #4616 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20190304180800
Update scratch-svg-renderer to the latest version 🚀
2019-03-06 17:12:30 -05:00
Paul Kaplan 880bc530b7 Merge branch 'develop' into greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20190304180800 2019-03-06 17:11:52 -05:00
Paul Kaplan c109c10db6 Merge pull request #4627 from kchadha/run-pify-through-babel-loader
Run pify package through babel loader.
2019-03-06 17:11:07 -05:00
Paul Kaplan 5258254562 Merge pull request #4630 from LLK/greenkeeper/scratch-vm-0.2.0-prerelease.20190306171051
chore(package): update scratch-vm to version 0.2.0-prerelease.2019030…
2019-03-06 17:10:51 -05:00
Paul Kaplan 43a0ed8635 Merge pull request #4629 from LLK/greenkeeper/scratch-blocks-0.1.0-prerelease.1551865183
chore(package): update scratch-blocks to version 0.1.0-prerelease.155…
0.1.0-prerelease.20190306221121
2019-03-06 17:10:11 -05:00
greenkeeper[bot] f2122bab42 chore(package): update scratch-vm to version 0.2.0-prerelease.20190306171051
Closes #4626
2019-03-06 17:13:32 +00:00
Karishma Chadha c29e943c6b Run pify package through babel loader. 2019-03-06 11:25:43 -05:00
Karishma Chadha d3cc72db4d Merge pull request #4625 from LLK/greenkeeper/scratch-vm-0.2.0-prerelease.20190304203619
chore(package): update scratch-vm to version 0.2.0-prerelease.20190304203619
0.1.0-prerelease.20190306162136
2019-03-06 11:19:33 -05:00
Paul Kaplan b2b4da2f68 Make the stage color picker work with touch. 2019-03-06 11:17:36 -05:00
greenkeeper[bot] 782fc9aebf chore(package): update scratch-blocks to version 0.1.0-prerelease.1551865183
Closes #4622
2019-03-06 09:42:06 +00:00
Eric Rosenbaum 7c557db8b4 Merge pull request #4621 from ericrosenbaum/feature/boost-coming-soon
Add Boost extension "coming soon" tile
0.1.0-prerelease.20190305195159
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 fe00c71d28 Merge pull request #4618 from ericrosenbaum/bugfix/scratch-link-icon
Update scratch link icon
2019-03-04 16:41:03 -05:00
greenkeeper[bot] 22d96ca94b chore(package): update scratch-vm to version 0.2.0-prerelease.20190304203619
Closes #4609
2019-03-04 20:39:04 +00:00
Eric Rosenbaum 08ec713bff update scratch link icon 2019-03-04 14:10:20 -05:00
greenkeeper[bot] e9c9758618 chore(package): update scratch-render to version 0.1.0-prerelease.20190304181151
Closes #4558
2019-03-04 18:13:26 +00:00
greenkeeper[bot] e51ec837e8 chore(package): update scratch-svg-renderer to version 0.2.0-prerelease.20190304180800 2019-03-04 18:09:45 +00:00
chrisgarrity 6468395ba5 Merge pull request #4507 from chrisgarrity/issue/3632-localize-tutorials
Initial version of translated tutorial gifs
0.1.0-prerelease.20190304131719
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
Paul Kaplan 8783d1dfa7 Merge pull request #4596 from LLK/greenkeeper/scratch-vm-0.2.0-prerelease.20190226023539
chore(package): update scratch-vm to version 0.2.0-prerelease.2019022…
0.1.0-prerelease.20190228140239
2019-02-28 09:00:51 -05:00
Paul Kaplan c6ab3c8e42 Merge pull request #4575 from LLK/greenkeeper/scratch-l10n-3.1.20190220143732
Update scratch-l10n to the latest version 🚀
2019-02-28 09:00:05 -05: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…
0.1.0-prerelease.20190227213906
2019-02-27 16:37:31 -05:00
apple502j 8fcfe7c7d7 Set default min/max state value to props default 2019-02-27 20:22:31 +09:00
greenkeeper[bot] 2de31ba0ed chore(package): update scratch-vm to version 0.2.0-prerelease.20190226023539
Closes #4588
2019-02-26 04:34:25 +00:00
Xu Jing 742e9e327a fix(UI): fix cursor property when hovering account nav items 2019-02-25 18:11:27 -05:00
Xu Jing 9efcadad5d fix(css): fix css justify-content property's value 'start, end' has mixed support warning 2019-02-25 01:51:53 -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
0.1.0-prerelease.20190220184137
2019-02-20 13:39:30 -05:00
greenkeeper[bot] 3b340d02af chore(package): update scratch-l10n to version 3.1.20190220143732 2019-02-20 14:53:53 +00:00
Paul Kaplan 2ab48e011e Merge pull request #4571 from LLK/greenkeeper/scratch-l10n-3.1.20190218084652
Update scratch-l10n to the latest version 🚀
0.1.0-prerelease.20190219170450
2019-02-19 12:02:04 -05:00
greenkeeper[bot] ce82a52fce chore(package): update scratch-l10n to version 3.1.20190218084652 2019-02-18 09:04:04 +00:00