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

VACMS 18326 content-build fontawesome removal #2133

Merged
merged 5 commits into from
Jun 20, 2024

Conversation

eselkin
Copy link
Contributor

@eselkin eselkin commented Jun 15, 2024

Summary

  • Removes fontawesome and replaces with va-icon
  • Sitewide Facilities

Related issue(s)

Testing done

  • Checked manually. Forced display of some of the features locally to expose (could not find example of staff_profile without a photo)
  • Check manually on tugboat (will try to create a staff profile with no image)

Screenshots

Staff Profile without images with PR
Staff Profiles past - fontawesome Screenshot 2024-06-15 at 4 31 48 PM
(outdated should be removed)Operation Status page - old Screenshot 2024-06-18 at 4 10 44 PM Screenshot 2024-06-18 at 4 10 32 PM
(outdated should be removed)Operation Status page - with PR (follows pattern from operating status page) Screenshot 2024-06-18 at 4 10 17 PM Screenshot 2024-06-18 at 4 10 05 PM
## What areas of the site does it impact?

(Describe what parts of the site are impacted if code touched other areas)

Acceptance criteria

Quality Assurance & Testing

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Linting warnings have been addressed
  • Documentation has been updated (link to documentation *if necessary)
  • Screenshot of the developed feature is added
  • Accessibility testing has been performed

Error Handling

  • Browser console contains no warnings or errors.
  • Events are being sent to the appropriate logging solution
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable)

Authentication

  • Did you login to a local build and verify all authenticated routes work as expected with a test user

⚠️ Team Sites (only applies to modifications made to the VA.gov header) ⚠️

  • The header does not contain any web-components
  • I used the proxy-rewrite steps to test the injected header scenario
  • I reached out in the #sitewide-public-websites Slack channel for questions

Requested Feedback

Check that in conjunction with vets-website PR of same name that Staff profiles without photos show new va-icon and that icon is centered in gray circle. Check that Operating status page shows normal text for normal notices and slim alerts for all others.

@va-vfs-bot va-vfs-bot temporarily deployed to master/VACMS-18326-remove-remaining-fontawesome-tags/VACMS-18326-remove-remaining-fontawesome-tags June 15, 2024 22:44 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/VACMS-18326-remove-remaining-fontawesome-tags/VACMS-18326-remove-remaining-fontawesome-tags June 16, 2024 06:05 Inactive
@eselkin eselkin marked this pull request as ready for review June 18, 2024 23:09
@eselkin eselkin requested review from a team as code owners June 18, 2024 23:09
Copy link
Collaborator

@va-vfs-bot va-vfs-bot left a comment

Choose a reason for hiding this comment

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

Icon found

Icons can be decorative, but sometimes they are used to convey meaning. If there are any semantics associated with an icon, those semantics should also be conveyed to a screen reader.

What you can do

Review the markup and see if the icon provides information that isn't represented textually, or wait for a VSP review.

Note:

Font Awesome is deprecated. Please use va-icon instead. For more information, visit the migration documentation: Migrate from font awesome to va-icon

@@ -1,19 +1,19 @@
{% if fieldOperatingStatusFacility == 'notice' %}
<span class="operating-status-flag operating-status-flag-notice operating-status usa-alert usa-alert-info background-color-only vads-u-margin-top--1 vads-u-padding-y--1 vads-u-padding-x--1p5">
<i class="fa fa-info-circle" aria-hidden="true"></i>
<va-icon icon="info" size="3" class="os-icon"></va-icon>
Copy link
Collaborator

Choose a reason for hiding this comment

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

icon found

Facility notice
<i class="fa fa-chevron-right vads-u-padding-left--0p5" aria-hidden="true"></i>
<va-icon icon="chevron_right" size="3" class="os-chevron-right vads-u-padding-left--0p5"></va-icon>
Copy link
Collaborator

Choose a reason for hiding this comment

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

icon found

</span>
{% elsif fieldOperatingStatusFacility == 'limited' %}
<span class="operating-status-flag operating-status-flag-warning operating-status usa-alert usa-alert-warning background-color-only vads-u-margin-top--1 vads-u-padding-y--1 vads-u-padding-x--1p5">
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
<va-icon icon="warning" size="3" class="os-icon"></va-icon>
Copy link
Collaborator

Choose a reason for hiding this comment

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

icon found

Limited services and hours
<i class="fa fa-chevron-right vads-u-padding-left--0p5" aria-hidden="true"></i>
<va-icon icon="chevron_right" size="3" class="os-chevron-right vads-u-padding-left--0p5"></va-icon>
Copy link
Collaborator

Choose a reason for hiding this comment

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

icon found

</span>
{% elsif fieldOperatingStatusFacility == 'closed' %}
<span class="operating-status-flag operating-status-flag-error operating-status usa-alert usa-alert-error background-color-only vads-u-margin-top--1 vads-u-padding-y--1 vads-u-padding-x--1p5">
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
<va-icon icon="error" size="3" class="os-icon"></va-icon>
Copy link
Collaborator

Choose a reason for hiding this comment

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

icon found

Facility Closed
<i class="fa fa-chevron-right vads-u-padding-left--0p5" aria-hidden="true"></i>
<va-icon icon="chevron_right" size="3" class="os-chevron-right vads-u-padding-left--0p5"></va-icon>
Copy link
Collaborator

Choose a reason for hiding this comment

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

icon found

<span class="fas fa-user circular-profile-missing-icon"></span>
</span>
<div class="circular-profile-image bio-paragraph-image vads-u-position--relative vads-u-background-color--gray-lightest vads-u-display--block">
<div class="circular-profile-missing-icon"><va-icon size="6" icon="person"></va-icon></div>
Copy link
Collaborator

Choose a reason for hiding this comment

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

icon found

Copy link
Contributor

@chriskim2311 chriskim2311 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@randimays randimays left a comment

Choose a reason for hiding this comment

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

Added a question.

When filling out the PR template, could you please make sure any boilerplate is removed (including the message above the Summary heading)?

Copy link
Contributor

@randimays randimays left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jilladams jilladams left a comment

Choose a reason for hiding this comment

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

Approving on behalf of Facilities FE since it has FE code review and Daniel's out.

@eselkin eselkin merged commit 5547fe1 into main Jun 20, 2024
27 checks passed
@eselkin eselkin deleted the VACMS-18326-remove-remaining-fontawesome-tags branch June 20, 2024 15:25
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.

6 participants