Skip to content

fix: TRAC-296: Respect blog visibility setting in footer nav#3087

Merged
jairo-bc merged 2 commits into
canaryfrom
TRAC-296/fix/footer-blog-visibility
Jul 8, 2026
Merged

fix: TRAC-296: Respect blog visibility setting in footer nav#3087
jairo-bc merged 2 commits into
canaryfrom
TRAC-296/fix/footer-blog-visibility

Conversation

@jairo-bc

@jairo-bc jairo-bc commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What/Why?

Jira: TRAC-296

Blog visibility toggle in Control Panel (Storefront > Blogs) was not respected — the Blog link
always appeared in the storefront footer's "Navigate" section regardless of the setting.

Root cause: FooterSectionsFragment queries content.pages to build the footer's Navigate
links, but never requested isVisibleInNavigation, and Footer mapped every returned page
into a link unconditionally. Since isVisibleInNavigation is exposed per-page on the WebPage
interface (including BlogIndexPage), we now fetch it and filter hidden pages out before
rendering.

Testing

Before:
Screenshot 2026-07-08 at 13 06 22

After:
Screenshot 2026-07-08 at 13 13 55

Screenshot 2026-07-08 at 13 06 07

Migration

None.

@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
catalyst Ready Ready Preview, Comment Jul 8, 2026 11:17am

Request Review

@changeset-bot

changeset-bot Bot commented Jul 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0d1629d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Report

Comparing against baseline from 6184ef2 (2026-07-08).

No bundle size changes detected.

Footer "Navigate" section listed every page returned by content.pages
without checking isVisibleInNavigation, so the Blog link always showed
even when Blog visibility was turned off in Control Panel. Fetch
isVisibleInNavigation on each page node and filter hidden pages out
before rendering nav links.

Fixes TRAC-296
@jairo-bc jairo-bc changed the title TRAC-296: Respect blog visibility setting in footer nav fix: TRAC-296: Respect blog visibility setting in footer nav Jul 8, 2026
@jairo-bc jairo-bc force-pushed the TRAC-296/fix/footer-blog-visibility branch from 624d375 to ac4a87a Compare July 8, 2026 11:16
@jairo-bc jairo-bc marked this pull request as ready for review July 8, 2026 11:16
@jairo-bc jairo-bc requested a review from a team as a code owner July 8, 2026 11:16
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Unlighthouse Performance Comparison — Vercel

Comparing PR preview deployment Unlighthouse scores vs production Unlighthouse scores.

Summary Score

Aggregate score across all categories as reported by Unlighthouse.

Prod Desktop Prod Mobile Preview Desktop Preview Mobile
Score 90 92 91 94

Category Scores

Category Prod Desktop Prod Mobile Preview Desktop Preview Mobile
Performance 73 81 78 90
Accessibility 95 98 95 92
Best Practices 100 100 100 100
SEO 88 88 100 100

Core Web Vitals

Metric Prod Desktop Prod Mobile Preview Desktop Preview Mobile
LCP 4.9 s 5.0 s 3.3 s 3.5 s
CLS 0.037 0 0.04 0
FCP 1.2 s 1.2 s 1.2 s 1.1 s
TBT 0 ms 0 ms 10 ms 0 ms
Max Potential FID 40 ms 30 ms 80 ms 50 ms
Time to Interactive 4.9 s 5.1 s 4.5 s 3.6 s

Full Unlighthouse report →

@jairo-bc jairo-bc added this pull request to the merge queue Jul 8, 2026
Merged via the queue into canary with commit cb7d025 Jul 8, 2026
25 of 26 checks passed
@jairo-bc jairo-bc deleted the TRAC-296/fix/footer-blog-visibility branch July 8, 2026 15:01
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.

3 participants