Skip to content

fix: Hide Integrations/Support/Changelog from tab bar#139

Merged
dcrawbuck merged 2 commits intomainfrom
dcrawbuck/nav-root-folders
Mar 13, 2026
Merged

fix: Hide Integrations/Support/Changelog from tab bar#139
dcrawbuck merged 2 commits intomainfrom
dcrawbuck/nav-root-folders

Conversation

@dcrawbuck
Copy link
Collaborator

@dcrawbuck dcrawbuck commented Mar 12, 2026

Summary

Integrations, Support, and Changelog are now accessible only via navbar links (top-right), not the horizontal tab bar or mobile dropdown. They remain as root folders with independent sidebars when navigated to directly.

Mobile dropdown icon sizing improved so SVGs fill their containers instead of appearing tiny.

Changes

  • Filter Integrations/Support/Changelog tabs via transform callback returning null
  • Add CSS to scale SVG icons in mobile dropdown containers from size-4 to full size-9

Testing

✓ Desktop tab bar no longer shows these sections
✓ Navbar links still accessible
✓ Direct navigation to /docs/integrations, /docs/support, /docs/changelog works
✓ Build passes

🤖 Generated with Claude Code


Note

Low Risk
Low risk UI/navigation tweaks plus a dev-mode docs build optimization; primary risk is unintentionally hiding or misrouting tabs.

Overview
Removes Integrations, Support, and Changelog from the horizontal docs tab bar/mobile dropdown by filtering them out in the sidebar tab transform, while keeping direct navigation to those routes working.

Improves local dev ergonomics and mobile UI polish by enabling async docs processing only in development (source.config.ts), adding a dev:port script, and forcing dropdown SVG icons to fill their containers via targeted CSS.

Written by Cursor Bugbot for commit 100d10d. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 12, 2026

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 100d10d Commit Preview URL

Branch Preview URL
Mar 13 2026, 09:01 PM

@dcrawbuck dcrawbuck changed the title Hide Integrations/Support/Changelog from tab bar fix: Hide Integrations/Support/Changelog from tab bar Mar 12, 2026
dcrawbuck and others added 2 commits March 13, 2026 13:54
…s only

These sections are now root folders that only show in the navbar header links, not in the desktop horizontal tab bar or mobile dropdown selector. Users can still navigate to them directly and see their own sidebars.

Also improved mobile dropdown icon sizing so SVG icons fill their containers.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Reuse the outer tabPrefix instead of redeclaring it inside the if block,
since url === option.url at that point.
@dcrawbuck dcrawbuck force-pushed the dcrawbuck/nav-root-folders branch from a1ad4da to 100d10d Compare March 13, 2026 20:55
@dcrawbuck dcrawbuck merged commit 77cd8b6 into main Mar 13, 2026
3 checks passed
@dcrawbuck dcrawbuck deleted the dcrawbuck/nav-root-folders branch March 13, 2026 21:07
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