Skip to content
Snippets Groups Projects
  1. Sep 19, 2018
  2. Sep 07, 2018
  3. Sep 06, 2018
  4. Aug 30, 2018
  5. Aug 28, 2018
  6. Aug 15, 2018
    • chrisgarrity's avatar
      Handle RTL for cards · 9746e6a1
      chrisgarrity authored
      Don’t intialize cards position in reducer - position needs to be set based on isRtl.
      
      Rename prev/next icons to right/left arrows
      
      Make `NextPrevButtons` function RTL aware so that it puts the prev/next on the left or right based on the direction of the language.
      9746e6a1
  7. Aug 09, 2018
  8. Aug 02, 2018
  9. Aug 01, 2018
  10. Jul 19, 2018
  11. 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
  12. 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
  13. 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
  14. Jun 12, 2018
  15. May 23, 2018
  16. 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
  17. 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
  18. Apr 30, 2018
  19. 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
      Unverified
      76bfe175
  20. Apr 25, 2018
  21. Apr 19, 2018
  22. Apr 13, 2018
  23. Apr 12, 2018
  24. Mar 23, 2018
  25. Mar 22, 2018
  26. Mar 15, 2018
  27. Feb 23, 2018
Loading