Skip to content
Snippets Groups Projects
  1. Oct 23, 2018
  2. Oct 16, 2018
  3. Oct 15, 2018
  4. Oct 14, 2018
  5. Oct 11, 2018
  6. Oct 10, 2018
  7. Oct 08, 2018
  8. Sep 07, 2018
  9. Sep 06, 2018
  10. Sep 05, 2018
  11. Aug 03, 2018
  12. Jul 18, 2018
  13. Jul 12, 2018
  14. Jun 29, 2018
  15. Jun 26, 2018
  16. Jun 19, 2018
    • chrisgarrity's avatar
      Initial version of loading or switching language. · a0455422
      chrisgarrity authored
      Add `?locale=<localecode>` to load in a new langage.
      Add `?enable=language` to enable the language selector
      Or combine the two: `?enable=language&locale=<localecode>`
      Still accepts a hash, but requires that the hash be a sequence of digits.
      
      Added new locales reducer to gui:
      - initializes default  react-intl/localeData
      - initializes default locale messages for all locales
      - default locale is ‘en’ (can be overridden by URL)
      
      Removed dependency on react-intl-redux, added ConnectedIntlProvider (uses correct locale messages from redux based on current locale)
      a0455422
    • Paul Kaplan's avatar
      Get backpack contents from server · 82290540
      Paul Kaplan authored
      82290540
  17. Jun 04, 2018
  18. May 30, 2018
  19. May 29, 2018
  20. May 23, 2018
  21. May 22, 2018
  22. May 21, 2018
    • chrisgarrity's avatar
      Remove unneeded code · 5e51235f
      chrisgarrity authored
      Since compatibility-testing got switched to use the player mode, it doesn’t need any of the stage/controls components.
      5e51235f
    • chrisgarrity's avatar
      Combine GUI reducers · 44c76e57
      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`
      44c76e57
    • chrisgarrity's avatar
      Move creating the store into playground examples · c182c75c
      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.
      c182c75c
  23. May 10, 2018
    • chrisgarrity's avatar
      Split project-loader-hoc · 0fa62fc0
      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.
      0fa62fc0
  24. May 09, 2018
  25. May 03, 2018
  26. May 02, 2018
  27. May 01, 2018
    • chrisgarrity's avatar
      Player mode (#1909) · be208ba1
      chrisgarrity authored
      * Player mode
      
      Add isPlayerOnly property on GUI. Move isFullScreen into mode reducer with isPlayerOnly.
      
      Full screen needs to be a separate prop so that GUI knows what to show when exiting full-screen (either player-only or full editor).
      
      - set `gui-body * {box-sizing: border-box;}` instead of expecting it to be set by the enclosing component/playground, and removed uses of content-box (adjusting sizes as needed) 
      - Added `!isPlayerOnly` to the conditions for draggable sprites
      - rewrote player example to use player mode.
      Unverified
      be208ba1
  28. Apr 19, 2018
    • chrisgarrity's avatar
      Update build and move project-loader back to lib · c1d53b35
      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)
      c1d53b35
    • chrisgarrity's avatar
      Make Error Boundary into HOC · 924c2aef
      chrisgarrity authored
      Don’t translate IE error modal, if there are errors during the `connect` process the `IntlProvider` doesn’t get set up and the error modal can’t be shown.
      924c2aef
Loading