From e94d5f01191099f42d3170a4583516bd030f57e0 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Thu, 17 Apr 2025 07:09:33 +0100 Subject: [PATCH] [release-12.0.1] Provisioning: Add banner with more feature info (#104146) Provisioning: Add banner with more feature info (#104111) * Provisioning: Add experimental feature banner * translations (cherry picked from commit d85d730d9cc6fe4e7fcf9de5cdd3c375411b18e6) Co-authored-by: Alex Khomenko --- .../GettingStarted/GettingStartedPage.tsx | 30 ++++++++++++++++++- public/locales/en-US/grafana.json | 3 ++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/public/app/features/provisioning/GettingStarted/GettingStartedPage.tsx b/public/app/features/provisioning/GettingStarted/GettingStartedPage.tsx index ed8a1e3e06f..2800ec0d6ec 100644 --- a/public/app/features/provisioning/GettingStarted/GettingStartedPage.tsx +++ b/public/app/features/provisioning/GettingStarted/GettingStartedPage.tsx @@ -1,8 +1,10 @@ +import { Box, Text, TextLink } from '@grafana/ui'; import { Repository } from 'app/api/clients/provisioning'; import { Page } from 'app/core/components/Page/Page'; -import { t } from 'app/core/internationalization'; +import { t, Trans } from 'app/core/internationalization'; import GettingStarted from './GettingStarted'; + interface Props { items: Repository[]; } @@ -20,8 +22,34 @@ export default function GettingStartedPage({ items }: Props) { }} > + ); } + +function Banner() { + return ( + + + + This feature is currently under active development. For the best experience and latest improvements, we + recommend using the{' '} + + nightly build + {' '} + of Grafana. + + + + ); +} diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index ef32abaf262..6363e34243d 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -6441,6 +6441,9 @@ } }, "provisioning": { + "banner": { + "message": "This feature is currently under active development. For the best experience and latest improvements, we recommend using the <2>nightly build of Grafana." + }, "bootstrap-step": { "description-clear-repository-connection": "Add a clear name for this repository connection", "empty": "Empty",