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

SDSS-1007: Add support for global footer variant. #724

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

joegl
Copy link
Contributor

@joegl joegl commented Oct 16, 2023

READY FOR REVIEW

Summary

  • In SDSS we use the "dark" variant for the Global Footer. We've had to hard-code this into an override in the page.html.twig file, because the option doesn't exist in the theme. This adds the option.

Review By (Date)

ASAP

Criticality

  • How critical is this PR on a 1-10 scale? Also see Severity Assessment.
  • E.g., it affects one site, or every site and product?

Urgency

  • Med/high

Review Tasks

Setup tasks and/or behavior to test

  1. Check out this branch
  2. Rebuild Cache and import config drush cr ; drush ci
  3. Verify global footer is red
  4. Navigate to theme settings page: /admin/appearance/settings/sdss_subtheme
  5. Change the Global Footer Variant from default to dark
  6. Verify the global footer is now dark and not red (may have to flush/rebuild cache)

Site Configuration Sync

  • Is there a config:export in this PR that changes the config sync directory? No

Front End Validation

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided? eg (unit, behat, or codeception)

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

Affected Projects or Products

  • Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

  • JIRA ticket(s)
  • Other PRs
  • Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)
  • Anyone who should be notified? (@mention them here)

Resources

Copy link
Contributor

@pookmish pookmish left a comment

Choose a reason for hiding this comment

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

Just a couple small tweaks

themes/stanford_basic/theme-settings.php Outdated Show resolved Hide resolved
themes/stanford_basic/stanford_basic.theme Outdated Show resolved Hide resolved
@joegl joegl requested a review from pookmish October 18, 2023 15:27
@pookmish pookmish merged commit 87cbd12 into 11.x Oct 18, 2023
4 checks passed
@pookmish pookmish deleted the SDSS-1007--add-global-footer-variant branch October 18, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants