From 075070db3e3de6ff6ce7edf30fa2d4f8acfa62fc Mon Sep 17 00:00:00 2001 From: Armand Grillet <2117580+armandgrillet@users.noreply.github.com> Date: Mon, 17 Apr 2023 10:02:29 +0200 Subject: [PATCH] Alerting: Update legacy alerting warning (#66269) * Update legacy alerting warning * Apply suggestions from code review Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com> * Update DeprecationNotice.tsx * silly linter * Clarify alerting deprecation --------- Co-authored-by: Gilles De Mey Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com> --- .../alerting/components/DeprecationNotice.tsx | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/public/app/features/alerting/components/DeprecationNotice.tsx b/public/app/features/alerting/components/DeprecationNotice.tsx index 6db39c68785..bc3db37c7d8 100644 --- a/public/app/features/alerting/components/DeprecationNotice.tsx +++ b/public/app/features/alerting/components/DeprecationNotice.tsx @@ -5,23 +5,19 @@ import { Alert } from '@grafana/ui'; export const LOCAL_STORAGE_KEY = 'grafana.legacyalerting.unifiedalertingpromo'; const DeprecationNotice = () => ( - +

- You are using Grafana legacy alerting, it has been deprecated and will be removed in the next major version of - Grafana. + You are using Grafana legacy alerting, which has been deprecated since Grafana 9.0. The codebase is now staying as + is and will be removed in Grafana 11.0.
- We encourage you to upgrade to the new Grafana Alerting experience. + We recommend upgrading to Grafana Alerting as soon as possible.

See{' '} - - What’s New with Grafana Alerting + + how to upgrade to Grafana Alerting {' '} - to learn more about what‘s new or learn{' '} - - how to enable the new Grafana Alerting feature - - . + to learn more.

);