Track "project changed" state in Redux
Listen to the new project changed event from the VM and keep track of the state in Redux. Update it as appropriate. Known issue is that the project is marked as "changed" immediately after it's loaded. This is due to asynchronous event emitting while the project data is loaded, and needs an update to the VM to fix.
Showing
- src/containers/blocks.jsx 4 additions, 1 deletionsrc/containers/blocks.jsx
- src/lib/project-fetcher-hoc.jsx 8 additions, 1 deletionsrc/lib/project-fetcher-hoc.jsx
- src/lib/project-saver-hoc.jsx 6 additions, 1 deletionsrc/lib/project-saver-hoc.jsx
- src/lib/vm-listener-hoc.jsx 8 additions, 0 deletionssrc/lib/vm-listener-hoc.jsx
- src/lib/vm-manager-hoc.jsx 4 additions, 1 deletionsrc/lib/vm-manager-hoc.jsx
- src/reducers/gui.js 3 additions, 0 deletionssrc/reducers/gui.js
- src/reducers/project-changed.js 28 additions, 0 deletionssrc/reducers/project-changed.js
Loading
Please register or sign in to comment