website icon indicating copy to clipboard operation
website copied to clipboard

Updated resource cards on project page

Open jdingeman opened this issue 2 years ago • 10 comments

Fixes #3449

What changes did you make and why did you make them ?

  • Added inline-size: min-content which adjusts text box to grow vertically rather than horizontally with longer strings of text
  • Adjusted right margin between cards from 42px to 40px (per Figma design proposal)
  • Adjusted dimensions of .resource-img to 95px / 95px so each line can hold 6 cards rather than 4 (per Figma design proposal)

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied

image

Visuals after changes are applied

Without text changes

image

With text changes (Demo purposes only, changes not committed)

image

jdingeman avatar Oct 02 '22 21:10 jdingeman

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b jdingeman-update-resource-cards-3449 gh-pages
git pull https://github.com/jdingeman/website.git update-resource-cards-3449

github-actions[bot] avatar Oct 02 '22 21:10 github-actions[bot]

ETA: EOD 10/9/22 Availability: 4hrs

plang-psm avatar Oct 06 '22 20:10 plang-psm

Review ETA: 10/8/2022 by 8 AM Availability: 10/7/2022 8 - 10 AM; 10/8/2022: 7 - 8 AM

AzaniaBG avatar Oct 07 '22 15:10 AzaniaBG

ETA: EOD 10/13/22 Availability: 6hrs

plang-psm avatar Oct 09 '22 18:10 plang-psm

Current status: Haven't had the chance to revisit this yet but no blockers as of right now. Hoping to get it done by Wednesday 10/13 EOD.

@AzaniaBG - could you please clarify what you mean in your second comment? The resource-card element only exists in the scss file as the html that the project pages use is written entirely in Liquid, so the individual cards are generated from that. Thank you! :smile:

jdingeman avatar Oct 12 '22 01:10 jdingeman

Current status: Haven't had the chance to revisit this yet but no blockers as of right now. Hoping to get it done by Wednesday 10/13 EOD.

@AzaniaBG - could you please clarify what you mean in your second comment? The resource-card element only exists in the scss file as the html that the project pages use is written entirely in Liquid, so the individual cards are generated from that. Thank you! 😄

@jdingeman ~ sorry for the confusion. I'm not familiar with Liquid and just assumed that was the reason the styles weren't taking effect across all cards. You can disregard that comment. My understanding is that all cards should be the same height and width per the Figma design, but please let me know if i'm missing something, or if you have additional insights to share :).

AzaniaBG avatar Oct 12 '22 23:10 AzaniaBG

Current status: Haven't had the chance to revisit this yet but no blockers as of right now. Hoping to get it done by Wednesday 10/13 EOD. @AzaniaBG - could you please clarify what you mean in your second comment? The resource-card element only exists in the scss file as the html that the project pages use is written entirely in Liquid, so the individual cards are generated from that. Thank you! 😄

@jdingeman ~ sorry for the confusion. I'm not familiar with Liquid and just assumed that was the reason the styles weren't taking effect across all cards. You can disregard that comment. My understanding is that all cards should be the same height and width per the Figma design, but please let me know if i'm missing something, or if you have additional insights to share :).

I'm definitely revamping the cards because I realized what you said about the Figma design. So hopefully this next PR will align with it more! :smiley:

jdingeman avatar Oct 12 '22 23:10 jdingeman

Hello @AzaniaBG and @plang-psm, I have changed quite a few things (thank you Phillip for walking me through!!) and hopefully now it aligns more to the Figma design. See below for example taken from /projects/vrms image

jdingeman avatar Oct 13 '22 01:10 jdingeman

Hello @AzaniaBG and @plang-psm, I have changed quite a few things (thank you Phillip for walking me through!!) and hopefully now it aligns more to the Figma design. See below for example taken from /projects/vrms image

Awesome @jdingeman ! I should be able to take a look tomorrow.

