Skip to content

Commit 43cf2d5

Browse files
Add alpha feedback banner to Live Web Analytics tab
1 parent 8d0f1d1 commit 43cf2d5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

frontend/src/scenes/web-analytics/LiveMetricsDashboard/LiveWebAnalyticsMetrics.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { useActions, useValues } from 'kea'
22
import { useEffect, useMemo } from 'react'
33

4+
import { LemonBanner } from '@posthog/lemon-ui'
5+
46
import { liveUserCountLogic } from 'lib/components/LiveUserCount/liveUserCountLogic'
57
import { FEATURE_FLAGS } from 'lib/constants'
68
import { usePageVisibility } from 'lib/hooks/usePageVisibility'
@@ -61,6 +63,13 @@ export const LiveWebAnalyticsMetrics = (): JSX.Element => {
6163

6264
return (
6365
<div className="LivePageviews mt-4">
66+
<LemonBanner
67+
type="info"
68+
className="mb-2"
69+
action={{ children: 'Send feedback', id: 'live-web-analytics-feedback-button' }}
70+
>
71+
The Web Analytics live dashboard is in alpha. We'd love to hear what you think!
72+
</LemonBanner>
6473
<div className="flex flex-wrap items-center gap-4 md:gap-6 mb-6">
6574
<LiveStatCard label="Users online" value={liveUserCount} />
6675
<LiveStatDivider />

0 commit comments

Comments
 (0)