Repository navigation
Description
The workflow
We had a plugin, Sidebar Sections, built on the experimental_sidebarNavigation slot. It grouped the sidebar entries into collapsible sections (seeded from marketplace categories or made by the user), with favorites, search and drag and drop. We run 40+ plugins, so without grouping the list gets long fast.
0.46 removed that slot along with experimental_useSidebarNavigation, experimental_SidebarNavigationIcon and experimental_useSidebarNavigationSplit. We get why the rail is now owned by bb, and sidebar.pluginPanelOrder / sidebar.visiblePluginPanels are a good start. But there's no longer any way for a plugin to know what's in the rail, so we can't build a grouped view on top of it.
What happens today
- A plugin can't list the rail entries (other plugins' panels or bb's own).
useBbNavigate().toPluginPanel()only opens the calling plugin's own panels, so a plugin can't open another plugin's panel.
What you would expect
In order of usefulness for us:
- A read-only hook such as
experimental_useNavigationEntries()that returns each rail entry: key (<pluginId>/<panelId>), title, icon, plugin id, whether it's visible, and its badge/accessory state if there is one. - A way to open any entry, e.g.
useBbNavigate().toPanel(pluginId, panelId, { split }). - Optionally, grouping built into the rail itself. With that, most people wouldn't need our plugin at all.
Context and alternatives
Our current workaround: for every plugin returned by plugins.list(), we import app.bundle.jsUrl and call its default.setup() with a fake builder that records the navPanel() calls. It's fast enough (about 25 ms for 45 plugins), but it depends on bundle internals (__bbPluginApp, setup) and re-runs other plugins' code, so we expect it to break at some point. To open a panel we push the URL with history.pushState + a popstate event, or click bb's hidden rail button.
Related: #5327 (accessories no longer shown in the rail). If the hook in point 1 exposed badge state, it would cover that case for us too. See also #1202 and #1852.
We can test a preview build if that helps.
Checks
- I searched open and closed issues for the same request.
- If an agent wrote this, the body ends with
> AGENT GENERATED.
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 12, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied and verified: Type: Feature · Priority: Medium · Effort: High. Added area labels:
plugins,ui. No existing classifications were replaced.The current SDK explicitly limits panel navigation to the calling plugin. Rail enumeration and cross-plugin navigation add public capabilities rather than repair a violated contract. Medium priority reflects a meaningful workflow limitation with workarounds; High effort reflects the new SDK contract and shared navigation design.
No reproduction report or pull request: this is a feature request requiring API/product design, not a safe simple bug fix.
Make the sidebar navigation a provider slot with rail and list placem…
SawyerHood commentedon Oct 19, 2026
Addressed by merged PR #5584: the supported sidebar navigation plugin API is restored, including navigation entries, visibility, badges, activation and split opening. Plugins can again implement the grouped navigation workflow described here without importing other plugins’ bundles or manipulating browser history. The implementation was confirmed on main during the backlog sweep. Closing at the maintainer’s request.