mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Allow users to select which navigation items to display when creating or editing a share. Options include traffic, behavior, and growth sections with checkboxes for each nav item (excluding segments/cohorts). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
764 B
TypeScript
30 lines
764 B
TypeScript
export const SHARE_NAV_ITEMS = [
|
|
{
|
|
section: 'traffic',
|
|
items: [
|
|
{ id: 'overview', label: 'overview' },
|
|
{ id: 'events', label: 'events' },
|
|
{ id: 'sessions', label: 'sessions' },
|
|
{ id: 'realtime', label: 'realtime' },
|
|
{ id: 'compare', label: 'compare' },
|
|
{ id: 'breakdown', label: 'breakdown' },
|
|
],
|
|
},
|
|
{
|
|
section: 'behavior',
|
|
items: [
|
|
{ id: 'goals', label: 'goals' },
|
|
{ id: 'funnels', label: 'funnels' },
|
|
{ id: 'journeys', label: 'journeys' },
|
|
{ id: 'retention', label: 'retention' },
|
|
],
|
|
},
|
|
{
|
|
section: 'growth',
|
|
items: [
|
|
{ id: 'utm', label: 'utm' },
|
|
{ id: 'revenue', label: 'revenue' },
|
|
{ id: 'attribution', label: 'attribution' },
|
|
],
|
|
},
|
|
];
|