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
Create a multistep form to register adoption #125
Labels
Projects
Milestone
Comments
Closed
I can take this |
Please we haven't setup our design system yet. Use react-native-paper. Ping me on discord if you have any questions. |
Merged
3 tasks
joaoGabriel55
added a commit
to joaoGabriel55/animavita
that referenced
this issue
Nov 11, 2022
joaoGabriel55
added a commit
to joaoGabriel55/animavita
that referenced
this issue
Nov 20, 2022
belgamo
added a commit
that referenced
this issue
Jan 15, 2023
#125 - Preparing structure to implement multistep form for adoptions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Task
Let's recreate our old adoption register screen. This time, we want to split it into multiple screens in order to provide a better user experience. So for each field, we must have a dedicated screen and a "Next" button to advance to the next step. I suggest using
react-hook-form
to manage the form state andreact-query
for handling requests.Validation
We also want to improve the error feedback. Let's use a tooltip to show errors. The snackbars should show up if the user tries to advance by clicking on the next button and the data typed on the field is not valid.
Photos upload
Let's keep the same user experience allowing the user to upload up to 3 pictures.
Endpoints
We already have the backend endpoints for basic crud ready to use.
Create adoption ->
POST api/v1/adoptions
Tests
Please do not forget to add tests. I suggest
react-testing-library
.Screenshots/Examples
The text was updated successfully, but these errors were encountered: