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

Fixed the CSS of Eli Selkin card in Engage's Project page was: displayed nonuniformly #7501

Merged
merged 16 commits into from
Oct 4, 2024

Conversation

codyyjxn
Copy link
Member

@codyyjxn codyyjxn commented Sep 20, 2024

Fixes #7429

What changes did you make?

  • I resolved the issue by adjusting the @media #{$bp-below-mobile} to flex-direction: row; , ensuring it didn't impact the landscape view or responsiveness across mobile and web platforms. I also verified that the changes-maintained user-friendliness and dynamic functionality throughout.
  • Also added flex: 1 to the description for each card. This gave a seamless interaction for the user.

Why did you make the changes (we will use this info to test)?

  • The reason I made these changes in engage project page, was because the text for Eli Selkin's card did not
    have the same visual margin as the other cards when displayed in phone portrait view.
    • I addressed this issue to ensure it aligns with the user-friendly standards we uphold at HackForLA

Screenshots of Proposed Changes To The Website (if any, please do not include screenshots of code changes)

Visuals before changes are applied

image

Visuals after changes are applied

newscreen

Copy link

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 codyyjxn-update-textCard-7429 gh-pages
git pull https://github.com/codyyjxn/website.git update-textCard-7429

@codyyjxn codyyjxn changed the title Update text card 7429 Fixed the card text for Eli Selkin card in Engage's Project page was: displayed nonuniformly --7429 Sep 20, 2024
@github-actions github-actions bot added role: front end Tasks for front end developers Complexity: Medium P-Feature: Project Info and Page A project's detail page (e.g. https://www.hackforla.org/projects/100-automations) size: 0.5pt Can be done in 3 hours or less labels Sep 20, 2024
@tamara-snyder tamara-snyder self-requested a review September 22, 2024 13:35
@tamara-snyder
Copy link
Member

Review ETA: End of day 9/22/2024
Availability: Morning and evening

Copy link
Member

@tamara-snyder tamara-snyder left a comment

Choose a reason for hiding this comment

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

Hi Jonathan, I think the padding solution you've come up with works well. I noticed the same issue was happening in the following places, and it looks like your fix has resolved the issues in those spots as well 😄

  • 311 Data:
    • Anna Kim
  • Heart:
    • Charlotte Soestini
  • Expunge Assist:
    • Maria Weissman
  • LA TDM Calculator:
    • Bonnie Wolfe
  • Tech Work Experience:
    • Joshua Fishman
  • EMS Triage Tracker:
    • Shawn Duenas
    • Simone Wojtaszek
    • Nicole Doan
    • Conor McKiernan
    • Selena Jiang
    • Kelvin Nguyen
  • Civic Tech Index:
    • Bonnie Wolfe
    • Bhaggyalakshmi Balasubramaniyan
    • Maxwell Countryman Skewes

I did notice that a bit of text is spilling off the cards at around 487x1183. Is it feasible/in scope to resolve this within this issue, perhaps by moving the text to the left a bit?
Screenshot 2024-09-22 100803

Otherwise, looks great! Really nice work on this!

CNAME Outdated Show resolved Hide resolved
@santisecco
Copy link
Member

santisecco commented Sep 22, 2024

Review ETA: 6 PM 9/23/2024
Availability: 1-3 PM Monday-Tuesday

@daras-cu
Copy link
Member

