Skip to content
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

Merged

Conversation

mexi-cano
Copy link
Collaborator

@mexi-cano mexi-cano commented Nov 20, 2023

What (if anything) did you refactor?

  • Intake progress bar is now empty on first step.
Screenshot 2023-11-20 at 3 45 49 PM

@mexi-cano mexi-cano linked an issue Nov 20, 2023 that may be closed by this pull request
@bespinosa01 bespinosa01 changed the title Refactored code. Progress bar now is empty on first step of intake. [WIP] Refactored code. Progress bar now is empty on first step of intake. Nov 20, 2023
@sydney-devine
Copy link
Collaborator

@mexi-cano @bespinosa01 Can we get rid of that border that surrounds the entire progress bar to make the entire thing flat?

Comp for reference
image

@mexi-cano
Copy link
Collaborator Author

mexi-cano commented Nov 28, 2023

@mexi-cano @bespinosa01 Can we get rid of that border that surrounds the entire progress bar to make the entire thing flat?

Comp for reference image

Done!

Uploading Screenshot 2023-11-28 at 2.28.20 PM.png…

@sydney-devine
Copy link
Collaborator

sydney-devine commented Nov 28, 2023

@mexi-cano @bespinosa01 Can we get rid of that border that surrounds the entire progress bar to make the entire thing flat?
Comp for reference image

Done! Updated the same picture twi
Screenshot 2023-11-28 at 2 29 10 PM
ce previously.

@sydney-devine
Copy link
Collaborator

@mexi-cano This looks great now - TY for making those changes. Pending code review, this looks good on my end.

@bespinosa01 bespinosa01 changed the title [WIP] Refactored code. Progress bar now is empty on first step of intake. Refactored code. Progress bar now is empty on first step of intake. Nov 29, 2023
src/Components/ProgressBar/ProgressBar.tsx Outdated Show resolved Hide resolved
'& .MuiLinearProgress-bar': {
background: `linear-gradient(90deg, ${theme.primaryColor} 0%, ${theme.secondaryColor} 100%)`,
background: '#D6743F',
Copy link
Collaborator

@CalebPena CalebPena Nov 29, 2023

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.

Copy link
Collaborator Author

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!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard-coded colors have been updated to theme colors.

Screenshot 2023-12-06 at 2 46 21 PM

Screenshot 2023-12-06 at 2 47 04 PM

@mexi-cano mexi-cano changed the base branch from main to Marianna/734/typography-updates December 6, 2023 19:04
src/Components/ProgressBar/ProgressBar.tsx Outdated Show resolved Hide resolved
'& .MuiLinearProgress-bar': {
background: `linear-gradient(90deg, ${theme.primaryColor} 0%, ${theme.secondaryColor} 100%)`,
background: theme.terraCottaColor,
Copy link
Collaborator

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color updated. Current state of the progress bar:

Screenshot 2023-12-07 at 4 13 24 PM

Copy link
Collaborator

@CalebPena CalebPena left a 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?

@sydney-devine
Copy link
Collaborator

Thank you, code looks good. @sydney-devine Is the progress bar styling correct?

Looks good to me from the screenshot!

@CalebPena CalebPena merged commit 48f7b25 into Marianna/734/typography-updates Dec 8, 2023
@sydney-devine
Copy link
Collaborator

sydney-devine commented Dec 12, 2023

@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.

image

@mexi-cano
Copy link
Collaborator Author

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.

@sydney-devine
Copy link
Collaborator

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.

@sydney-devine
Copy link
Collaborator

@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.

@CalebPena
Copy link
Collaborator

@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

@sydney-devine
Copy link
Collaborator

@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!

@mexi-cano
Copy link
Collaborator Author

mexi-cano commented Dec 13, 2023

@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

@sydney-devine
Copy link
Collaborator

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Branding Update: Progress Bar
3 participants