Skip to content

Conversation

czullu
Copy link

@czullu czullu commented Sep 7, 2025

@jansenbe implementation of #1690
Support for new Header and Footer settings
Support to Get available fonts in Branding Manager from Site, OutOfBox, Branding Center (Organization)
Support to Set Font to Site in Branding Manager for OutOfBox and Branding Center Fonts (Organization)

The Chrome properties are reflected as WebProperties:
"HeaderOverlayColor",
"HeaderOverlayOpacity",
"HeaderOverlayGradientDirection",
"HeaderColorIndexInLightMode",
"HeaderColorIndexInDarkMode",
"FooterAlignment",
"FooterOverlayColor",
"FooterOverlayOpacity",
"FooterOverlayGradientDirection",
"FooterColorIndexInLightMode",
"FooterColorIndexInDarkMode",
"FontOptionForSiteTitle",
"FontOptionForSiteNav",
"FontOptionForSiteFooterTitle",
"FontOptionForSiteFooterNav",
"FooterBackgroundImageUrl",
"FooterBackgroundImageFocalPoint",
"BackgroundImageUrl"

But have to be set as /_api/web/SetChromeOptions
{
"headerLayout": 4,
"headerEmphasis": 2,
"megaMenuEnabled": true,
"footerEnabled": true,
"footerLayout": 0,
"footerEmphasis": 0,
"hideTitleInHeader": false,
"logoAlignment": 1,
"footerAlignment": 0,
"footerOverlayColor": -1,
"footerOverlayOpacity": 0,
"footerOverlayGradientDirection": 0,
"headerOverlayColor": 1,
"headerOverlayOpacity": 54,
"headerOverlayGradientDirection": 0,
"fontOptionForSiteTitle": null,
"fontOptionForSiteNav": null,
"fontOptionForSiteFooterTitle": null,
"fontOptionForSiteFooterNav": null,
"horizontalQuickLaunch": true,
"headerColorIndexInLightMode": -1,
"headerColorIndexInDarkMode": -1,
"footerColorIndexInLightMode": -1,
"footerColorIndexInDarkMode": -1
}

christian zuellig added 5 commits September 5, 2025 17:15
"HeaderOverlayColor",
"HeaderOverlayOpacity",
"HeaderOverlayGradientDirection",
"HeaderColorIndexInLightMode",
"HeaderColorIndexInDarkMode",
"FooterAlignment",
"FooterOverlayColor",
"FooterOverlayOpacity",
"FooterOverlayGradientDirection",
"FooterColorIndexInLightMode",
"FooterColorIndexInDarkMode",
"FontOptionForSiteTitle",
"FontOptionForSiteNav",
"FontOptionForSiteFooterTitle",
"FontOptionForSiteFooterNav",

still to be implemented:
"FooterBackgroundImageUrl",
"FooterBackgroundImageFocalPoint",
"BackgroundImageUrl"
- set footer background image
- get fonts from site, branding center and OutOfTheBox

Open
- set font by id
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.25%. Comparing base (63545f3) to head (52ee035).
⚠️ Report is 2654 commits behind head on dev.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1691      +/-   ##
==========================================
- Coverage   82.42%   81.25%   -1.17%     
==========================================
  Files         416      637     +221     
  Lines       28590    45266   +16676     
  Branches        0     4750    +4750     
==========================================
+ Hits        23565    36783   +13218     
- Misses       5025     7087    +2062     
- Partials        0     1396    +1396     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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