-
Notifications
You must be signed in to change notification settings - Fork 53
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
V2Wizard: Review step improvements (HMS-4085) #2072
Conversation
1f289a7
to
eb77db5
Compare
eb77db5
to
a0b8ba9
Compare
96b97a5
to
18f08a1
Compare
86c0e03
to
fc76c73
Compare
/retest |
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.
looks perfect, thank you Klara,
I think maybe we need to add a button at every revisit step, to give the user the ability to
"go back to review" step
@jrusz pr_check is unhappy with this one as well. Can you please give it a look when you have time? What could be the problem is a newly added modal that pops up when the user clicks on "Create blueprint" at the Review step: It should pop up only once. Whether it was already seen or not is tracked in localStorage as The other two changes were:
|
Yeah well since ephemeral env is always fresh it can't remember this option. I'll add this to the test suite. EDIT: Actually it seems that the expanded sections is the issue here. I'll try to fix it all at once. EDIT2: So in the end it was because of the title change and the modal. The expanded sections idk because I've accidentally removed the assert on them but I can't add it back until I figure out why does package search not work in ephemeral, but no time for that now. Fix is on the way. |
/retest |
Also all green, thank you @jrusz! |
This makes all expandables be open by default and adds a Revisit button to each of the expandable headers.
When the button "Create blueprint" is clicked for the first time, a modal about "Save and build" functionality is opened.
When all the expandables are open by default the extra line breaks looked a bit weird so this removes them.
This updates tests with a `openAndDismissSaveAndBuildModal` function that handles closing the SaveAndBuild modal after clicking on Create blueprint for the first time.
fc76c73
to
eacdf93
Compare
hey! you all are awesome thanks for pointing this out. For the "Review and finish" button I believe the criteria now is {user is in the optional steps menu}. We can change that to {user has completed all required steps}. However, I can foresee an issue where the user goes back to a required step and removes some option, and then all of a sudden the button is jumping in and out of the menu. My solution here would be- say it with me now- disable the button until they can use it. The "review" button can always live in the footer, I think that's a great idea, we will just disable it until the user has filled in all the required fields. Does this sound ok? @regexowl @mgold1234 I can make you a mock but the mock is essentially enable button if {all required fields are met}. |
I also like this solution from an HCI perspective- if user can see the button the whole time but aren't able to access it, they get some little sense of completion from using it each time :) |
@kelseamann Sounds good to me! Great point with jumping in and out of the menu. Form based validation is in the works so we could maybe use it to disable/enable the button as needed when it's available. As the button is not a blocker I've created an issue for it so we can merge this PR: #2127 I also like your note about little sense of completion - it's like: "You've made it to this point and unlocked fast travel, congrats!" 😄 |
Fixes #920
This improves the Review step as per recent mocks.