-
Notifications
You must be signed in to change notification settings - Fork 9
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
VACMS-18765 Cross-repository style cleanup #2267
Draft
randimays
wants to merge
9
commits into
main
Choose a base branch
from
18765-cross-repo-style-cleanup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
randimays
force-pushed
the
18765-cross-repo-style-cleanup
branch
from
September 9, 2024 22:15
98c722a
to
3b62dd5
Compare
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 9, 2024 22:20
Inactive
randimays
force-pushed
the
18765-cross-repo-style-cleanup
branch
from
September 9, 2024 22:29
3b62dd5
to
b8e79f3
Compare
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 9, 2024 22:43
Inactive
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 10, 2024 19:16
Inactive
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 11, 2024 14:47
Inactive
randimays
force-pushed
the
18765-cross-repo-style-cleanup
branch
from
September 13, 2024 15:54
db2ad71
to
3186dc6
Compare
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 13, 2024 15:59
Inactive
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 13, 2024 16:24
Inactive
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 13, 2024 21:03
Inactive
randimays
force-pushed
the
18765-cross-repo-style-cleanup
branch
2 times, most recently
from
September 18, 2024 16:10
625556b
to
9d9569a
Compare
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 18, 2024 16:19
Inactive
randimays
force-pushed
the
18765-cross-repo-style-cleanup
branch
from
September 18, 2024 20:30
9d9569a
to
2946466
Compare
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 18, 2024 20:35
Inactive
randimays
force-pushed
the
18765-cross-repo-style-cleanup
branch
from
September 18, 2024 20:50
2946466
to
44af7f2
Compare
va-vfs-bot
temporarily deployed
to
master/18765-cross-repo-style-cleanup/18765-cross-repo-style-cleanup
September 18, 2024 20:53
Inactive
randimays
force-pushed
the
18765-cross-repo-style-cleanup
branch
from
September 19, 2024 16:13
44af7f2
to
25aa23d
Compare
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
When content-build and vets-website were separated into their distinct repositories, styles were left behind in vets-website that applied to content-build selectors. Similarly, content-build and vets-website have some elements that share style declarations in vets-website.
After a recent prod issue and post mortem, Micah (DST) made a spreadsheet of class names that have crossover between repos: https://dsva.slack.com/archives/C06V7AAFVH7/p1722024302075569
Related issue(s)
Testing done
I duplicated Micah's spreadsheet to track what action we can take for each cross-referenced class name: https://docs.google.com/spreadsheets/d/1fsrAN3VFHASZ34UvTCBbvBoPF9FPda-YB07NOZ5nZyM/edit?usp=sharing
When appropriate, I:
🍎 moved VW styles to CB that were not being referenced otherwise in VW
🍌 deleted CB or VW class names with no style declarations anywhere
🍇 replaced the class name with a VADS / design system class
Here are links to DSVA searches to show how the classes are used and URLs that can be used to validate on this branch and in production that the proper changes have been made.
☑️
/outreach-and-events/outreach-materials/
🍇 asset-body-text: Replaced the class with
vads-u-padding-bottom--1p5
since the class was only adding the same padding.🍎 asset-body-wrap, asset-component-library, asset-head-wrap, asset-body-wrap, card-inside-wrap, no-results (This one is an ID), outreach-asset-form-filters
🍌 va-page-numbers
☑️
/boston-health-care/work-with-us/jobs-and-careers/nursing-careers/
🍎 bio-paragraph-image, circular-profile-image
☑️
/boston-health-care/about-us/leadership/
🍎 bio-image
☑️
/south-texas-health-care/
🍎 darken, duotone, lighten, region-list, vads-facility-hub-cta, when-where-width
🍌 event-date, event-time
🍇 vads-facility-hub-cta-last-line
☑️
/madison-health-care/events/72063/
🍎 event-detail-img, registration - This one has a ton of search results, you'll have to check the prod page to validate that not
🍇 va-c-social-icon
☑️
/south-texas-health-care/locations/audie-l-murphy-memorial-veterans-hospital/
🍎 facilities_health_service, inline-table-helper, operating-status-link - This would have to be simulated locally; it requires finding facilities that are closed or otherwise inoperative, vads-facility-hub-cta-circle, vads-facility-hub-cta-last-line
☑️ Home page
🍎 homepage-benefits-row, homepage-blog, homepage-blog__image
🍌 veteran-banner-container
🍎 show-on-focus, va-notice--banner - I added the
css-library
import to accommodate this one per DS recommendation☑️
/southeast-louisiana-health-care/staff-profiles/mark-morgan/
🍎 left-side-nav-title, person-profile-detail-page-image, va-c-margin-top--auto
☑️
/tuscaloosa-health-care/operating-status/
🍌 operating-status
🍎 table-of-contents
☑️
/initiatives/vote
🍎 va-c-blue-line, va-c-blue-line--large, va-u-background--gradiant-blue (also fixed spelling of "gradient")
🍇 va-u-text-transform--uppercase
☑️
/alexandria-health-care/stories/
🍎 va-facility-page
☑️
/resources
🍎 va-hide-on-print-view
☑️
/outreach-and-events/events
🍎 va-l-detail-page
☑️
/huntington-va-regional-benefit-office/
🍇 vamc-facility-expandable-alert
☑️ Couldn't find a test page for this one; not sure we have a prod example? It's for a sidebar I couldn't find rendering anywhere.
🍎 new-grid, sidenav-previous-page, va-c-facility-sidebar, va-drupal-sidebarnav
☑️ No test link in production. The template (situation_updates.drupal.liquid) does not have any prod content right now.
🍎 no-p-bottom-margin
☑️ No test link in production. The template (media_list_images.drupal.liquid) is not used in production.
🍎 media-list-images
🍇 va-c-position--absolute, va-c-position--relative, va-c-video
☑️ No test link in production. The template (facilities_events_toggle.drupal.liquid) is not used in production.
🍎 half-em-bottom-margin, no-left-button-right-radius-treatment, no-right-button-left-radius-treatment
☑️ No test link in production. The template (operation_status_information.drupal.liquid) is not used in production.
🍎 operating-status-flag, operating-status-flag-notice, operating-status-flag-warning, operating-status-flag-error
☑️ These are used in the home page template that we used while transitioning to the new home page design. That template (home.html) is not used in production.
🍎 homepage-benefits (This one is an ID), homepage-heading, homepage-hub, homepage-hub-container, homepage-image-wrapper, homepage-news, homepage-news-story-desc, homepage-news-story-title, homepage-popular (This one is an ID), hub-links-container, hub-links-list
🍌 homepage-button-icon, hub-links-row
☑️ No test link in production. These class names had a style declaration in vets-website but the class wasn't used in VW or CB.
🍌 vads-facility-hub-cta-arrow, vads-facility-hub-cta-label