-
Notifications
You must be signed in to change notification settings - Fork 5
Ieee 272 implement item incident form #503
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
Conversation
|
@Mustaballer thanks for clarifying !! in the link to the incident page, I used query parameters(?) to pass in data -- just wanted to provide this as one of the options because I realize now that having a page for the incident form might not be the best idea since you probably want to pass in the team info too... i do also like the idea of a snackbar so i added that in my recent commit, |
hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.tsx
Outdated
Show resolved
Hide resolved
hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.tsx
Outdated
Show resolved
Hide resolved
hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.tsx
Outdated
Show resolved
Hide resolved
hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.tsx
Outdated
Show resolved
Hide resolved
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.
Overall great start! There are some issues that need to be addressed before we can merge.
hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.test.tsx
Outdated
Show resolved
Hide resolved
…b.com/ieeeuoft/hackathon-template into IEEE-272-implement-item-incident-form
…it to pass more info about hardware for incident form
hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.tsx
Outdated
Show resolved
Hide resolved
… don't submit the form
hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.tsx
Outdated
Show resolved
Hide resolved
…f the component when there are search params
…b.com/ieeeuoft/hackathon-template into IEEE-272-implement-item-incident-form
… need to be in useEffect array, so that the useEffect will fire on first render
Overview
Resolves 272
Created incident form with form validation
back button takes you back to the previous page
broken link button on checked out tables will navigate user to the incident form page
Some General Questions...
Preview...
broken link in

CheckedOutTables component
(uncommented previous code),incident form

invalid submission

Unit Tests Created
yarn test IncidentForm.test.tsx
Steps to QA
/incident-form