Skip to content
Snippets Groups Projects
  1. 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
    • adroitwhiz's avatar
      Remove isStarted prop from GreenFlagOverlay · 15c74d99
      adroitwhiz authored
      Since #3885, the GreenFlagOverlay has been hidden by the Stage component
      instead of having to hide itself if the project has been started. Thus
      there's no need for GreenFlagOverlay to know whether the project has
      been started.
      15c74d99
  2. May 08, 2020
  3. May 07, 2020
  4. May 05, 2020
  5. Feb 20, 2020
  6. Feb 13, 2020
  7. Feb 12, 2020
  8. Feb 11, 2020
  9. Feb 10, 2020
  10. Feb 06, 2020
  11. Feb 05, 2020
  12. Feb 04, 2020
  13. Jan 30, 2020
  14. 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
  15. Jan 27, 2020
  16. Jan 23, 2020
  17. Jan 22, 2020
  18. Jan 14, 2020
  19. Jan 09, 2020
  20. Jan 06, 2020
  21. Dec 19, 2019
  22. Dec 18, 2019
  23. Dec 17, 2019
  24. Dec 16, 2019
Loading