Skip to content
Snippets Groups Projects
  1. Aug 02, 2018
  2. Aug 01, 2018
  3. Jul 19, 2018
  4. 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
  5. 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
  6. Jun 13, 2018
    • chrisgarrity's avatar
      Enable language selection menu · bc3df2c3
      chrisgarrity authored
      Allows the language selection menu to be active if `?enable=language` is in the URL, otherwise shows a ‘coming soon’ tooltip. This can also land on a branch if we don’t want that available on preview.
      
      - language menu opens if the globe is clicked
      - language menu closes if mouse is clicked anywhere outside the language selector
      - language list is imported from scratch-l10n
      - current locale is updated if another language is selected (i.e. the current language selected changes)
      
      Not in this PR:
      - styling of language selector
      - actually changing the messages!
      bc3df2c3
  7. Jun 12, 2018
  8. May 23, 2018
  9. 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
  10. 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
  11. Apr 30, 2018
  12. Apr 27, 2018
    • Paul Kaplan's avatar
    • Paul Kaplan's avatar
      Revert "Updates to preview modal for release (#1864)" · 7caddb90
      Paul Kaplan authored
      This reverts commit 29d5619d.
      7caddb90
    • 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
  13. Apr 25, 2018
    • Andrew Sliwinski's avatar
      Updates to preview modal for release (#1864) · 29d5619d
      Andrew Sliwinski authored
      * Updates to preview modal for release
      
      * Design tweaks and remove import modal
      
      * Resolve issues with tests
      
      * Copy edits HT Eric
      
      * Resolve lint issue with integration test
      
      * One more change to the disclaimer language
      
      * Add line break
      29d5619d
  14. Apr 19, 2018
  15. Apr 13, 2018
  16. Apr 12, 2018
  17. Mar 23, 2018
  18. Mar 22, 2018
  19. Mar 15, 2018
  20. Feb 23, 2018
  21. Feb 22, 2018
  22. Feb 20, 2018
  23. Jan 12, 2018
  24. Dec 27, 2017
    • Matthew Taylor's avatar
      GH-829: Add feedback form to menu bar (#1120) · 9c9e67e5
      Matthew Taylor authored
      * add feedback form
      
      This implements #829
      
      * small style updates to the stage buttons
      
      from @carljbowman
      
      * remove `stageSize` for now
      
      We eventually need this, but not yet, and it’s causing lint failure.
      9c9e67e5
  25. Dec 21, 2017
    • chrisgarrity's avatar
      Preview modals (#1087) · 24e8491e
      chrisgarrity authored
      - implements welcome to the preview modal, and unsupported browser modal.
      - will need assets updated in Jan.
      24e8491e
  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 14, 2017
  28. Dec 07, 2017
Loading