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

Remove social media icons from News theme header #147

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

matt-bernhardt
Copy link
Member

@matt-bernhardt matt-bernhardt commented Jan 4, 2024

Ticket: https://mitlibraries.atlassian.net/browse/PW-66

Developer

Stylesheets

  • Any theme or plugin whose stylesheets have changed has had its version
    string incremented.

Secrets

  • All new secrets have been added to Pantheon tiers
  • Relevant secrets have been updated in Github Actions
  • All new secrets documented in README
  • No secrets are affected by this change

Documentation

  • Project documentation has been updated
  • No documentation changes are needed

Accessibility

  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)

Stakeholder approval

  • Stakeholder approval has been confirmed
  • Stakeholder approval is not needed

Dependencies

NO dependencies are updated

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • The changes have been verified
  • The documentation has been updated or is unnecessary
  • New dependencies are appropriate or there were no changes

** Why are these changes being introduced:

* We are removing social media icons from across our website. In some
  cases, like the news site header, we are placing a link to a basic
  "Follow us" page that will allow us to more easily manage changes to
  which profiles the Libraries' maintain.

* It turns out that when this area of the news site header is updated,
  some CSS changes are warranted.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/pw-66

** How does this address that need:

* This replaces the two links to X and Instagram in the News site header
  with a single link named "Follow us".

* The spacing of elements in this list item are updated a bit, in order
  to introduce the pipe element and to ensure proper responsiveness. The
  overall list is no longer floated, but rendered as a flex element.

** Document any side effects to this change:

* The elements in this list, as well as the site name which appears next
  to it, are now given the "nowrap" property, to prevent some awkward
  displays at some screen widths.

* The News theme version is also incremented, following our practice of
  bumping this version to help with CSS cache busting. It should be
  noted that this stylesheet is not compiled by SCSS, but the cache
  busting is still a good thing regardless.
@matt-bernhardt matt-bernhardt changed the title Remove social icons; refactor CSS for that element Remove social media icons from News theme header Jan 4, 2024
@JPrevost JPrevost self-assigned this Jan 4, 2024
Copy link
Member

@JPrevost JPrevost left a comment

Choose a reason for hiding this comment

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

Based on the weirdness with a deploy yesterday, can you closely follow https://github.com/MITLibraries/mitlib-wp-network/blob/master/docs/howto/promote-css-changes.md#the-procedure and confirm if it results in the appropriate CSS being served. I know this is not SCSS compiled so it isn't necessarily apples to apples with what we saw, but... 🤷🏻

@matt-bernhardt
Copy link
Member Author

Sure thing. I'm also going to merge and deploy this tomorrow at this point, and not at the end of the day today. :-)

@matt-bernhardt matt-bernhardt merged commit 6e526b3 into master Jan 5, 2024
3 checks passed
@matt-bernhardt matt-bernhardt deleted the pw-66 branch January 5, 2024 15:28
@matt-bernhardt
Copy link
Member Author

I just finished promoting this change up to Live, following the documented process. No problems, everything was as smooth as you could hope for. The latter portion of the procedure (in case the stylesheet changes don't immediately appear) were never needed.

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.

2 participants