-
Notifications
You must be signed in to change notification settings - Fork 0
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
DIGITAL-37: Migrate links paragraph templates. #48
base: develop
Are you sure you want to change the base?
Conversation
Adds paragraph_view_mode module. Migrate template for featured links field display. Adds separate templates for default and featured links views of resources. Updates featured links template with correct markup. Switch shortcodes to use theme templates for resources.
151716b
to
932bbc7
Compare
…-resource-paragraphs # Conflicts: # composer.lock # composer.log # web/themes/custom/digital_gov/digital_gov.theme
Adds a twig function templates can use to determine logo to use for a given URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the integration of the paragraphs on the topics node template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the paragraphs are not rendering on the topics
https://digital.gov/topics/accessibility/
Adds a twig function to get the favicon URI via Google.
…graphs' into feature/DIGITAL-37-resource-paragraphs
…-resource-paragraphs # Conflicts: # composer.lock # composer.log # web/modules/custom/ec_shortcodes/templates/ec-shortcodes-featured-resource-ext.html.twig # web/modules/custom/ec_shortcodes/templates/ec-shortcodes-featured-resource.html.twig # web/themes/custom/digital_gov/templates/node/node--topics.html.twig
@mattsqd do you need any more changes on this PR? |
Jira ticket
DIGITAL-37
Purpose
Adds paragraph_view_mode module.
Migrate template for featured links field display. Adds separate templates for default and featured links views of resources. Updates featured links template with correct markup. Switch shortcodes to use theme templates for resources.
It can be helpful to understand:
Includes the following PRs that must be merged first
Deployment and testing
Local Setup
bin/drush cim
to get paragraph type updatesbin/drush cr
to refresh theme template cacheQA/Testing instructions
Edit a topic page, add one or more internal and external resources
Confirm they use the expected HTML from the featured-links template
Override the title, summary for resources and confirm overrides are used
Checklist for the Developer
Checklist for the Peer Reviewers