Closed laflannery closed 5 months ago
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
Accordions are also using v3 already
I will try to track down the ticket/s where this happened
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 https://www.va.gov/boston-health-care/contact-us/
for FOIA requests, but that's drupal wysiwyg content.
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!
For the additional info component:
trigger
prop in the component and then the Text as the rest of the stuff
FE
(No idea why in the word the code says spanish translation)
Drupal
And then I sort of have the same thought for the Process list - it's not within a wysiwyg but it's actually a separate block that editors would add. Can we take the pieces of this block and put them into the correct places into the component? Do we have enough separate pieces coming out of Drupal for this?
@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 (src/site/blocks/alert.drupal.liquid
) not the paragraph alert. So that just needs to get updated to use the additional info component. Not too hard.
There's a paragraphs/process
which I'm guessing is supposed to be a process list but not sure. It would not be that hard to convert. Though with the prior change and this change would likely be at least a 5 in terms of checking we aren't breaking things and that they look ok.
There's a
paragraphs/process
which I'm guessing is supposed to be a process list but not sure. It would not be that hard to convert. Though with the prior change and this change would likely be at least a 5 in terms of checking we aren't breaking things and that they look ok.
@omahane @davidmpickett is there some view or something where we can see if the entity_bundle process
is getting used on a detail page somewhere?
paragraphs/spanish_translation
content as well?@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 Probably be best
@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.
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 Probably be best
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)
aria-describedby
[variant]~(https://design.va.gov/components/telephone#aria-described-by) 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
Acceptance Criteria
Team
Please check the team(s) that will do this work.