Skip to content

Commit

Permalink
Merge pull request #312 from near/decomission-alerts-notice
Browse files Browse the repository at this point in the history
chore: Add decomission notice for alerts
  • Loading branch information
darunrs authored Nov 11, 2024
2 parents 8585092 + 69a2def commit 8743cb9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/modules/alerts/components/Alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ButtonLink } from '@/components/lib/Button';
import { FeatherIcon } from '@/components/lib/FeatherIcon';
import { Flex } from '@/components/lib/Flex';
import { H1 } from '@/components/lib/Heading';
import { Message } from '@/components/lib/Message';
import { Spinner } from '@/components/lib/Spinner';
import * as Table from '@/components/lib/Table';
import { Text } from '@/components/lib/Text';
Expand All @@ -22,6 +23,12 @@ export function Alerts({ environment, project }: { environment?: Environment; pr

return (
<Flex stack gap="l">
<Message type="error">
<Text>
Alerts functionality is being decomissioned by Dec 9, 2024. Please move to another solution before that date.
</Text>
</Message>

<Flex justify="spaceBetween" align="center">
<H1>Alerts</H1>
<Link href="/alerts/new-alert" passHref>
Expand Down

0 comments on commit 8743cb9

Please sign in to comment.