mayflower-patternlab
mayflower-patternlab copied to clipboard
DP-5343 Callout Grid
Description
- Refactoring the Key Actions pattern to work within the Action Finder.
- Updated the Action Finder to use a Comp Heading and Key Actions
Related Issue / Ticket
https://jira.state.ma.us/browse/DP-5343
Steps to Test
- Compare http://localhost:3000/?p=organisms-action-finder to http://mayflower.digital.mass.gov/?p=organisms-action-finder
- Compare http://localhost:3000/?p=organisms-action-finder-without-background to http://mayflower.digital.mass.gov/?p=organisms-action-finder-without-background
- Note that nothing appears different.
Impacted Areas in Application
- Key Actions - hiding the heading with a new 'hiddenHeading` variable
- Key Actions - Has a new
idvariable - Action Finder - swapped out the heading for a Comp Heading (twig and json)
- Action Finder - changed the links to render using Key Actions
- Action Finder - added a labelledby attribute to the h3 headings.
@TODO
- Should eventually replace the hard coded
h3with a restyledComp Headingcontained in the Key Actions pattern
I think I've address all of the issues here. please feel free to review again