8000 Beta tag on account notification settings pages · coder/coder@bf1a148 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit bf1a148

Browse files
committed
Beta tag on account notification settings pages
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 0aa6d7b commit bf1a148

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

site/src/pages/ManagementSettingsPage/SidebarView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const DeploymentSettingsNavigation: FC<DeploymentSettingsNavigationProps> = ({
148148
Users
149149
</SidebarNavSubItem>
150150
)}
151-
<Stack direction={"row"} alignItems={"center"} css={{ gap: 0 }}>
151+
<Stack direction="row" alignItems="center" css={{ gap: 0 }}>
152152
<SidebarNavSubItem href="notifications">
153153
Notifications
154154
</SidebarNavSubItem>

site/src/pages/UserSettingsPage/NotificationsPage/NotificationsPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const NotificationsPage: FC = () => {
9999
title="Notifications"
100100
description="Configure your notification preferences. Icons on the right of each notification indicate delivery method, either SMTP or Webhook."
101101
layout="fluid"
102+
featureStage="beta"
102103
>
103104
{ready ? (
104105
<Stack spacing={4}>

site/src/pages/UserSettingsPage/Sidebar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
import { UserAvatar } from "components/UserAvatar/UserAvatar";
1616
import { useDashboard } from "modules/dashboard/useDashboard";
1717
import type { FC } from "react";
18+
import {FeatureStageBadge} from "components/FeatureStageBadge/FeatureStageBadge";
1819

1920
interface SidebarProps {
2021
user: User;
@@ -58,7 +59,7 @@ export const Sidebar: FC<SidebarProps> = ({ user }) => {
5859
Tokens
5960
</SidebarNavItem>
6061
<SidebarNavItem href="notifications" icon={NotificationsIcon}>
61-
Notifications
62+
Notifications <FeatureStageBadge contentType="beta" size="sm" />
6263
</SidebarNavItem>
6364
</BaseSidebar>
6465
);

0 commit comments

Comments
 (0)
0