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-19805: Adds new statuses #19881

Merged

Conversation

omahane
Copy link
Contributor

@omahane omahane commented Nov 15, 2024

Description

Relates to #19805

Testing done

Manually

Screenshots

New statuses added

Screenshot 2024-11-15 at 06 49 20

POST API Queue with a new status

Screenshot 2024-11-15 at 06 49 43

QA steps

Confirm Operating Status changes with Vet Center - Outstation

  • Log in as an admin
  • Create a Vet Center - Outstation
  • Confirm that the Operating Status is set to "Normal services and hours"
  • Confirm that the following options available
    • Normal services and hours
    • Limited services and hours
    • Facility closed
    • Temporary facility closure
    • Temporary location
    • Virtual care only
    • Coming soon
    • Facility notice
  • Confirm that the Details text box does not show under the Operating status when the status is set to "Normal services and hours"
  • Choose "Limited services and hours", "Facility closed", "Temporary facility closure", "Temporary location", "Virtual care only", "Coming soon", and "Facility notice" in succession.
  • Confirm that the Details text box does show when any of those options are chosen.
  • Confirm that the Details text box is required when any of those options are chosen.

Add the additional statuses to facilities

  • Edit the Columbia VA Regional Benefit Office
  • Set the Operating status to "Temporary facility closure"
  • Add more information to Details
  • Save the node as Published
  • Edit the Escanaba Vet Center
  • Set the Operating status to "Temporary location"
  • Add more information to Details
  • Save the node as Published
  • Edit the Duluth Vet Center
  • Set the Operating status to "Virtual care only"
  • Add more information to Details
  • Save the node as Published
  • Edit the Newport VA Clinic
  • Set the Operating status to "Coming soon"
  • Add more information to Details
  • Save the node as Published

