Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: notifications banner #27641

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { IconNotification } from '@posthog/icons'
import {
LemonBanner,
LemonButton,
LemonSelect,
LemonSelectOption,
LemonSkeleton,
LemonSwitch,
LemonTabs,
Link,
Spinner,
} from '@posthog/lemon-ui'
import { useActions, useValues } from 'kea'
Expand All @@ -21,7 +19,6 @@ import { usePageVisibility } from 'lib/hooks/usePageVisibility'
import { IconWithCount } from 'lib/lemon-ui/icons'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { useEffect, useRef } from 'react'
import { urls } from 'scenes/urls'
import { userLogic } from 'scenes/userLogic'

import {
Expand Down Expand Up @@ -168,14 +165,6 @@ export const SidePanelActivity = (): JSX.Element => {
{/* Controls */}
{activeTab === SidePanelActivityTab.Unread ? (
<div className="px-2 pb-2 space-y-2 shrink-0">
<LemonBanner type="info" dismissKey="notifications-introduction">
Notifications shows you changes others make to{' '}
<Link to={urls.savedInsights('history')}>Insights</Link> and{' '}
<Link to={urls.featureFlags('history')}>Feature Flags</Link> that you created. Come join{' '}
<Link to="https://posthog.com/community">our community forum</Link> and tell us what
else should be here!
</LemonBanner>

<div className="flex items-center justify-between gap-2">
{toggleExtendedDescription}
{hasUnread ? (
Expand Down
Loading