code-dot-org
code-dot-org copied to clipboard
Refactor headerRedux
Summary
- There were several actions within headerRedux.js such as SET_PROJECT_UPDATED_STATUS which can be used outside of the header. Thus, create 2 new redux files (projectRedux.js and appRedux.js) to contain actions that are useful to other components outside of the header.
- projectRedux.js contain actions that have to do with individual projects (setting the project name, saving the project,...) Note that there already exists a projectsRedux.js which include actions for the projects gallery.
- The app.js contain 2 actions to load the app.
Links
Note: This task was create while working on this jira ticket: https://codedotorg.atlassian.net/browse/STAR-2168.