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

updated the slack img. #5920

Closed
wants to merge 1 commit into from
Closed

Conversation

GRK1998
Copy link
Member

@GRK1998 GRK1998 commented Nov 17, 2023

Fixes #5827

What changes did you make?

modify the Communities of Practice page, replacing the current image with the inline SVG

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

storing only a single Slack icon SVG file in the codebase and matching the appearance of the current image.

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

Visuals before changes are applied Screenshot 2023-11-17 at 4 42 10 PM
Visuals after changes are applied Screenshot 2023-11-17 at 4 55 12 PM

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 GRK1998-Refactor-page-5827 gh-pages
git pull https://github.com/GRK1998/website.git Refactor-page-5827

Note that CONTRIBUTING.md cannot previewed locally; rather it should be previewed at this URL:

https://github.com/GRK1998/website/blob/Refactor-page-5827/CONTRIBUTING.md  

@ajb176 ajb176 self-requested a review November 19, 2023 07:48
Copy link
Member

@ajb176 ajb176 left a comment

Choose a reason for hiding this comment

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

PR can't be reviewed until the issue number is added. Please edit the first line of the PR to add the issue number.

@GRK1998
Copy link
Member Author

GRK1998 commented Nov 21, 2023

Hi @ajb176 I have updated the issue number. If there are any additional changes to be made, please let me know.

@blulady blulady requested a review from sornekian November 22, 2023 03:13
@sornekian
Copy link
Member

Review ETA: 2PM 11/22/23
Availability: Wednesday 10-5 PM

@ajb176
Copy link
Member

ajb176 commented Nov 22, 2023

Yes, I'm aware of the issue number of the pull request, I was hoping for the linked issue number

Copy link
Member

@sornekian sornekian left a comment

Choose a reason for hiding this comment

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

Changes look simple and clean, just need that lint error fixed.

@sornekian sornekian requested a review from ajb176 November 22, 2023 20:48
Copy link
Member

@ajb176 ajb176 left a comment

Choose a reason for hiding this comment

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

Correct linked issue number still needs to be added

What was added was the issue number of the PR itself

@github-actions github-actions bot added role: front end Tasks for front end developers Complexity: Medium To Update ! No update has been provided Feature: Refactor CSS Page is working fine - CSS needs changes to become consistent with other pages Feature: Refactor HTML size: 1pt Can be done in 4-6 hours labels Nov 25, 2023
@GRK1998
Copy link
Member Author

GRK1998 commented Nov 25, 2023

Hi @ajb176 I have updated the issue number, and i quite did not get the lint error code so Could you please let me know what needs to be done.

@t-will-gillis
Copy link
Member

t-will-gillis commented Nov 26, 2023

Hi @GRK1998 - when you make changes to your PR, please remember that you'll need to re-request the reviewers by selecting the chasing arrows next to their names (I already did this):
Screenshot 2023-11-25 155731

Also @sornekian and @ajb176 Please disregard the "Lint SCSS / Lint SCSS (pull_request)" test- there is an issue with the linter that we need to correct.

@ajb176
Copy link
Member

ajb176 commented Nov 26, 2023

Tagging the original issue creator @roslynwythe

I'm seeing very different visuals in different browsers. The PR creator increased the width and height of the SVG icon from 24px to 80px. In Firefox (and whatever browser the creator is using) this seems to essentially match the current version of the website, while the 24px version looks tiny. In Safari, the 80px version looks massive, whereas the 24px looks accurate. I'd like some other people to review this, but it seems like replacing the SVG is introducing some irregularities.

Here's what I'm seeing:

Changes on Firefox: FireFoxIcon
Changes on Safari: SafariIcon

@ajb176
Copy link
Member

ajb176 commented Nov 26, 2023

Hey @sornekian

I noticed you reviewed the PR before the PR creator added the linked issue number. If you dug up the initial linked issue manually and cross-checked the PR with it, that's great. Otherwise, you can't properly review a PR without cross-checking with the linked issue and making sure the changes by the PR creator line up with the instructions of the linked issue.

If you haven't already, you'll need to pull the changes to a local branch and run them in docker. Please do so, view the changes in a few different browsers and let me know if what you find lines up with my comment above, or if maybe I'm mistaken.

@roslynwythe
Copy link
Member

roslynwythe commented Nov 28, 2023

  • @ajb176 Good job discovering the cross-browser problem. @GRK1998 I suggest that you do more research regarding browser support for svg styling and sizing methods and also see this PR Refactored Slack image with svg icon in "Getting Started" Page #5900 which addresses a issue similar to yours. One of the files changed in that PR is pages/getting-started.html and in that file, the developer created an svg element that wraps the included svg, and makes use of the 'viewBox' attribute of the outer svg element for scaling. There is also a "width" attribute on the outer svg element. Hopefully using that technique will provide cross-browser results for your issue as well. If you would be willing to add a review of that PR with some cross-browser testing and comment on your results, that would be great.

@ajb176
Copy link
Member

ajb176 commented Dec 2, 2023

@roslynwythe Yeah, using a viewbox seems like it should do the trick. I'm a little busy right now but I'll definitely look into that PR within a week.

Copy link
Member

@sornekian sornekian left a comment

Choose a reason for hiding this comment

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

Hey @GRK1998, I don't see any revisions after @ajb176 comments with the sizing issue on different browsers. Please update.

@roslynwythe
Copy link
Member

roslynwythe commented Jan 18, 2024

@GRK1998 if you are able to continue work on this PR as discussed above, please leave a comment describing your progress, availability and ETA. Otherwise, please let me know so I can make the issue available to another developer. If I don't hear from you by 1/24/2024, you will be unassigned from the issue.

@GRK1998
Copy link
Member Author

GRK1998 commented Jan 18, 2024

@roslynwythe Apologies for the delay. I have unassigned myself from the issue. Feel free to reassign it to another developer, as I am currently working on other issues.

@jphamtv
Copy link
Member

jphamtv commented Jan 19, 2024

The developer unassigned themself from the PR and issue. I moved the issue back to the top of the Prioritized backlog.

@jphamtv jphamtv closed this Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Medium Feature: Refactor CSS Page is working fine - CSS needs changes to become consistent with other pages Feature: Refactor HTML role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours To Update ! No update has been provided
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor communities of practice page to replace slack-self-invite.svg with icon-slack.svg
6 participants