Skip to content
Snippets Groups Projects
  1. 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
  2. Sep 24, 2018
  3. Sep 19, 2018
  4. Sep 17, 2018
  5. Sep 07, 2018
  6. Sep 06, 2018
  7. Aug 30, 2018
  8. Aug 28, 2018
  9. 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
  10. Aug 09, 2018
  11. Aug 02, 2018
  12. Aug 01, 2018
  13. Jul 19, 2018
  14. 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
  15. 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
  16. 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
  17. Jun 12, 2018
  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 30, 2018
  22. Apr 27, 2018
Loading