Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
remvoe replay from share page
Francis Cao08b2942e101f
diff --git a/src/app/(main)/websites/[websiteId]/settings/constants.ts b/src/app/(main)/websites/[websiteId]/settings/constants.tsindex 0d2c816dc..dc75084e8 100644--- a/src/app/(main)/websites/[websiteId]/settings/constants.ts+++ b/src/app/(main)/websites/[websiteId]/settings/constants.ts@@ -18,7 +18,6 @@ export const SHARE_NAV_ITEMS = [{ id: 'funnels', label: 'funnels' },{ id: 'journeys', label: 'journeys' },{ id: 'retention', label: 'retention' },- { id: 'replays', label: 'replays' },],},{diff --git a/src/app/share/[slug]/[[...path]]/ShareNav.tsx b/src/app/share/[slug]/[[...path]]/ShareNav.tsxindex 85c0f46b6..7c6e28cfe 100644--- a/src/app/share/[slug]/[[...path]]/ShareNav.tsx+++ b/src/app/share/[slug]/[[...path]]/ShareNav.tsx@@ -1,7 +1,7 @@import { Button, Column, Icon, Row, ThemeButton } from '@umami/react-zen';import { NavMenu } from '@/components/common/NavMenu';import { useMessages, useNavigation, useShare } from '@/components/hooks';-import { AlignEndHorizontal, Clock, Eye, PanelLeft, Sheet, Tag, User, Video } from '@/components/icons';+import { AlignEndHorizontal, Clock, Eye, PanelLeft, Sheet, Tag, User } from '@/components/icons';import { LanguageButton } from '@/components/input/LanguageButton';import { PreferencesButton } from '@/components/input/PreferencesButton';import { Funnel, Gauge, Lightning, Magnet, Money, Network, Path, Target } from '@/components/svg';@@ -100,12 +100,6 @@ export function ShareNav({icon: <Magnet />,path: renderPath('/retention'),},- {- id: 'replays',- label: t(labels.replays),- icon: <Video />,- path: renderPath('/replays'),- },],},{diff --git a/src/app/share/[slug]/[[...path]]/SharePage.tsx b/src/app/share/[slug]/[[...path]]/SharePage.tsxindex 8fc10f942..f066940dc 100644--- a/src/app/share/[slug]/[[...path]]/SharePage.tsx+++ b/src/app/share/[slug]/[[...path]]/SharePage.tsx@@ -14,7 +14,6 @@ import { PerformancePage } from '@/app/(main)/websites/[websiteId]/(reports)/perimport { ComparePage } from '@/app/(main)/websites/[websiteId]/compare/ComparePage';import { EventsPage } from '@/app/(main)/websites/[websiteId]/events/EventsPage';import { RealtimePage } from '@/app/(main)/websites/[websiteId]/realtime/RealtimePage';-import { ReplaysPage } from '@/app/(main)/websites/[websiteId]/replays/ReplaysPage';import { SessionsPage } from '@/app/(main)/websites/[websiteId]/sessions/SessionsPage';import { WebsiteHeader } from '@/app/(main)/websites/[websiteId]/WebsiteHeader';import { WebsitePage } from '@/app/(main)/websites/[websiteId]/WebsitePage';@@ -42,7 +41,6 @@ const PAGE_COMPONENTS: Record<string, React.ComponentType<{ websiteId: string }>funnels: FunnelsPage,journeys: JourneysPage,retention: RetentionPage,- replays: ReplaysPage,utm: UTMPage,revenue: RevenuePage,attribution: AttributionPage,