Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat: removed the sso auth announcement banner (#10471)

SagarRajput-74b84b715b4fc
diff --git a/frontend/src/constants/localStorage.ts b/frontend/src/constants/localStorage.ts
index 89a5eb3496..46250d9dbc 100644
--- a/frontend/src/constants/localStorage.ts
+++ b/frontend/src/constants/localStorage.ts
@@ -29,7 +29,6 @@ export enum LOCALSTORAGE {
DONT_SHOW_SLOW_API_WARNING = 'DONT_SHOW_SLOW_API_WARNING',
METRICS_LIST_OPTIONS = 'METRICS_LIST_OPTIONS',
SHOW_EXCEPTIONS_QUICK_FILTERS = 'SHOW_EXCEPTIONS_QUICK_FILTERS',
- BANNER_DISMISSED = 'BANNER_DISMISSED',
QUICK_FILTERS_SETTINGS_ANNOUNCEMENT = 'QUICK_FILTERS_SETTINGS_ANNOUNCEMENT',
FUNNEL_STEPS = 'FUNNEL_STEPS',
SPAN_DETAILS_PINNED_ATTRIBUTES = 'SPAN_DETAILS_PINNED_ATTRIBUTES',
diff --git a/frontend/src/container/Home/Home.styles.scss b/frontend/src/container/Home/Home.styles.scss
index a8a2d31895..ef15b369bb 100644
--- a/frontend/src/container/Home/Home.styles.scss
+++ b/frontend/src/container/Home/Home.styles.scss
@@ -25,51 +25,6 @@
background: var(--bg-slate-500);
}
- .home-container-banner {
- position: relative;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- padding: 8px 12px;
- width: 100%;
- background-color: var(--bg-robin-500);
-
- .home-container-banner-close {
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- color: var(--bg-vanilla-100);
-
- position: absolute;
- right: 12px;
- }
-
- .home-container-banner-content {
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 4px;
- color: var(--bg-vanilla-100);
- font-family: Inter;
- font-size: 12px;
- font-style: normal;
- font-weight: 400;
- line-height: 20px;
-
- .home-container-banner-link {
- color: var(--bg-vanilla-100);
- font-size: 12px;
- font-style: normal;
- font-weight: 400;
- line-height: 20px;
- letter-spacing: -0.07px;
- text-decoration: underline;
- }
- }
- }
-
.home-header-left {
display: flex;
align-items: center;
diff --git a/frontend/src/container/Home/Home.tsx b/frontend/src/container/Home/Home.tsx
index 21d2e49e7f..fa0ae0509f 100644
--- a/frontend/src/container/Home/Home.tsx
+++ b/frontend/src/container/Home/Home.tsx
@@ -1,13 +1,13 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
import { useMutation, useQuery } from 'react-query';
import { Color } from '@signozhq/design-tokens';
+import { Compass, Dot, House, Plus, Wrench } from '@signozhq/icons';
import { Button, Popover } from 'antd';
import logEvent from 'api/common/logEvent';
import listUserPreferences from 'api/v1/user/preferences/list';
import updateUserPreferenceAPI from 'api/v1/user/preferences/name/update';
import Header from 'components/Header/Header';
import { ENTITY_VERSION_V5 } from 'constants/app';
-import { LOCALSTORAGE } from 'constants/localStorage';
import { ORG_PREFERENCES } from 'constants/orgPreferences';
import { initialQueriesMap, PANEL_TYPES } from 'constants/queryBuilder';
import { REACT_QUERY_KEY } from 'constants/reactQueryKeys';
@@ -15,10 +15,8 @@ import ROUTES from 'constants/routes';
import { getMetricsListQuery } from 'container/MetricsExplorer/Summary/utils';
import { useGetMetricsList } from 'hooks/metricsExplorer/useGetMetricsList';
import { useGetQueryRange } from 'hooks/queryBuilder/useGetQueryRange';
-import { useGetTenantLicense } from 'hooks/useGetTenantLicense';
import history from 'lib/history';
import cloneDeep from 'lodash-es/cloneDeep';
-import { CompassIcon, DotIcon, HomeIcon, Plus, Wrench, X } from 'lucide-react';
import { AnimatePresence } from 'motion/react';
import * as motion from 'motion/react-client';
import Card from 'periscope/components/Card/Card';
@@ -51,8 +49,6 @@ export default function Home(): JSX.Element {
const [updatingUserPreferences, setUpdatingUserPreferences] = useState(false);
const [loadingUserPreferences, setLoadingUserPreferences] = useState(true);
- const { isCommunityUser, isCommunityEnterpriseUser } = useGetTenantLicense();
-
const [checklistItems, setChecklistItems] = useState<ChecklistItem[]>(
defaultChecklistItemsState,
);
@@ -61,13 +57,6 @@ export default function Home(): JSX.Element {
false,
);
- const [isBannerDismissed, setIsBannerDismissed] = useState(false);
-
- useEffect(() => {
- const bannerDismissed = localStorage.getItem(LOCALSTORAGE.BANNER_DISMISSED);
- setIsBannerDismissed(bannerDismissed === 'true');
- }, []);
-
useEffect(() => {
const now = new Date();
const startTime = new Date(now.getTime() - homeInterval);
@@ -298,44 +287,13 @@ export default function Home(): JSX.Element {
logEvent('Homepage: Visited', {});
}, []);
- const hideBanner = (): void => {
- localStorage.setItem(LOCALSTORAGE.BANNER_DISMISSED, 'true');
- setIsBannerDismissed(true);
- };
-
- const showBanner = useMemo(
- () => !isBannerDismissed && (isCommunityUser || isCommunityEnterpriseUser),
- [isBannerDismissed, isCommunityUser, isCommunityEnterpriseUser],
- );
-
return (
<div className="home-container">
<div className="sticky-header">
- {showBanner && (
- <div className="home-container-banner">
- <div className="home-container-banner-content">
- Big News: SigNoz Community Edition now available with SSO (Google OAuth)
- and API keys -
- <a
- href="https://signoz.io/blog/open-source-signoz-now-available-with-sso-and-api-keys/"
- target="_blank"
- rel="noreferrer"
- className="home-container-banner-link"
- >
- <i>read more</i>
- </a>
- </div>
-
- <div className="home-container-banner-close">
- <X size={16} onClick={hideBanner} />
- </div>
- </div>
- )}
-
<Header
leftComponent={
<div className="home-header-left">
- <HomeIcon size={14} /> Home
+ <House size={14} /> Home
</div>
}
rightComponent={
@@ -400,7 +358,7 @@ export default function Home(): JSX.Element {
<div className="active-ingestion-card-content-container">
<div className="active-ingestion-card-content">
<div className="active-ingestion-card-content-icon">
- <DotIcon size={16} color={Color.BG_FOREST_500} />
+ <Dot size={16} color={Color.BG_FOREST_500} />
</div>
<div className="active-ingestion-card-content-description">
@@ -427,7 +385,7 @@ export default function Home(): JSX.Element {
}
}}
>
- <CompassIcon size={12} />
+ <Compass size={12} />
Explore Logs
</div>
</div>
@@ -441,7 +399,7 @@ export default function Home(): JSX.Element {
<div className="active-ingestion-card-content-container">
<div className="active-ingestion-card-content">
<div className="active-ingestion-card-content-icon">
- <DotIcon size={16} color={Color.BG_FOREST_500} />
+ <Dot size={16} color={Color.BG_FOREST_500} />
</div>
<div className="active-ingestion-card-content-description">
@@ -468,7 +426,7 @@ export default function Home(): JSX.Element {
}
}}
>
- <CompassIcon size={12} />
+ <Compass size={12} />
Explore Traces
</div>
</div>
@@ -482,7 +440,7 @@ export default function Home(): JSX.Element {
<div className="active-ingestion-card-content-container">
<div className="active-ingestion-card-content">
<div className="active-ingestion-card-content-icon">
- <DotIcon size={16} color={Color.BG_FOREST_500} />
+ <Dot size={16} color={Color.BG_FOREST_500} />
</div>
<div className="active-ingestion-card-content-description">
@@ -509,7 +467,7 @@ export default function Home(): JSX.Element {
}
}}
>
- <CompassIcon size={12} />
+ <Compass size={12} />
Explore Metrics
</div>
</div>