AzaniaBG avatar Oct 13 '22 13:10 AzaniaBG

ETA for review: 10/14/2022 by 3 PM Availability: 10/14/2022 2 - 3 PM

AzaniaBG avatar Oct 13 '22 13:10 AzaniaBG

Hey @jdingeman @AzaniaBG, So I talked to Bonnie about this issue. We need to present the issue to her. We need to have a picture of what cards look like in the dev environment and a picture of what the figma wants, along with an explanation of what we (Justin) did and why. Specifically she wants to know what happens to the pixels when we change the padding (because if the padding isn't working it might need to go back to design). So Justin if you can put that together by tomorrow I'll send you an invite to come to the meeting at 2:00. Otherwise, let's plan on bringing it back to her next Sunday.

blulady avatar Oct 16 '22 19:10 blulady

Hey @jdingeman @AzaniaBG, So I talked to Bonnie about this issue. We need to present the issue to her. We need to have a picture of what cards look like in the dev environment and a picture of what the figma wants, along with an explanation of what we (Justin) did and why. Specifically she wants to know what happens to the pixels when we change the padding (because if the padding isn't working it might need to go back to design). So Justin if you can put that together by tomorrow I'll send you an invite to come to the meeting at 2:00. Otherwise, let's plan on bringing it back to her next Sunday.

When you say padding, which padding are you referring to? The padding between the cards or the padding of the image inside the top part of the card?

jdingeman avatar Oct 16 '22 23:10 jdingeman

Hi @plang-psm and @AzaniaBG, after consulting with Bonnie last week, I don't think I'll need to strictly follow the figma design pixel by pixel after hearing her feedback. I am going to bring it up to her tomorrow to see what she thinks and hopefully we'll be able to merge. :smile:

jdingeman avatar Oct 23 '22 06:10 jdingeman

Hi @plang-psm and @AzaniaBG, after consulting with Bonnie last week, I don't think I'll need to strictly follow the figma design pixel by pixel after hearing her feedback. I am going to bring it up to her tomorrow to see what she thinks and hopefully we'll be able to merge. 😄

Thanks for the update @jdingeman

AzaniaBG avatar Oct 23 '22 18:10 AzaniaBG

Hello @plang-psm and @AzaniaBG (only if available), I have made some adjustments to the code so that it more reflects Bonnie's vision of the pages. I am not entirely sure what the Linter failure is but it seems it may have to do with the fact that I am editing a scss file.

jdingeman avatar Nov 02 '22 03:11 jdingeman

Hello @plang-psm and @AzaniaBG (only if available), I have made some adjustments to the code so that it more reflects Bonnie's vision of the pages. I am not entirely sure what the Linter failure is but it seems it may have to do with the fact that I am editing a scss file.

@jdingeman looks like you have got other commits if you scroll

arpitapandya avatar Nov 02 '22 04:11 arpitapandya

Hello @plang-psm and @AzaniaBG (only if available), I have made some adjustments to the code so that it more reflects Bonnie's vision of the pages. I am not entirely sure what the Linter failure is but it seems it may have to do with the fact that I am editing a scss file.

@jdingeman looks like you have got other commits if you scroll

@arpitapandya The last clean commit was when we were still using linter v4.8.1, after we updated to v4.9.7, it seems it started to fail. Do you think there may be something in my code that is breaking it?

jdingeman avatar Nov 04 '22 22:11 jdingeman

ETA: EOD 2022-11-06 Availability: 6 hrs

arpitapandya avatar Nov 04 '22 23:11 arpitapandya

ETA: EOD 11-7-22 Availability: 4 hrs

plang-psm avatar Nov 04 '22 23:11 plang-psm

ETA: EOD 11-9-22 Availability: 6 hrs

plang-psm avatar Nov 09 '22 01:11 plang-psm

We will be merging v2, so this can be closed. I am closing this.

arpitapandya avatar Nov 11 '22 04:11 arpitapandya