Skip to content
Snippets Groups Projects
  1. Nov 03, 2017
  2. Oct 31, 2017
  3. Aug 29, 2017
  4. Aug 16, 2017
  5. Jul 19, 2017
    • chrisgarrity's avatar
      handle messages better · 2dd37827
      chrisgarrity authored
      Dynamic import didn’t do what we wanted, so just added `npm run i18n:msgs` to the start command. This is just temporary. Other changes as requested:
      * exports in one place
      * loc=> locale
      
      Also fixed use of require for localeData to use dynamic import (this one works), so the babelrc changes are needed, otherwise import as a function is not recognized.
      2dd37827
  6. Jul 17, 2017
    • chrisgarrity's avatar
      Generate i18n source separate from build step · 7e64c897
      chrisgarrity authored
      Generating the localization source to update the translation system (transifex) is really separate from building. When building we want to be using the current state of translations from transifex, and the english default strings are not needed.
      
      Uses the babel-cli to run the babel-plugin-react-intl separately from  webpack.
      7e64c897
    • chrisgarrity's avatar
      Generate en.json from translation messages · 88171110
      chrisgarrity authored
      Using babel-plugin-react intl to extract messages from sources that use react-intl. It creates one file per component, that’s not ideal for translators.
      
      Transifex supports several different json formats. We picked the chrome i18n json format because it includes the ‘description’ and displays that to translators as instructions in the transifex UI.
      88171110
  7. Jun 30, 2017
  8. Jun 09, 2017
  9. Apr 11, 2017
  10. Feb 21, 2017
    • Ray Schamp's avatar
      Use postcss-simple-vars for variables (#125) · 6d2d1dae
      Ray Schamp authored
      Using postcss-modules-values with imported values failed on our current basic usage; it is apparently not mature enough to be used yet.
      
      The syntax used by postcss-simple-vars is already familiar to most people familiar with modern CSS build systems.
      6d2d1dae
  11. Feb 15, 2017
    • Steven Dale's avatar
      Design pass: layout panes, sprite libraries, info area, import buttons, + menu bar (#83) · 74dde69f
      Steven Dale authored
      * Covers parts of these issues: GUI layout panes (#69), sprite libraries (#12), import buttons (#64), menu bar (#67), and sprite info area (#53)
      
      ~ Refactored layout pane structure by removing `display: flex` from `.box`, by default. Declaring flex instead only where specifically needed. This helped fix layout quirks, and should help us avoid hard to find issues related to nested flex boxes
      
      ~ Added descriptive classnames to boxes/containers/wrappers. Moved more padding, margins + layout into these wrappers to help with component reusability.
      
      ~ Set up a spacer unit variable inside `gui.css`, to start keeping consistent padding, margins and rounded corners between panes. Used [CSS/PostCSS Modules](https://github.com/css-modules/postcss-modules-values) to avoid SCSS dependency.
      
      ~ Refactored inline styles from JSX, into CSS files. 2 reasons: a) prepping for reuse of CSS Module variables. b) Feels easier to debug complex flex layouts when all the styles are in one place vs JS/HTML/CSS syntax mixed together
      
      ~ Added menu bar into layout via new component, and sprite info header in sprite selector pane, with stubs for the labels + forms. Sprite items are correctly scrolling, while leaving the header fixed, in Chrome. Mostly working in FFx. Not working in Safari, IE yet.
      
      ~ Style pass on library modal
      
      ~ Experimenting with a few different transition styles: Logo in menu bar, sprite library items, Add buttons.
      74dde69f
  12. Feb 06, 2017
  13. Feb 02, 2017
  14. Jan 05, 2017
  15. Dec 15, 2016
    • Ray Schamp's avatar
      Lint · f9970d6c
      Ray Schamp authored
      f9970d6c
    • Ray Schamp's avatar
      Layout pass · 789fd146
      Ray Schamp authored
      Move layout styles from component stylesheets to the GUI, or the component that is placing the component.
      
      Add a new `Box` component to control layouts, basically giving a convenient way to lay out with flexbox.
      
      Use `Box` as the output component for any component that may need to be passed layout options. The props passing convention allows giving layout props to the final `Box` component, making wrapping with another `Box` unnecessary in some cases.
      789fd146
  16. Dec 12, 2016
    • Ray Schamp's avatar
      Fix CSS autoprefixing · c59f818a
      Ray Schamp authored
      `importLoaders` is needed for the way postcss works with css modules.
      
      Update browser target to match scratch-www
      c59f818a
  17. Dec 07, 2016
    • Ray Schamp's avatar
      Use CSS modules for styles · 16fbb64c
      Ray Schamp authored
      The inline css method gives us nothing that CSS modules can't give us. This puts the project more in line with the way www works, and makes CSS actually readable.
      
      Using class names gives us full control of the modal styles.
      16fbb64c
  18. Nov 04, 2016
  19. Oct 27, 2016
  20. Oct 23, 2016
  21. Oct 22, 2016
  22. Oct 19, 2016
  23. Oct 13, 2016
    • Ray Schamp's avatar
      Update project on hash change · 54548b5c
      Ray Schamp authored
      While doing so:
      - Use ProjectLoader for loading projects
      - Stop using loadEmptyProject and supply empty project data
      - Move project loading to App, GUI now receives data (as a string - the vm should receive an object eventually)
      - Add logging
      54548b5c
  24. Sep 28, 2016
  25. Sep 22, 2016
  26. Sep 16, 2016
  27. Sep 15, 2016
Loading