code-dot-org icon indicating copy to clipboard operation
code-dot-org copied to clipboard

Refactor headerRedux

Open fisher-alice opened this issue 3 years ago • 0 comments

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.

fisher-alice avatar Aug 09 '22 15:08 fisher-alice