-
Notifications
You must be signed in to change notification settings - Fork 78
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
LF-4166 (2): [Layout] Implement end to end animal creation flow #3377
LF-4166 (2): [Layout] Implement end to end animal creation flow #3377
Conversation
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.
It looks excellent, thank you!! And I love this separated organization of MultiStepForm!
We agreed to make the basics page full-with, but I would like to confirm with Loïc again since FixedHeaderContainer has a max-width: 1024px and the only full width page currently is the map page.
I was struggling with that too when I had FixedHeaderContainer in the container originally, but only because I had a Jira ticket requirement to make it three cards wide! I think the two card width doesn't look so bad -- curious what Loïc will decide 🙂
@kathyavini I found this mockup 😅 |
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.
I think its really good idea to separate out those variants!
My questions are:
- Is any form validation supposed to be working yet?
isValid
is always true for me despite validation errors or empty form:
- Are we planning on ever using the other older variant? (should we delete it instead?)
2b. I think I might normally expect that since it is a header variant, more so than a form variant, that there would be a subfolder for multi form header types. But as it is the only type of variant this makes sense !
For 2/3 I can approve!
@Duncan-Brain @SayakaOno in terms of point (1) above -- I was myself surprised to find that the error message that SexDetails displays was not hooked up to an actual form state error (it was just visual). I added it to form state validation in this commit of the details PR as I am adding all the validation there now |
@Duncan-Brain I had no doubt we would be using the older variant! Just to confirm, by "subfolder" do you mean creating a folder within MultiStepForm to place components like |
@SayakaOno and @kathyavini for 1) my main question is should any form validation be working? I saw that the
2b. Its great as is! Definitely page title and stepper can be their own reusable component outside of this that these components just use. I am just over thinking it the naming and folder structure 😂 . On second look I was seeing more of a 'Layout' instead of header. Since |
@Duncan-Brain No form validation has been implemented properly yet in this PR, so
2b. I think I understand! Let's revisit the naming and folder structure if it becomes confusing :) I'll merge! |
Description
Addressed all of Joyce's comments on #3370.
MultiStepForm
.Managing two different styles in one file made it difficult to read, so I separated them into two files. Sorry 🙏
StepperProgressBar
to support the title. (story)MultiStepForm
.MultiStepForm
(technically, toWithStepperProgressBar
)Other change:
isValid
isfalse
NOTE:
FixedHeaderContainer
has amax-width: 1024px
and the only full width page currently is the map page.Jira link: https://lite-farm.atlassian.net/browse/LF-4166
Type of change
How Has This Been Tested?
Checklist: