:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Side panel agent guide (frontend/src/layout/navigation-3000/sidepanel)
The side panel is the right-hand panel with tabs for PostHog AI, Info, Notebooks, Discussion, Activity, Access control and Support.
sidePanelLogic.tsx decides which tabs a scene gets.
Under today-rail-nav, several tabs are on their way out
The today-rail-nav flag gates a redesign of the whole web app UI.
Under that flag the side panel shrinks, and its tabs move to other surfaces:
- Info renders the scene's
ScenePanel. It is deprecated and will be removed, and theSceneMenuBartakes over its actions. Seelayout/scenes/AGENTS.mdwhen you change a scene's actions. - Support opens from the menu bar's Help menu instead of a tab bar button.
- Notebooks and Discussion are hidden from the tab bar (
visibleTabs). Their panels still open from their existing entry points, such as a comment button or "Add to notebook". They will be removed from the side panel or moved; the new home is not decided yet. - Adding to a notebook from outside a notebook is deprecated. Under the flag,
NotebookSelectButton(person pages, person hover card, group pages) andSceneAddToNotebookDropdownMenurender nothing, and the replay menu and the insight, feature flag and cohort menu bars leave their entry out. Inside a notebook the button stays. A finished quill picker,scenes/notebooks/NotebookSelectButton/QuillNotebookSelectButton, is kept but not rendered. If someone asks to bring it back, remove those gates and render that component instead of building a new one.
Do not build new features on the Info, Notebooks or Discussion tabs. A change to them must keep working with the flag off, because the current UI still ships them.