Skip to content

Validation Time and other edge cases for AddShift Modal#166

Open
pmelga01 wants to merge 2 commits intodevfrom
dev-142-input-validation-shift-time
Open

Validation Time and other edge cases for AddShift Modal#166
pmelga01 wants to merge 2 commits intodevfrom
dev-142-input-validation-shift-time

Conversation

@pmelga01
Copy link
Copy Markdown
Collaborator

@pmelga01 pmelga01 commented Apr 8, 2024

Developer: Pam
Dates: April 8th
Time spent: 2 hours
Summary: Validation of AddShift times and form completion edge cases with visual Alert!
Testing Desktop:

image

image

image

image

Reflection: Had some trouble, stepped away and worked with Naomi on a similar ticket dealing with time, a lot of things clicked and it made this a lot better, I scrapped my previous progress and made an even cleaner implementation this way. I also am happy to have tackled other validation issues like when a form is incomplete and preventing the client from clicking submit anyways.

I did some serious stress testing and then maybe like 2/10 times it wouldn't allow the user to submit despite having valid information and I couldn't figure out why but it was a rare occurrence, just wanted to put that out there.

useEffect > useState is glorious, It fixed a huge BUG I was facing and I'm thankful for chatGPT for recommending it LOL.

@pmelga01 pmelga01 self-assigned this Apr 8, 2024
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.

1 participant