-
Notifications
You must be signed in to change notification settings - Fork 4
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
OEL-1618: Upgrade BCL to 0.23.0. #144
Conversation
0c0aed3
to
c19217e
Compare
This seems to be ok. Let's:
Also, after changing card h* tags in oebt to h1, we need to update the tests here in whitelabel. |
879d816
to
f653d87
Compare
I notice we have a bunch of templates where we put custom hx elements with
We need to compare these to netlify. In most cases I checked, the hx tags in netlify don't have the fw-bold class. We could also consider, instead of having custom title elements, to use the new option of sending the title as a parameter to the pattern or bcl template. Unfortunately the patterns currently do not support this option. TBD if we do this here or in a follow-up issue. |
Conclusion: Fix these in the same issue. |
aaeec65
to
775b6ab
Compare
modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/ContentRowTest.php
Show resolved
Hide resolved
I listed 6 templates above. I see only 2 of them were changed. |
84a347e
to
639905c
Compare
@escuriola And now project has the wrong heading fonts! |
content.oe_sc_event_dates|field_value, | ||
], | ||
attributes: attributes, | ||
}) }} |
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.
Note to 2nd reviewer:
- The article tag is now included in card pattern.
- Passing 'attributes' to the card pattern means that all the entity attributes will now be on the card.
And list page too - netlify has h2 for heading on top of the results. also search page - netlify has h2 for heading on top of the results. Perhaps there is more. |
{%- endset -%} | ||
{% include '@oe-bcl/bcl-heading/heading.html.twig' with { | ||
title: _label, | ||
title_tag: 'h2', |
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.
h2 is the default, we can omit it.
Not a blocker though.
templates/overrides/search/block--facets-summary-block.html.twig
Outdated
Show resolved
Hide resolved
modules/oe_whitelabel_list_pages/tests/src/Functional/ListPagesTest.php
Outdated
Show resolved
Hide resolved
templates/overrides/search/block--facets-summary-block.html.twig
Outdated
Show resolved
Hide resolved
72883c8
to
e298c73
Compare
…heading to last changes and fix testing.
… and ContentRow paragraphs.
@@ -33,7 +33,7 @@ protected function getAssertions($variant): array { | |||
], |
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.
No description provided.