-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Simplify account form validation logic
Renamed `~/client/src/js/utilties.js` to '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. TODO: - Add logic for updating user information on server - Add custom component for alerts
- Loading branch information
Showing
11 changed files
with
276 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.