What problem does it solve?
PostHog scenes need a consistent Mac-style menu bar above the SceneTitleSection, but without shared conventions each scene ends up with inconsistent menu placement, destructive action styling, and broken keyboard navigation or text inputs.
Core Features & Use Cases
- Menu taxonomy: Defines the canonical File, Edit, View, Metadata, and Staff only menus with rules for item ordering, separators, and destructive action placement.
- Component primitives: Documents SceneMenuBar components including menus, submenus, checkbox and radio items, popovers for rich inputs, and shortcut hints.
- Wiring rules: Covers feature flag gating via SCENE_MENU_BAR, optimistic debounced saves with kea listeners, empty menu handling, and layout-aware bleed behavior.
- Use Case: When migrating a scene like Feature Flags to the new menu bar, follow the audit checklist to map every ScenePanel item to the correct menu with proper destructive variants, opensFloatingUi affordances, and access control wrappers.
Quick Start
Ask the AI to add a new menu item to a scene's SceneMenuBar following the documented conventions for menu placement and destructive styling.