@codyyjxn as it appears the display issue is only occurring at mobile size, you really only need the increased padding under the mobile breakpoint (@media #{$bp-below-mobile}). This should resolve the issue @tamara-snyder noted with the text being off to the right/overflowing at larger screen sizes.

@codyyjxn
Copy link
Member Author

@tamara-snyder @daras-cu Thank you for the feedback I went ahead and implemented it seems to work better. Thanks again! Can you please review Thanks !

santisecco
santisecco previously approved these changes Sep 23, 2024
Copy link
Member

@santisecco santisecco left a comment

Choose a reason for hiding this comment

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

Hi @codyyjxn great job! Together with the last changes, suggested by @daras-cu, the view improves considerably.
Some text, similar to what @tamara-snyder noted, still spills off around 484×5363.
However, I don't know if that can be further improved.
Other than that, the code is correct, as well as your explanation of your changes.
Thanks for working on this issue.

@codyyjxn
Copy link
Member Author

Hi @codyyjxn great job! Together with the last changes, suggested by @daras-cu, the view improves considerably. Some text, similar to what @tamara-snyder noted, still spills off around 484×5363. However, I don't know if that can be further improved. Other than that, the code is correct, as well as your explanation of your changes. Thanks for working on this issue.

@santisecco Oh! Could you please share a screenshot of what you're seeing on your end, particularly where the issue is still occurring? I’d like to take a look and see how I can improve it, if necessary.

@santisecco santisecco self-requested a review September 24, 2024 15:07
@santisecco
Copy link
Member

Hi @codyyjxn I couldn't replicate the problem still, now that I think about it, I believe the dimension I mentioned 484x5363 is not usual. Honestly my exp in front end is limited. So anyways, using other dimensions there are still some issues I hadn't seen before:
Screenshot 2024-09-24 121721
Screenshot 2024-09-24 121804
Screenshot 2024-09-24 121922

Though here's one that looks good 👍

Screenshot 2024-09-24 121945

@8alpreet 8alpreet self-requested a review September 28, 2024 20:36
@santisecco
Copy link
Member

santisecco commented Sep 29, 2024

Ok just to give an update @tamara-snyder @codyyjxn @8alpreet @daras-cu. We'll be following @8alpreet solution. So the last PR version is the one to check.
It was decided with Bonnie @tamara-snyder and the rest of devs in today's meeting.

@codyyjxn
Copy link
Member Author

Ok just to give an update @tamara-snyder @codyyjxn @8alpreet @daras-cu. We'll be following @8alpreet solution. So the last PR version is the one to check. It was decided with Bonnie @tamara-snyder and the rest of devs in today's meeting.

Thank you all for the update I wasn't able to attend the meeting today but I really got to understand the UI a lot better. Thanks all for the input. Is there anything I need to improve before this gets merged ? @tamara-snyder @santisecco @8alpreet @daras-cu

@8alpreet
Copy link
Member

@codyyjxn, thanks for the update! I will complete my review 7pm today.

8alpreet
8alpreet previously approved these changes Sep 30, 2024
Copy link
Member

@8alpreet 8alpreet left a comment

Choose a reason for hiding this comment

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

Hi @codyyjxn,

Great job on this issue, I know it became complex and took longer than we expected. You stuck through it, so props for that! I locally tested the changes across different projects and the cards look great.

Things you did well:

  • PR title is descriptive
  • Issue is Linked
  • Branch name includes issue number
  • What section describes the changes
  • Before and after pictures clearly outline the changes

Room for Improvement:

  • OPINION - The PR title can be updated since the current one, though accurate to the issue, does not accurately reflect the changes. So something like "Updated CSS to fix text alignment issue in project leader card" could work.
  • If you want the keep the current title, the "--7429" portion is definitely not necessary.
  • OPINION - The why section could use more specific details; although you answer the question, it is high level and a bit vague. A quick insight into why these specific changes were needed would be wonderful.

Notes:

  • the CNAME file should be not changed but looks like that issue was already discussed and resolved.

@codyyjxn codyyjxn changed the title Fixed the card text for Eli Selkin card in Engage's Project page was: displayed nonuniformly --7429 Fixed the card text for Eli Selkin card in Engage's Project page was: displayed nonuniformly Oct 1, 2024
@codyyjxn codyyjxn changed the title Fixed the card text for Eli Selkin card in Engage's Project page was: displayed nonuniformly Fixed the CSS of Eli Selkin card in Engage's Project page was: displayed nonuniformly Oct 1, 2024
@codyyjxn
Copy link
Member Author

codyyjxn commented Oct 1, 2024

@tamara-snyder @santisecco @daras-cu Please review when possible. Thank you !

daras-cu
daras-cu previously approved these changes Oct 1, 2024
Copy link
Member

@daras-cu daras-cu left a comment

Choose a reason for hiding this comment

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

Thanks for continuing to work on this @codyyjxn, I think having the text remain next to the picture for smaller screen sizes is nicer visually and more consistent with how the page displays at larger sizes. I know it went a little beyond the scope of the original issue, but I'm glad you got to learn more about the UI and page styling in the process.

Everything looks good when I test your branch locally and your PR is set up correctly. Well done!

santisecco
santisecco previously approved these changes Oct 2, 2024
Copy link
Member

@santisecco santisecco left a comment

Choose a reason for hiding this comment

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

Hi @codyyjxn thanks for working on this issue. As discussed in the meeting the last layout is the one to be adopted and it's looking great. Also the approach chosen mentioned by @8alpreet simplifies the code in my opinion.

I would like to also thank the code suggestions and help of @daras-cu, @8alpreet and @tamara-snyder. They for sure contributed a big deal to solving this.

Great job

@tamara-snyder tamara-snyder dismissed their stale review October 3, 2024 01:51

Dismissing this because we're going with Balpreet's solution

tamara-snyder
tamara-snyder previously approved these changes Oct 3, 2024
Copy link
Member

@tamara-snyder tamara-snyder left a comment

Choose a reason for hiding this comment

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

Hey @codyyjxn, great work on this and thanks for all your patience trying out various changes! I think you've executed this approach well. Thanks also to @8alpreet, @santisecco, and @daras-cu for sharing your thoughts and solutions - I learned some useful tips from this discussion.

@jphamtv
Copy link
Member

jphamtv commented Oct 3, 2024

Hey @codyyjxn, great work collaborating with everyone on this PR to come up with an elegant solution.

This is ready to be merged, but first, can you please fix the CNAME file? I noticed there's an extra blank line (line 2) introduced, which should be removed. Having extra blank lines in a CNAME file may cause issues with DNS resolution, potentially affecting the domain configuration.

Screenshot 2024-10-03 at 16 22 21

Thanks!

@codyyjxn
Copy link
Member Author

codyyjxn commented Oct 4, 2024

Hey @codyyjxn, great work collaborating with everyone on this PR to come up with an elegant solution.

This is ready to be merged, but first, can you please fix the CNAME file? I noticed there's an extra blank line (line 2) introduced, which should be removed. Having extra blank lines in a CNAME file may cause issues with DNS resolution, potentially affecting the domain configuration.

Screenshot 2024-10-03 at 16 22 21 Thanks!

Hello @jphamtv . I tried to uncommit the CNAME file but for some reason I can't seem to get rid of that change. What would you recommend I do ?

@jphamtv
Copy link
Member

jphamtv commented Oct 4, 2024

Hello @jphamtv . I tried to uncommit the CNAME file but for some reason I can't seem to get rid of that change. What would you recommend I do ?

@codyyjxn - Thanks for trying to resolve this. Since uncommitting didn't work, let's do it manually:

  1. Open the CNAME file in your editor
  2. Delete the blank line (line 2)
  3. Commit and push the changes

@codyyjxn
Copy link
Member Author

codyyjxn commented Oct 4, 2024

Hello @jphamtv . I tried to uncommit the CNAME file but for some reason I can't seem to get rid of that change. What would you recommend I do ?

@codyyjxn - Thanks for trying to resolve this. Since uncommitting didn't work, let's do it manually:

  1. Open the CNAME file in your editor
  2. Delete the blank line (line 2)
  3. Commit and push the changes

Thanks ! This worked I was able to remove that file from this pr. @jphamtv
Do I need to request another review for this pr?

Copy link
Member

@jphamtv jphamtv left a comment

Choose a reason for hiding this comment

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

Thanks for the quick update @codyyjxn, approved and merged.

@jphamtv jphamtv merged commit 9f337b7 into hackforla:gh-pages Oct 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Medium P-Feature: Project Info and Page A project's detail page (e.g. https://www.hackforla.org/projects/100-automations) role: front end Tasks for front end developers size: 0.5pt Can be done in 3 hours or less
Projects
Development

Successfully merging this pull request may close these issues.

Card text for Eli Selkin card in Engage's Project page is: displayed nonuniformly
6 participants