: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { urls } from 'scenes/urls'
import { ActivityScope, ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'Notebooks',
activityDescribers: {
[ActivityScope.NOTEBOOK]: () =>
import('scenes/notebooks/Notebook/notebookActivityDescriber').then(
(module) => module.notebookActivityDescriber
),
},
scenes: {
ReusableWidget: {
name: 'Reusable widget',
import: () => import('./frontend/ReusableWidget/ReusableWidgetScene'),
projectBased: true,
activityScope: 'Notebook',
iconType: 'notebook',
},
},
routes: {
'/notebooks/widgets/:widgetId': ['ReusableWidget', 'reusableWidget'],
},
urls: {
notebooks: (tab?: 'widgets'): string => (tab ? `/notebooks?tab=${tab}` : '/notebooks'),
notebook: (shortId: string): string => `/notebooks/${shortId}`,
canvas: (): string => `/canvas`,
reusableWidget: (widgetId: string): string => `/notebooks/widgets/${widgetId}`,
},
fileSystemTypes: {
notebook: {
name: 'Notebook',
iconType: 'notebook',
href: (ref: string) => urls.notebook(ref),
filterKey: 'notebook',
},
},
treeItemsNew: [
{
path: `Notebook`,
type: 'notebook',
href: urls.notebook('new'),
iconType: 'notebook',
},
],
}