- May 21, 2018
-
-
chrisgarrity authored
* Export initial states for each reducer * combine all gui reducers (excludes scratchPaint and intl) * combine all initial states to create default guiState for preloading in www * expect all of the gui state to be accessible at `state.scratchGui`
-
chrisgarrity authored
GUI will export a reducer to be included in the enclosing component’s redux when GUI is used as a library. The app-state-hoc is moved into the playground examples to provide a store when GUI is being used stand-alone.
-
- May 10, 2018
-
-
chrisgarrity authored
The project loader that is exported with GUI just expects to be passed projectId as a prop, and it manages loading project data. The part of the project loader that watches for URL hash changes for the playground is a new HOC that is only used in the various playground examples.
-
- Apr 19, 2018
-
-
chrisgarrity authored
- export image and sounds in dist/static/assets - rename main export (`scratch-gui.js`, not `index.js`) - move project-loader-hoc back to lib (VM doesn’t load properly without it)
-
chrisgarrity authored
-
chrisgarrity authored
Allow intl to be passed in to GUI as a prop (rather than having to be already in the store)
-
- Mar 23, 2018
-
-
Karishma Chadha authored
Revert "Changes to hash should happen through project loader hoc. Changes to the current project id and current project data should happen in a reducer since they are part of global state. That way, the load button can affect the global project data as well." This reverts commit e4fe143b.
-
- Mar 22, 2018
-
-
Karishma Chadha authored
Changes to hash should happen through project loader hoc. Changes to the current project id and current project data should happen in a reducer since they are part of global state. That way, the load button can affect the global project data as well.
-
- Aug 17, 2017
-
-
Paul Kaplan authored
-
- Aug 16, 2017
-
-
Ray Schamp authored
-
Ray Schamp authored
Add class name props to the components, and fix positioning for the green flag to be reusable.
-
Ray Schamp authored
Still missing is a green flag, but blocks run!
-