TheDevPath / Navi

Open Source Project for Grow with Google Udacity Scholarship Challenge - Navigation app using offline first strategy and google maps api - To get started please refer to the README.md - CONTRIBUTING.md and the project Wiki
https://navi-rocks.herokuapp.com/
MIT License
53 stars 63 forks source link

Accountform refactor #232

Closed jkwening closed 6 years ago

jkwening commented 6 years ago

Issue Number:

PR #216 extenstion

Summary of solution:

Renamed ~/client/src/js/utilties.js to ~/client/src/js/validate-account-form.js since the logic in that module were primarily handling submit validation for forms in AccountForm component and processing the request to backend server.

Refactored the module to simplify the logic and ease of maintenance. The module had a broad range of functions; not just handling form submit but also handling AccountForm component state. AccountForm state is now handled within its on module to ensure continual encapsulation within its own module and scope. Message is currently handled with alerts.

Enhanced style of reset-password view.

Can this issue be closed?

n/a

Should any new issues be added as a result of this solution?

Thanks for contributing!