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

VBA template: adopt V1 and V3 components where components are not used #17095

Closed
1 of 11 tasks
laflannery opened this issue Jan 30, 2024 · 18 comments
Closed
1 of 11 tasks
Assignees
Labels
accessibility Issues related to accessibility CY24-Q2 Calendar year Q2 2024 priority Facilities Facilities products (VAMC, Vet Center, etc) Public Websites Scrum team in the Sitewide crew Regional office CMS managed VBA product owned by the Facilities team sitewide VA.gov frontend CMS team practice area VBA for VBA facilities that are not Regional Offices

Comments

@laflannery
Copy link
Contributor

laflannery commented Jan 30, 2024

Description

The VBA needs the following updates to components:

Cleveland VA Regional Benefit Office (This is a tugboat)

Elements that are not using components that should be

Updated 3/20

Alert - Expandable
I believe the Operating status alert should work like Vet Center not VAMC? Right now it's like VAMC and linking to a 404 Operating Status page. I think it should be a Alert-expandable component and not link to a separate page.

  1. Telephone
  2. Spotlights

Future future state:
Screenshot 2024-03-22 at 12 04 32 PM

Engineering notes

We will adapt spotlights on other products to use the card component for spotlights as well. Anything we do here could be reusable, if we're thoughtful about implementation being reusable / extensible.

Acceptance Criteria

  • Spotlights on use card component. Cases to handle:
    • National and local spotlights
    • any standard link in the CTA uses action link class
    • any email in the CTA is an email link (no component available)
    • any phone number in the CTA, if possible, use the telephone component. If Drupal updates block this / make it hard, add a comment and treat it as a standard link.
    • without CTA
    • Any link or phone number in the description will not use a component
  • Alert-expandable component has been added
  • Update and run existing test(s).
  • If additional tests are needed, stub a ticket to note this for future work.
  • Requires accessibility review
@laflannery laflannery added Needs refining Issue status VA.gov frontend CMS team practice area accessibility Issues related to accessibility VBA for VBA facilities that are not Regional Offices Facilities Facilities products (VAMC, Vet Center, etc) labels Jan 30, 2024
@laflannery
Copy link
Contributor Author

@xiongjaneg I did a component review of VBA when I was reviewing Max's PR this morning. There are some updates we can do if we can fit them in with the current work I just don't know what epic to put this in

@xiongjaneg
Copy link
Contributor

xiongjaneg commented Jan 30, 2024

@laflannery How about #14933 (centralized content) for now? Or #14957 (regional subsections) is rolling over.

@laflannery
Copy link
Contributor Author

@xiongjaneg I added the phone number update to #14957 because that made sense and that work is being done now. The other 2 (breadcrumbs and operating status seemed out of scope?) so I wonder if this ticket should just be either pulled in separately or we can work those in if/as they come up?

@xiongjaneg
Copy link
Contributor

xiongjaneg commented Jan 30, 2024

@laflannery I'll stub a ticket for those separately. > #17103 for your edits/comments.

@maxx1128
Copy link

I would estimate this ticket at a 3 since the larger number of components to update increases the scope and number of elements to check.

@mmiddaugh
Copy link
Contributor

Is there anything remaining to be done in this issue @maxx1128 @eselkin ?

@xiongjaneg xiongjaneg removed the Needs refining Issue status label Feb 28, 2024
@aklausmeier
Copy link

aklausmeier commented Mar 20, 2024

We need to include any elements that should be using components but are not as it will become a staging blocker flag.

These should use the cards component. @thejordanwood is updating design to match design system card component.

image

@laflannery
Copy link
Contributor Author

@mmiddaugh I reviewed the current state of VBA and confirmed that there were still a couple instances of the phone number that needed some tweaks. I have updated the ticket description with those specific instances as well as the new spotlight updates from Amanda

@aklausmeier
Copy link

updated ticket with a link to the finalized annotated Figma design

@jilladams jilladams changed the title Update VBA template with components Update VBA template with components (v1) Mar 27, 2024
@jilladams jilladams changed the title Update VBA template with components (v1) VBA template: adopt V1 and V3 components where components are not used Mar 27, 2024
@davidmpickett davidmpickett added the Regional office CMS managed VBA product owned by the Facilities team label Apr 3, 2024
@laflannery
Copy link
Contributor Author

Telephone moved to #16148

@davidmpickett davidmpickett added the CY24-Q2 Calendar year Q2 2024 priority label Apr 11, 2024
@eselkin
Copy link
Contributor

eselkin commented Apr 24, 2024

Moving to cards is a 3. Moving to action links for some types of links and statements of type of email or phone links makes it a 5. Moving just to action links is a 3 still if not differentiating link types.

@jilladams
Copy link
Contributor

Final answer: 3. Because: right now we're moving spotlights to a card component, and all CTAs will regular links.

In future future state: we will do Spotlight Drupal work on fields, and in FE will then split links into some action links, some not.

@jilladams
Copy link
Contributor

@eselkin Laura found that the Service Locations also are not using the card component on VBA templates. That won't block SL launch, but: noting that it's now included in the ticket here to update anything possible on VBA to use components. Please update estimate, if it changes this from a 3.

@jilladams jilladams added the Public Websites Scrum team in the Sitewide crew label May 1, 2024
@jtmst jtmst self-assigned this May 6, 2024
@laflannery
Copy link
Contributor Author

laflannery commented May 9, 2024

Note in reference to @jilladams's comment that we included Service locations to update to the Card component:

I have now removed this because with PW help Josh got to this sooner that we anticipated and mucking around with Service Locations a few days before we planned to launch seemed like a bad plan. So I pulled that out into it's own ticket. For more context/decision see slack thread

@davidmpickett
Copy link
Contributor

@eselkin In order to Verify this on SL Tugboat, we'll need to rebase department-of-veterans-affairs/content-build#1912 and then rerelease content yes?

@laflannery
Copy link
Contributor Author

We don't need to have this on the SL integration branch - we can just preview on staging or prod

@laflannery
Copy link
Contributor Author

I previewed in Prod and there isn't any space between the spotlights when there are multiple
Screenshot 2024-05-10 at 4 38 47 PM

If it helps determine the spacing/classes needed, we have this on Vet Centers already with the proper spacing for when there are 1, 2, or 3 spotlights present:

@laflannery
Copy link
Contributor Author

Confirmed on Prod preview:
Screenshot 2024-05-16 at 9 24 48 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Issues related to accessibility CY24-Q2 Calendar year Q2 2024 priority Facilities Facilities products (VAMC, Vet Center, etc) Public Websites Scrum team in the Sitewide crew Regional office CMS managed VBA product owned by the Facilities team sitewide VA.gov frontend CMS team practice area VBA for VBA facilities that are not Regional Offices
Projects
None yet
Development

No branches or pull requests

9 participants