Skip to content
Snippets Groups Projects
  1. Jun 25, 2020
  2. Jun 24, 2020
  3. Jun 19, 2020
    • adroitwhiz's avatar
      Replace Stage <div> with React.Fragment · 99c29178
      adroitwhiz authored
      The Stage component will sometimes have a color picker background,
      which darkens the entire screen when the color picker loupe is active.
      This color picker background element should appear in the same level as
      the stage's wrapper, not inside of it. Previously, this was done by
      wrapping both the stage's wrapper and color picker background in a div.
      Now, they're both wrapped in a React.Fragment to avoid a completely
      unnecessary div wrapper.
      99c29178
    • adroitwhiz's avatar
      Change how stage overlays & fullscreen are handled · 63d67c87
      adroitwhiz authored
      This makes the layout behavior for stage overlays much more consistent.
      
      Items whose overflow *should* be contained within the stage, like the
      monitors and color picker loupe, are now placed within the "stage"
      element directly.
      
      Items whose overflow should *not* be contained within the stage, like
      the target highlight box and dragged sprite, are now inside a "stage
      overlays" container element, which is properly positioned (taking into
      account the stage's border width) and sized.
      
      This is made possible by unifying stage layout across both fullscreen &
      non-fullscreen modes via moving the fullscreen overlay styles to the
      StageWrapper component. Whereas previously, the stage overlays were
      positioned *outside* of the stage in fullscreen and had to reposition
      themselves correctly, they are now positioned the same in both
      fullscreen and regular modes.
      63d67c87
    • adroitwhiz's avatar
      Replace hack from #2354 with flexbox solution · b0259592
      adroitwhiz authored
      The stage + target pane wrapper's width must be constrained to that of
      the stage, even when there are lots of sprite tiles. Otherwise, once you
      add enough sprites, it'll grow horizontally past the stage size. The old
      code set its maximum width explicitly to stop that from happening, but
      it can also be done more elegantly with the flex-basis property.
      This also has the benefit of taking the stage border width into account.
      b0259592
  4. May 05, 2020
  5. Feb 11, 2020
  6. Feb 10, 2020
  7. Feb 06, 2020
  8. Feb 05, 2020
  9. Jan 28, 2020
    • Ben Wheeler's avatar
      continuing sb file uploader refactor into hoc · f2291d96
      Ben Wheeler authored
      draft of refactor to make custom confirm modal work for upload; need to further edit sb-file-uploader
      
      Add support for custom confirm modal to sb-file-uploader
      
      Show custom confirm modal when confirming project upload
      
      got custom upload refactor of file upload working, and tested failure case
      
      cleaned up debug code, make project file upload work
      
      simplified logic around canceling file upload
      
      removed old sb-file-uploader.jsx; fixed linter errors
      
      reverted two components to use old strings, not shared
      
      (can do that refactor another time)
      
      removed unnecessary confirm container
      
      removed stray comment
      
      moved, updated sb file uploader tests, related project state tests
      
      removed custom modal, to reduce scope of changes
      
      sb file uploader test uses intl
      f2291d96
  10. Nov 01, 2019
  11. Oct 21, 2019
  12. Oct 18, 2019
  13. Oct 17, 2019
  14. Oct 11, 2019
  15. Sep 27, 2019
  16. Sep 26, 2019
  17. Sep 13, 2019
  18. Sep 05, 2019
  19. Sep 03, 2019
  20. Aug 13, 2019
  21. Aug 08, 2019
  22. Jul 31, 2019
  23. Jul 26, 2019
  24. Jul 25, 2019
Loading