Skip to content
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

Bugfix/#64: Replace old implementation to check empty regions with contrib module… #117

Closed
wants to merge 29 commits into from

Conversation

jclemmenb4y
Copy link
Collaborator

@jclemmenb4y jclemmenb4y commented Jul 1, 2024

This pull request relates to BOSA_0100-358 (JIRA issue) and replaces old implementation to check empty regions with contrib module "Twig Real Content".

Module "Twig Real Content" should also be added in OpenFed as declaring in Kiso's dependencies currently doesn't trigger the installation and doesn't enable the module (see https://www.drupal.org/node/2937955).

Function "has_region" declared in file "preprocess.utils.inc" might need to be kept currently to avoid issue with custom themes that override page.html.twig. What do you think @smillart ?

Sébastien Millart and others added 29 commits January 16, 2024 17:59
…e Sass Framework update

- Alignment classes
- Float clearing
- Invisible content & Screenreaders
# Conflicts:
#	css/theme/theme--kiso.css
#	kiso.libraries.yml
#	scss/config/_variable-overrides.scss
#	scss/theme/elements/_headings.scss
#          [*] fonts/font-awesome/fa-brands-400.ttf
#          [*] fonts/font-awesome/fa-brands-400.woff2
#          [*] fonts/font-awesome/fa-regular-400.ttf
#          [*] fonts/font-awesome/fa-regular-400.woff2
#          [*] fonts/font-awesome/fa-solid-900.ttf
#          [*] fonts/font-awesome/fa-solid-900.woff2
#          [*] fonts/font-awesome/fa-regular-400.ttf
#          [*] fonts/font-awesome/font-awesome.css
#          [+] fonts/font-awesome/fa-v4compatibility.ttf
#          [+] fonts/font-awesome/fa-v4compatibility.woff2
#          [-] fonts/font-awesome/fa-brands-400.eot
#          [-] fonts/font-awesome/fa-brands-400.svg
#          [-] fonts/font-awesome/fa-brands-400.woff
#          [-] fonts/font-awesome/fa-regular-400.eot
#          [-] fonts/font-awesome/fa-regular-400.svg
#          [-] fonts/font-awesome/fa-regular-400.woff
#          [-] fonts/font-awesome/fa-solid-900.eot
#          [-] fonts/font-awesome/fa-solid-900.svg
#          [-] fonts/font-awesome/fa-solid-900.woff
…ral rules from stylistic rules for the stylesheets (Baseline)
@jclemmenb4y jclemmenb4y requested a review from rutiolma July 1, 2024 12:34
Copy link
Collaborator

@smillart smillart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jclemmenb4y,
Your changes should be re-based on the 3.0.x (default) branch. The 3.1.x branch is a "beta" candidate for a "possible" new future release of Kiso with Openfed Next.

@@ -89,7 +85,7 @@
{{ page.breadcrumb }}
{% endblock %}

{% if has_navigation or has_complementary %}
{% if page.navigation|render is real_content %}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing test if complementary region is empty:

{% if page.navigation|render is real_content or page.complementary|render is real_content %}

@smillart smillart changed the title Replace old implementation to check empty regions with contrib module… Feature/#64: Replace old implementation to check empty regions with contrib module… Jul 4, 2024
@smillart smillart added the enhancement New feature or request label Jul 4, 2024
@smillart smillart added this to the Kiso (基礎) 3.0.3 milestone Jul 4, 2024
@smillart smillart linked an issue Jul 4, 2024 that may be closed by this pull request
@jclemmenb4y jclemmenb4y changed the base branch from 3.1.x to 3.0.x July 4, 2024 08:57
@smillart smillart changed the title Feature/#64: Replace old implementation to check empty regions with contrib module… Bugfix/#64: Replace old implementation to check empty regions with contrib module… Jul 4, 2024
@smillart smillart added bug Something isn't working and removed enhancement New feature or request labels Jul 4, 2024
@jclemmenb4y
Copy link
Collaborator Author

@smillart I've created another pull request based on branch 3.0.x, including the missing test for complementary region.
See #120

@jclemmenb4y jclemmenb4y closed this Jul 4, 2024
@jclemmenb4y jclemmenb4y deleted the feature/#64 branch July 4, 2024 09:13
@smillart smillart removed this from the Kiso (基礎) 3.0.3 milestone Jul 4, 2024
@smillart smillart removed the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants