Skip to content
Snippets Groups Projects
  1. Nov 29, 2018
  2. Nov 28, 2018
    • Ray Schamp's avatar
      Track "project changed" state in Redux · 09592425
      Ray Schamp authored
      Listen to the new project changed event from the VM and keep track of the state in Redux.  Update it as appropriate.
      
      Known issue is that the project is marked as "changed" immediately after it's loaded. This is due to asynchronous event emitting while the project data is loaded, and needs an update to the VM to fix.
      09592425
  3. Nov 17, 2018
  4. Nov 15, 2018
    • Paul Kaplan's avatar
      Remove the hideIntro override and default preview modal to false · 767d1ef8
      Paul Kaplan authored
      The use of an "override" prop that allowed the preview modal to be hidden without actually changing the redux state was causing a problem where the block editors where not closing when modals were opening. That is because it relied on the modal reducer being accurate.
      
      I defaulted the preview state to false to make it simpler to consume the GUI, as www will not want the preview info to be true. I made it true in the playground instead.
      
      This fixes https://github.com/LLK/scratch-gui/issues/3710
      767d1ef8
  5. Nov 08, 2018
    • chrisgarrity's avatar
      Start Gui with Tutorials Library open · 432e5a9e
      chrisgarrity authored
      Adds `?tutorial=all` as a recognized option. Gui opens without the preview modal, and with the Tutorials Library open.
      
      Back button in the Tutorials Library takes you to the Editor (not back to referrer).
      432e5a9e
  6. Oct 23, 2018
    • Eric Rosenbaum's avatar
      Move connection modal into redux (#3459) · 31909d79
      Eric Rosenbaum authored
      * Connection Modal loads its own data
      
      * Connection does not update flyout status buttons
      
      * WIP moving connection modal into redux
      
      * Lint fix and remove unused prop
      
      * Close modal even if exception on disconnect
      31909d79
  7. Oct 11, 2018
  8. Oct 10, 2018
  9. Sep 26, 2018
    • Eric Rosenbaum's avatar
      Add an indicator to show that the microphone is listening (#3205) · a9243400
      Eric Rosenbaum authored
      * Add mic indicator
      
      * Fix mic indicator position and margin
      
      * Don’t always show indicator, don’t sneaky-enable extension
      
      * Position mic indicator in RTL
      
      * Actually, don’t move indicator in RTL
      
      * Update event name for MIC_LISTENING
      
      * Move mic indicator state into redux
      
      * Move stageSizeToTransform into screen-utils
      
      * Position mic indicator and question at bottom of stage
      
      * Fix pointer events
      
      * JSDOC for stageSizeToTransform
      
      * Pass micIndicator into StageComponent via …props
      a9243400
  10. Sep 19, 2018
  11. Sep 17, 2018
  12. Sep 06, 2018
  13. Aug 28, 2018
  14. Aug 09, 2018
  15. Aug 02, 2018
  16. Jun 20, 2018
    • chrisgarrity's avatar
      Locales cleanup · 60a3dc3a
      chrisgarrity authored
      * updated locales reducer to include current messages and messagesByLocale (the previous all messages)
      * moved locales out of gui
      * include locales in the things exported by gui (index.js)
      60a3dc3a
  17. 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
  18. May 23, 2018
  19. May 21, 2018
    • chrisgarrity's avatar
      Address review comments · a6d9dbb4
      chrisgarrity authored
      Move guiMiddleware to `reducers/gui.js`, and use it in `app-state-hoc`
      a6d9dbb4
    • 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
  20. 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.
      be208ba1
  21. Apr 27, 2018
    • Paul Kaplan's avatar
      Framework and demo content for how-tos inside the editor (#1867) · 76bfe175
      Paul Kaplan authored
      * WIP tips
      
      * WIP first card stack
      
      * WIP use tips reducer to show things to try
      
      * single card deck similar to mask sequence
      
      * collapse option
      
      * Add zoom card
      
      * WIP tips
      
      * Reorganized to redux
      
      * Add zooming to the gifs
      
      * Blue cards + navigation
      
      * Add tips to new nav bar
      
      * Remove blue
      
      * Update design with icons
      
      * deck updates wip
      
      * Updated card decks
      
      * Add videos to libraries
      
      * Update initial card and clicker preview
      
      * Add backdrop to initial card step.
      
      * WIP use vimeo player instead
      
      * New simple spin deck
      
      * Spin around and say hello decks
      
      * Update button and sub-card styles
      
      * Fix "tips" button in menu bar
      
      * Use move cursor
      
      * Fix cursor
      
      * Use same image for deck preview and library
      
      * Fix cursor again
      
      * Update clicker game deck
      
      * Add videos as single-step decks
      
      * Change tips in menu bar to ? icon
      
      * Change “tips” to “how-tos” in library
      
      * Add help icon to cards
      
      * Update deck library images
      
      * Add drag cover for youtube video to prevent catching mouseup
      
      * add a step to spin deck for clicking control
      
      * Blue bar style updates
      
      * Add step pips
      
      * Update clicker game name to run away
      
      * Fix image padding
      
      * Add change color step to spin deck
      
      * Add start sound step to run away deck
      
      * Update say deck to start with adding a sprite
      
      * Remove package lock
      
      * Remove zooming functionality
      
      * Remove unnecassary prototype changes
      
      * Split up rendering of cards into smaller parts
      
      * Use FormattedMessage for all strings
      
      * Automatic lint fixes
      
      * Almost finished with lint errors!
      
      * Fix more lint errors
      
      * Clean up CSS
      
      * Fix webpack config
      76bfe175
  22. Apr 12, 2018
  23. Feb 23, 2018
  24. Feb 22, 2018
  25. Feb 20, 2018
  26. Dec 20, 2017
    • Matthew Taylor's avatar
      Partially Implement GH-830: Add coming soon tooltips (#1069) · 8dc26d8d
      Matthew Taylor authored
      * Implement GH-830: Add coming soon tooltips
      
      This implements coming soon tooltips for:
      * the small stage size
      * save, load and language
      
      It also creates the component that can be copied over into the paint editor for use there as well.
      
      Lastly, this does a small refactor on the full screen implementation to include multiple small screen sizes too.
      8dc26d8d
  27. Dec 07, 2017
  28. Dec 04, 2017
  29. Oct 12, 2017
  30. Sep 20, 2017
  31. Aug 29, 2017
  32. Aug 27, 2017
    • Josiah Neuberger's avatar
      fixed outstanding issues with stage zooming · 65ab58d9
      Josiah Neuberger authored
        1. Fixed issue with sprites not being dragable when stage zoomed.
      
        2. Fixed issue with coordinates of mouse position being wrong when
           stage is zoomed. This was caused by the renderer not being
           resized when zooming/unzooming.
      
        3. Refactored zoom control to separate react component/containter
           with global reducer for isZoomed, which is passed to the stage
           container. This allows for the zoom control to zoom the stage
           menu and stage as seperate containers.
      
        4. Added icons zoom/unzoom for stage zoom control. Moved icon
           position to be part of stage menu floating to right of start/stop
           buttons.
      65ab58d9
  33. Jul 21, 2017
  34. Jul 18, 2017
    • chrisgarrity's avatar
      Integrate react-intl with redux · 1225d387
      chrisgarrity authored
      Using react-intl-redux package.
      
      This just sets up the default English. Language switching in another PR. Requires locale/messages.json to exist, `{}` is ok.
      1225d387
  35. Jun 30, 2017
  36. May 04, 2017
  37. May 03, 2017
Loading