feat: improve navigation#203
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
superwall-docs-staging | ac58b71 | Commit Preview URL Branch Preview URL |
May 23 2026, 12:52 AM |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ac58b710df
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| )} | ||
|
|
||
| <div className="flex flex-1 items-center justify-end md:gap-2"> | ||
| <div className="flex items-center gap-6 empty:hidden max-lg:hidden"> |
There was a problem hiding this comment.
Keep navbar-only sections reachable on small screens
This header now hides all navItems below the lg breakpoint (max-lg:hidden), but support and changelog are still filtered out of sidebar tabs in src/routes/$.tsx via NAVBAR_ONLY_TABS. On mobile/tablet widths, users can no longer navigate to those sections from the docs navigation UI (they’re neither in tabs nor in visible header links), which is a functional regression for those routes.
Useful? React with 👍 / 👎.
Summary
Validation
Note
Medium Risk
Medium risk because it replaces core docs header/tab rendering and tab URL/icon transformation, which could cause navigation or active-tab regressions across SDK-context routes.
Overview
Introduces a new custom
DocsHeaderfor the docs notebook layout, replacing the default header row to keep primary doc areas as top-level tabs while consolidating SDK sections into a single SDK dropdown (including tab descriptions/subtitles).Updates docs tab handling to preserve SDK-context subpaths when switching between SDK tabs, adjusts tab icon sizing/alignment via the sidebar tab
transform, and removes theIntegrationslink from the global nav config.Adds a new Superwall Agents card to the home docs overview grid.
Reviewed by Cursor Bugbot for commit ac58b71. Bugbot is set up for automated code reviews on this repo. Configure here.