continuing sb file uploader refactor into hoc
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
Showing
- src/components/gui/gui.jsx 3 additions, 0 deletionssrc/components/gui/gui.jsx
- src/components/menu-bar/menu-bar.jsx 5 additions, 16 deletionssrc/components/menu-bar/menu-bar.jsx
- src/containers/gui.jsx 2 additions, 0 deletionssrc/containers/gui.jsx
- src/containers/sb-file-uploader.jsx 0 additions, 226 deletionssrc/containers/sb-file-uploader.jsx
- src/lib/sb-file-uploader-hoc.jsx 241 additions, 0 deletionssrc/lib/sb-file-uploader-hoc.jsx
- src/reducers/project-state.js 15 additions, 4 deletionssrc/reducers/project-state.js
- test/unit/containers/sb-file-uploader.test.jsx 0 additions, 84 deletionstest/unit/containers/sb-file-uploader.test.jsx
- test/unit/reducers/project-state-reducer.test.js 65 additions, 19 deletionstest/unit/reducers/project-state-reducer.test.js
- test/unit/util/project-saver-hoc.test.jsx 1 addition, 1 deletiontest/unit/util/project-saver-hoc.test.jsx
- test/unit/util/sb-file-uploader-hoc.test.jsx 108 additions, 0 deletionstest/unit/util/sb-file-uploader-hoc.test.jsx
Loading
Please register or sign in to comment