-
Notifications
You must be signed in to change notification settings - Fork 70
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
VAMC Detail page: adopt V1 and V3 components where components are not used #16999
Comments
I would estimate this ticket at a 5 since it's a relatively simple page, but there are a lot of components that need to be added, updated, and checked afterward. It is all static content and nothing too complicated, which is why I don't think it would be an 8 or higher. |
I struck out the featured content/summary box component update because we aren't able to do this - the content coming from drupal does not fit what the component needs. Full details of this issue in the comment here I also updated Link, Phone, and Process list because since this is CMS content, updating these may not be possible. |
Alert and button are already v3, I believe it happened with this PW ticket |
Telephone moved to #16148 |
@laflannery Where is the additional info component needed? I can't find anything about additional info on the linked pages. I see one additional info section that's in Also, not sure where we'd use the process list, it appears it is Drupal content you're probably talking about because most stuff (90%) on the Detail page is CMS content. Just for links and back-to-top this is likely a 3. |
Answers below @eselkin!
|
@laflannery Do you mean the "How do I talk to someone right now?" alert that has the fake expandable "Find out how to get support anytime, day or night." toggle that should be and additional info component, but is not. Let me look at the paragraph to see how the additional info gets processed. Ok, that alert is processed with the block alert ( |
There's a |
@omahane @davidmpickett is there some view or something where we can see if the entity_bundle |
@eselkin So the Detail page Content type is unique in that it has lots of optional paragraphs types that could be added. I don't think there is an easy way to get a report of which VAMC Detail pages use which paragraph types. But @omahane might have an idea for a magical View. A more likely path to testing would be to create a test VAMC Detail Page that uses 1 of each possible Paragraph type so you have an example that covers all the scnearios rather than trying to hunt for one in the wild. |
Not sure if this helps, but here's an example from PW of a page using the Process List in Drupal and the Corresponding FE. |
I just want to make sure we aren’t making this too complicated - I have already gone through the VAMC detail pages to determine what blocks/content can and cannot be added, that’s how this ticket was created. So that shouldn’t need to be done again I also created the Process list on a VAMC page in my previous comment and that’s what we should be using here. Content from a different page may not be exact so the first example would |
@laflannery sorry, I didn't see the process list there. I just was wondering if there was a location to test on a detail page in existance. You creating one is just as good! Thanks! The spanish translation summary really should just include the expandable additional info component because it's literally the same exact code. No idea why there's a duplicate of that block. Yes, that'd be included in that 5 estimate then. |
Can you add a link to that VAMC page to the ticket body under Process List (like you did for the video link example) so it's easy to find for QA & validation? |
Rather than divide this ticket to address only icon related things first, and the rest of componentizing later, we'll just do the components along with the icon work. |
For Additional Info & Process list: @laflannery can generate test content on staging and provide screenshot of the HTML markup from Preview, to make this easier. |
Screenshots added to description, For whomever picks this up, let me know if anything else is needed I can get you |
@laflannery I read through the comments but I'm not clear where we landed on a test page for process list. Do you know of a production page that uses the process list already? If not, I'll spin up a Tugboat and add one to an existing page. |
Sorry @randimays I had added screenshots of the markup I got from preview into the ticket description. There are production benefit detail pages (example) that use a process list but I don't know of a VAMC detail page that uses this currently. |
This will be posted for review today. It most likely won't make the production deploy, so it will carry over to tomorrow. |
Successfully validated in production. Closing! |
Description
VAMC Detail pages need the following updates to components:
Example pages:
Elements that are not using components that should be (Backlog)
TelephoneIf we are able to update to use the component we should. I know there are limitations with CMS content though.Where applicable, the(https://design.va.gov/components/telephone#aria-described-by) should be usedaria-describedby
[variant]Exts in phone numbers within the component are parsed correctlyFeatured contentIt's currently not using a component but the should be the v3 Summary box component should be used<h2>
and<p>
might be coming from separate Drupal fields but that's not the case, it's one rich text fieldNot in scope: V1 components that need to be upgraded: handled in separate tickets
AccordionAccordion sections are using the v1 component and need to be updated to v3AlertCurrently using the v1 component but needs to be updated to v3.ButtonIt is inside the alert and is currently using the v1 component but needs to be updated to v3.Acceptance Criteria
Accordion component has been updated to v3v3 Summary Box component has been addedAlert component has been updated to v3Button component has been updated to v3Team
Please check the team(s) that will do this work.
The text was updated successfully, but these errors were encountered: