Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API, ControlApp Actions refactor #475

Merged
merged 1 commit into from
Feb 15, 2017

Conversation

andymikulski
Copy link
Contributor

@andymikulski andymikulski commented Feb 3, 2017

  • Clears up a lot of the clutter in ControlActions and ControlAppReducer
  • Functions which define API configs have moved into the new control/api directory , and makeApiRequest has been moved to control/api/index.js. Essentially, all the API handling/config functions are housed in this dir to make things a little clearer.
  • Actions have been moved from ControlActions to their proper files (e.g. notification actions are now in NotificationActions, recipe actions are in RecipeActions, etc)
  • Action/reducer tests have been broken up accordingly (test_ControlAppReducer had notification tests, recipe tests, etc)

This should be an easy review - it's a lot of renaming and restructuring more than actually writing new code.

Copy link
Contributor

@rehandalal rehandalal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work! r+

@rehandalal rehandalal merged commit 2940145 into mozilla:master Feb 15, 2017
@andymikulski andymikulski deleted the api-refactor branch September 11, 2017 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants