-
Notifications
You must be signed in to change notification settings - Fork 3
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
SHS-5967: FE Performance: CSS Optimization - Decanter Imports #1716
base: 11.6.3-release
Are you sure you want to change the base?
SHS-5967: FE Performance: CSS Optimization - Decanter Imports #1716
Conversation
…them and moved missing styles into the existing local file for masthead
…sing styles into the existing local file for alert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mariannuar Nice work! The removed decanter imports are accurate to the linked spreadsheet and I confirmed the removed import styles that were still in use for Alerts and Masthead we migrated to the Humsci Basic theme directly.
This does appear to cut 33kb of CSS (at least from colorful). Not a huge amount but definitely headed in the right direction:
Before:
Also, checking on Percy's Visreg tests in appear there are only 5 files that recorded any sort of change. They all appear to be a slight font shifting type of diff that I would assume is due to page loading than a style change. I'm going to kick this over to Albert to review further.
@ahughes3 This PR appears to be ready for your eyes. However, we may want to wait and get the Tugboat Visual Regression Tests working thoroughly before proceeding with merging. Better safe than sorry but I think this PR is looking good. That being said, the Percy Visreg Tests aren't showing any significant diffs that warrant further investigation out of the 55 tests it runs. There is one Percy test I accidentally approved that is showing some differences (screenshot below) but this appears to be a page loading artifact than a result of style changes. When I reviewed the tugboat link of the page (https://hs-colorful-amt2rwlf6jno6mfqda6dtpgkpoahcqia.tugboatqa.com/components/photo-album) I'm not seeing any issues. |
Summary
decanter/core/src/scss/components/masthead
into localcomponents/masthead
file anddecanter/core/src/scss/components/alert
into localcomponents/global-message
fileNeed Review By (Date)
01/15
Urgency
medium
Steps to Test
Review Tasks
Backend / Functional Validation
Code
snake_case
and notcamelCase
?Code security
General