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

VA-16652: separate phone extension for mental health numbers #1931

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

maxx1128
Copy link
Contributor

@maxx1128 maxx1128 commented Feb 26, 2024

Summary

A pull request for using VBA facility mental health numbers in the mental health service accordions was recently merged. However, the phone number component needs to have the phone number's extension separated from the number for it to display correctly.

Related issue(s)

Testing done

Locally, on tugboat build.

See the services at the Hot Springs VA Medical Center (no mental health phone number extension) and the Fayetteville VA Medical Center (has mental health phone number extension)

Screenshots

Data from the filter that confirms the extension is separated from the phone number as expected:

Screen Shot 2024-02-27 at 12 25 31 PM

The mental health phone number showing properly in the accordion.

Screen Shot 2024-02-27 at 12 25 48 PM

What areas of the site does it impact?

VBA Regional Facility pages, specifically only the main numbers for each service.

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)

@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from ecebfe5 to 156187f Compare February 26, 2024 20:21
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 26, 2024 20:52 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 156187f to 6c2e668 Compare February 26, 2024 23:33
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 26, 2024 23:52 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 6c2e668 to 7d91336 Compare February 27, 2024 01:13
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 27, 2024 01:19 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 7d91336 to 7d85a69 Compare February 27, 2024 13:55
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 27, 2024 14:00 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 7d85a69 to b717b21 Compare February 27, 2024 14:03
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 27, 2024 14:06 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from b717b21 to 2c74891 Compare February 27, 2024 15:38
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 27, 2024 15:48 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 2c74891 to 9a225ca Compare February 27, 2024 17:28
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 27, 2024 17:39 Inactive
Copy link
Contributor

@eselkin eselkin left a comment

Choose a reason for hiding this comment

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

Looks good to me. I wonder if we should be checking this on all numbers and not just this type of number.

@maxx1128 maxx1128 marked this pull request as ready for review February 27, 2024 17:58
@maxx1128 maxx1128 requested review from a team as code owners February 27, 2024 17:58
Copy link
Contributor

@eselkin eselkin left a comment

Choose a reason for hiding this comment

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

LGTM. I thought I reviewed with approval.

@jilladams
Copy link
Contributor

(@maxx1128 Agree with Eli that a spot check of other phone numbers would be wise, given our spaghetti pile of components / templates, to make sure our impact to VAMCs is known / understood.)

@maxx1128 maxx1128 requested a review from a team as a code owner February 28, 2024 14:36
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 28, 2024 14:47 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 389f052 to 9263953 Compare February 28, 2024 20:36
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 28, 2024 21:05 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from fca114a to 9263953 Compare February 29, 2024 14:28
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 29, 2024 14:34 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 9263953 to 5c8d04e Compare February 29, 2024 17:29
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.

ESLint is disabled

vets-website uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.

What you can do

See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.

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.

src/site/paragraphs/service_location.drupal.liquid Outdated Show resolved Hide resolved
src/site/paragraphs/service_location.drupal.liquid Outdated Show resolved Hide resolved
src/site/paragraphs/service_location.drupal.liquid Outdated Show resolved Hide resolved
src/site/paragraphs/service_location.drupal.liquid Outdated Show resolved Hide resolved
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 5c8d04e to 69ad722 Compare February 29, 2024 17:57
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/va-16652-mental-health-phone-numbers-2 February 29, 2024 18:33 Inactive
@maxx1128 maxx1128 force-pushed the va-16652-mental-health-phone-numbers-2 branch from 69ad722 to a91705a Compare March 1, 2024 18:03
@maxx1128 maxx1128 merged commit 6ec26ad into main Mar 4, 2024
22 checks passed
@maxx1128 maxx1128 deleted the va-16652-mental-health-phone-numbers-2 branch March 4, 2024 15:05
reiting pushed a commit that referenced this pull request Mar 5, 2024
* VA-16652: Add liquid filter for phone extensions

* VA-16652: Use liquid filter for VBA phone numbers
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.

5 participants