: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 { FileSystemIconType, ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'
import { FileSystemIconColor, ProductManifest } from '../../frontend/src/types'
export const manifest: ProductManifest = {
name: 'Early access features',
scenes: {
EarlyAccessFeatures: {
name: 'Early access features',
import: () => import('./frontend/EarlyAccessFeatures'),
projectBased: true,
description: 'Allow your users to individually enable or disable features that are in public beta.',
iconType: 'early_access_feature',
docsHref: 'https://posthog.com/docs/feature-flags/early-access-feature-management',
},
EarlyAccessFeature: {
name: 'Early access feature',
import: () => import('./frontend/EarlyAccessFeature'),
projectBased: true,
},
},
routes: {
// nosemgrep: frontend-route-hyphen -- shipped app URL, existing links point here
'/early_access_features': ['EarlyAccessFeatures', 'earlyAccessFeatures'],
// nosemgrep: frontend-route-hyphen -- shipped app URL, existing links point here
'/early_access_features/:id': ['EarlyAccessFeature', 'earlyAccessFeature'],
},
redirects: {},
urls: {
earlyAccessFeatures: (): string => '/early_access_features',
earlyAccessFeature:
/** @param id A UUID or 'new'. ':id' for routing. */
(id: string): string => `/early_access_features/${id}`,
},
fileSystemTypes: {
early_access_feature: {
name: 'Early access feature',
iconType: 'early_access_feature' as FileSystemIconType,
href: (ref: string) => urls.earlyAccessFeature(ref),
listHref: () => urls.earlyAccessFeatures(),
iconColor: [
'var(--color-product-early-access-features-light)',
'var(--color-product-early-access-features-dark)',
],
filterKey: 'early_access_feature',
},
},
treeItemsNew: [
{
path: `Early access feature`,
type: 'early_access_feature',
href: urls.earlyAccessFeature('new'),
iconType: 'early_access_feature' as FileSystemIconType,
iconColor: [
'var(--color-product-early-access-features-light)',
'var(--color-product-early-access-features-dark)',
] as FileSystemIconColor,
},
],
treeItemsProducts: [
{
path: 'Early access features',
intents: [ProductKey.EARLY_ACCESS_FEATURES],
category: ProductItemCategory.PRODUCT_ENGINEERING,
type: 'early_access_feature',
href: urls.earlyAccessFeatures(),
searchKeywords: ['beta', 'waitlist', 'opt-in'],
iconType: 'early_access_feature' as FileSystemIconType,
iconColor: [
'var(--color-product-early-access-features-light)',
'var(--color-product-early-access-features-dark)',
] as FileSystemIconColor,
sceneKey: 'EarlyAccessFeatures',
},
],
}