support modern header footer
@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 }
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 81.25%. Comparing base (63545f3) to head (52ee035).
:warning: Report is 2654 commits behind head on dev.
:exclamation: 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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.