Skip to content

Refine docs section navigation#203

Draft
dcrawbuck wants to merge 1 commit into
mainfrom
dcrawbuck/section-navigation-ux
Draft

Refine docs section navigation#203
dcrawbuck wants to merge 1 commit into
mainfrom
dcrawbuck/section-navigation-ux

Conversation

@dcrawbuck
Copy link
Copy Markdown
Collaborator

@dcrawbuck dcrawbuck commented May 20, 2026

Summary

  • Adds the Agents card to the home page Documentation section using the existing Agents icon.
  • Replaces the desktop docs header section row with a custom header that keeps Dashboard, Agents, Web Checkout, and Integrations as main selectors while grouping SDKs into one dropdown.
  • Preserves SDK-context links, fixes selector icon sizing/alignment on desktop and mobile, and shows SDK subtitles such as Beta and Deprecated in the desktop dropdown.

Validation

  • bun test
  • bun run build:cf

Note

Medium Risk
Medium risk because it replaces the docs header/tab rendering and alters tab filtering/URL rewriting for SDK-context navigation, which could misroute users or hide tabs if edge cases are missed.

Overview
Refactors docs navigation UI by introducing a custom DocsHeader slot for the notebook layout, replacing the default header row with a two-row header that keeps primary docs sections as tabs and groups all SDK tabs into a single dropdown (including tab descriptions/subtitles).

Updates the docs layout tab transform to preserve SDK-context deep links when switching SDKs, standardizes tab icon sizing/alignment, and removes Integrations from the base top nav/NAVBAR_ONLY_TABS filtering. Adds a new “Superwall Agents” card to the docs home page.

Reviewed by Cursor Bugbot for commit a7f591f. Bugbot is set up for automated code reviews on this repo. Configure here.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs-staging a7f591f Commit Preview URL

Branch Preview URL
May 20 2026, 11:47 PM

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.

1 participant