Check the POST API Queue

  • Go to the POST API Queue.
  • Confirm that the "Columbia VA Regional Benefit Office" queue item includes "operating_status":{"code":"TEMPORARY_CLOSURE"
  • Confirm that the "Escanaba Vet Center" queue item includes "operating_status":{"code":"TEMPORARY_LOCATION"
  • Confirm that the "Duluth Vet Center" queue item includes "operating_status":{"code":"VIRTUAL_CARE"
  • Confirm that the "Newport VA Clinic" queue item includes "operating_status":{"code":"COMING_SOON"

Check the Facilities Status Audit

  • Go to the Facilities Status Audit
  • Choose each of the operating statuses from the Operating status filter
  • Filter for each one
  • Confirm that the audit view is returning the appropriate facilities

Check VAMC System Operating Status IEF

  • Edit the Operating status | VA Boston health care
  • Scroll to Facility operating statuses
  • Edit the "Jamaica Plain VA Medical Center" status
  • Confirm that all seven statuses are available in the Status dropdown
  • Choose "Coming soon"
  • Click "Update facility operating status"
  • Save the Operating status node as Published
  • Go to the POST API Queue.
  • Confirm that the "Jamaica Plain VA Medical Center" queue item includes "operating_status":{"code":"COMING_SOON"
    As admin, check all of the Facilities to make sure that they all behave the same way.

Select Team for PR review

  • CMS Team
  • Public websites
  • Facilities
  • User support
  • Accelerated Publishing

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 15, 2024 12:51 Destroyed
Copy link

Checking composer.lock changes...

eselkin
eselkin previously approved these changes Nov 15, 2024
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.

This looks good to me

@omahane omahane requested a review from a team as a code owner November 15, 2024 21:32
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 15, 2024 21:32 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 15, 2024 21:32 Destroyed
Copy link

Checking composer.lock changes...

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 15, 2024 21:43 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 15, 2024 21:48 Destroyed
Copy link

Checking composer.lock changes...

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 15, 2024 22:00 Destroyed
@github-actions github-actions bot added the Facilities Facilities products (VAMC, Vet Center, etc) label Nov 15, 2024
jv-agile6
jv-agile6 previously approved these changes Nov 18, 2024
Copy link
Contributor

@jv-agile6 jv-agile6 left a comment

Choose a reason for hiding this comment

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

Followed QA testing steps to a successful conclusion. Reviewed config changes and additions to field.field.node.vet_center_outstation.field_operating_status_facility.yml and field.storage.node.field_operating_status_facility.yml. No defects found. Approval granted

@thejordanwood
Copy link

thejordanwood commented Nov 18, 2024

@omahane Followed QA steps and this is working as expected. I did notice that there are a few variations of the detail input field.

  1. This is the one I see on Columbia and Newport, which is the one I believe we should be going with. Edit: This is definitely the one we should go with because it aligns with the Figma design.
    Screenshot 2024-11-18 at 2 29 56 PM

  2. This is what I see when creating a new Vet Center - Outstation
    Screenshot 2024-11-18 at 2 30 36 PM

  3. This is what I see on Escanaba and Duluth.
    Screenshot 2024-11-18 at 2 32 13 PM

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 19, 2024 17:39 Destroyed
Copy link

Checking composer.lock changes...

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 19, 2024 17:50 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 19, 2024 18:11 Destroyed
Copy link

Checking composer.lock changes...

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 19, 2024 18:23 Destroyed
@omahane omahane requested a review from jv-agile6 November 19, 2024 18:42
jv-agile6
jv-agile6 previously approved these changes Nov 19, 2024
Copy link
Contributor

@jv-agile6 jv-agile6 left a comment

Choose a reason for hiding this comment

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

Followed QA steps to successful resolution. Reviewed yml files for defects and found none. Approval granted

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 19, 2024 20:40 Destroyed
Copy link

Checking composer.lock changes...

@omahane omahane changed the base branch from main to integration-operating-statuses November 19, 2024 20:46
@omahane omahane requested review from eselkin and jv-agile6 November 19, 2024 20:46
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 19, 2024 20:53 Destroyed
@va-cms-bot
Copy link
Collaborator

Accessibility Violations Found:

[
  {
    "route": "/test-data-et",
    "id": "button-name",
    "impact": "critical",
    "tags": [
      "cat.name-role-value",
      "wcag2a",
      "wcag412",
      "section508",
      "section508.22.a",
      "ACT",
      "TTv5",
      "TT6.a"
    ],
    "description": "Ensures buttons have discernible text",
    "help": "Buttons must have discernible text",
    "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/button-name?application=axeAPI",
    "nodes": [
      {
        "any": [
          {
            "id": "button-has-visible-text",
            "data": null,
            "relatedNodes": [],
            "impact": "critical",
            "message": "Element does not have inner text that is visible to screen readers"
          },
          {
            "id": "aria-label",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-label attribute does not exist or is empty"
          },
          {
            "id": "aria-labelledby",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
          },
          {
            "id": "non-empty-title",
            "data": {
              "messageKey": "noAttr"
            },
            "relatedNodes": [],
            "impact": "serious",
            "message": "Element has no title attribute"
          },
          {
            "id": "presentational-role",
            "data": null,
            "relatedNodes": [],
            "impact": "minor",
            "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
          }
        ],
        "all": [],
        "none": [],
        "impact": "critical",
        "html": "<button class=\"proofing-element-help\" role=\"tooltip\" data-proofing-help-title=\"About 'Page introduction' field\" data-proofing-help=\"Add an introduction that helps visitors understand if information on the page is relevant to them.\">
          <span aria-hidden=\"true\">i</span>
        </button>",
        "target": [
          ".field--name-field-intro-text-limited-html > .field__label > .proofing-element-help[role=\"tooltip\"]"
        ],
        "failureSummary": "Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element has no title attribute
  Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
      },
      {
        "any": [
          {
            "id": "button-has-visible-text",
            "data": null,
            "relatedNodes": [],
            "impact": "critical",
            "message": "Element does not have inner text that is visible to screen readers"
          },
          {
            "id": "aria-label",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-label attribute does not exist or is empty"
          },
          {
            "id": "aria-labelledby",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
          },
          {
            "id": "non-empty-title",
            "data": {
              "messageKey": "noAttr"
            },
            "relatedNodes": [],
            "impact": "serious",
            "message": "Element has no title attribute"
          },
          {
            "id": "presentational-role",
            "data": null,
            "relatedNodes": [],
            "impact": "minor",
            "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
          }
        ],
        "all": [],
        "none": [],
        "impact": "critical",
        "html": "<button class=\"proofing-element-help\" role=\"tooltip\" data-proofing-help-title=\"About 'Generate a table of contents from major headings' field\" data-proofing-help=\"By checking this box, all h2's below this point on the page will be linked with with anchor links. This helps users navigate content on very long pages. Do not check this box unless there is at least 2 h2's on the page.\">",
        "target": [
          ".field--name-field-table-of-contents-boolean > .field__label > .proofing-element-help[role=\"tooltip\"]"
        ],
        "failureSummary": "Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element has no title attribute
  Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
      },
      {
        "any": [
          {
            "id": "button-has-visible-text",
            "data": null,
            "relatedNodes": [],
            "impact": "critical",
            "message": "Element does not have inner text that is visible to screen readers"
          },
          {
            "id": "aria-label",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-label attribute does not exist or is empty"
          },
          {
            "id": "aria-labelledby",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
          },
          {
            "id": "non-empty-title",
            "data": {
              "messageKey": "noAttr"
            },
            "relatedNodes": [],
            "impact": "serious",
            "message": "Element has no title attribute"
          },
          {
            "id": "presentational-role",
            "data": null,
            "relatedNodes": [],
            "impact": "minor",
            "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
          }
        ],
        "all": [],
        "none": [],
        "impact": "critical",
        "html": "<button class=\"proofing-element-help\" role=\"tooltip\" data-proofing-help-title=\"About 'Main content' field\" data-proofing-help=\"The main body of the page, which appears below the featured content.\">
          <span aria-hidden=\"true\">i</span>
        </button>",
        "target": [
          "button[data-proofing-help-title=\"About 'Main content' field\"]"
        ],
        "failureSummary": "Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element has no title attribute
  Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
      }
    ]
  }
]

Copy link
Contributor

@jv-agile6 jv-agile6 left a comment

Choose a reason for hiding this comment

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

Reviewed yml changes to label and description on field.field.node.vet_center.field_operating_status_more_info.yml. No defects in code identified. Approval granted

Comment on lines 7 to 16
- node.type.vba_facility
- node.type.vet_center
module:
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.vba_facility.field_operating_status_more_info
id: node.vet_center.field_operating_status_more_info
field_name: field_operating_status_more_info
entity_type: node
bundle: vba_facility
bundle: vet_center
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious about the vet_center settings in the vba file. Is that correct? I imagine it is, but just thought I'd double check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. That was a copy/paste error. I caught it. Thanks, @eselkin

@omahane omahane merged commit 5edfefe into integration-operating-statuses Nov 20, 2024
19 checks passed
@omahane omahane deleted the VACMS-19805-new_operating-statuses branch November 20, 2024 01:20
omahane added a commit that referenced this pull request Dec 18, 2024
* VACMS-19805: Adds new statuses

* VACMS-19805: Brings Vet Center - Outstation in line with other facilities

* Revert "VACMS-19805: Brings Vet Center - Outstation in line with other facilities"

This reverts commit 1f15486.

* VACMS-19805: Removes non-relevant change

* VACMS-19805: Aligning more info label and help

* VACMS-19805: Reverts changes to VBA

* VACMS-19805: Updates operating status more info to match others.

Co-authored-by: Christian Burk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Facilities Facilities products (VAMC, Vet Center, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants