-
Notifications
You must be signed in to change notification settings - Fork 4
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
Refactored code. Progress bar now is empty on first step of intake. #759
Refactored code. Progress bar now is empty on first step of intake. #759
Conversation
@mexi-cano @bespinosa01 Can we get rid of that border that surrounds the entire progress bar to make the entire thing flat? |
Done! |
|
@mexi-cano This looks great now - TY for making those changes. Pending code review, this looks good on my end. |
'& .MuiLinearProgress-bar': { | ||
background: `linear-gradient(90deg, ${theme.primaryColor} 0%, ${theme.secondaryColor} 100%)`, | ||
background: '#D6743F', |
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.
We use a style controller for colors, because we have some partners that want branded colors for people coming from their link. I created an issue to update it. When that gets updated could you use them.whateverColor
for colors.
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'll wait for the issue to be completed to update this accordingly. thanks!
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.
'& .MuiLinearProgress-bar': { | ||
background: `linear-gradient(90deg, ${theme.primaryColor} 0%, ${theme.secondaryColor} 100%)`, | ||
background: theme.terraCottaColor, |
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.
Can we use theme.secondaryColor
?
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.
…bar background color.
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.
Thank you, code looks good. @sydney-devine Is the progress bar styling correct?
Looks good to me from the screenshot! |
@mexi-cano & @CalebPena I just played with this in stage. Looks like on Step 12, the bar isn't going all the way to the end anymore. Can we please fix this. |
I can update it so that it's full. My train of thought here is that having the progress bar show progress on step 1 was similar to have the progress bar full on step 12. Submitting step 1 updates the progress as submitting step 12 would. |
Yea, I agree with you. I think the only difference on this one is that the progress bar doesn't show on the final results page, so think it would make sense for it to be full on the last page that users actually see it since they're done inputting information at that point. |
@mexi-cano Slightly annoying request after looking at this in stage. Can we change the fill color on the progress bar to #D6743F? It's a slightly brighter terra cotta. |
I can change it in the 211 rebrand ticket. I had to add a progress bar color to the style controller, and I don't want to cause any conflicts |
Yes pls. TY! |
I updated the progress bar. It now shows as full on the final step before submission. I did not change the color. Screen.Recording.2023-12-13.at.6.10.45.PM.mov |
TY!! Looks great! |
What (if anything) did you refactor?