-
Notifications
You must be signed in to change notification settings - Fork 14
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
added frequency to database schema #380
Conversation
…eflect updated data table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…o accommodate addition of frequency field
…text, conditional rendering of Next and Create buttons to replace alert, frequency in page two checks, move percentages from outside TextFields to inside as InputAdornments
…er and ensure tests passing
I updated this branch including refactoring the create benchmark page to re-work the checks and add some TextField validation. The page no longer throws an alert if the button is clicked before checks are passed, rather the buttons are disabled until every required field has valid input. @nickvisut and @BrettEastman , I would appreciate your eyes on it if you can since this is reworking some of what you both did in creating the create-benchmark page, hopefully everything makes sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, everything looks great and works properly! After resetting my database (tried migrating first but that didn't work), I was able to successfully input a new goal with new benchmarks without a problem on this branch. As you intended, the buttons are now disabled until all fields are filled-in. Great work, thanks for fully implementing the frequency field, @KCCPMG !
Thanks, Brett! |
Also looks good to me! |
added frequency to database schema and changed subgoal functions to reflect updated data table