From b4dfc626f22880a37e7350892638cd0de2aa9203 Mon Sep 17 00:00:00 2001 From: Andreas Gerstmayr Date: Thu, 9 Oct 2025 15:09:28 +0200 Subject: [PATCH] NO-JIRA: be explicit about unsupported instances without multi-tenancy Signed-off-by: Andreas Gerstmayr --- .../plugin__distributed-tracing-console-plugin.json | 3 +-- web/src/pages/TracesPage/TracesPage.tsx | 11 +++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/web/locales/en/plugin__distributed-tracing-console-plugin.json b/web/locales/en/plugin__distributed-tracing-console-plugin.json index 293f452..aceec2b 100644 --- a/web/locales/en/plugin__distributed-tracing-console-plugin.json +++ b/web/locales/en/plugin__distributed-tracing-console-plugin.json @@ -21,7 +21,6 @@ "Trace": "Trace", "Tracing": "Tracing", "Limit traces": "Limit traces", - "No datapoints found.": "No datapoints found.", "Hide graph": "Hide graph", "Show graph": "Show graph", "Filter": "Filter", @@ -47,7 +46,7 @@ "To get started, install the Tempo operator and create a TempoStack or TempoMonolithic instance with multi-tenancy enabled.": "To get started, install the Tempo operator and create a TempoStack or TempoMonolithic instance with multi-tenancy enabled.", "Install Tempo operator": "Install Tempo operator", "No Tempo instances yet": "No Tempo instances yet", - "To get started, create a TempoStack or TempoMonolithic instance with multi-tenancy enabled.": "To get started, create a TempoStack or TempoMonolithic instance with multi-tenancy enabled.", + "To get started, create a TempoStack or TempoMonolithic instance with multi-tenancy enabled.<1>Instances without multi-tenancy are not supported.": "To get started, create a TempoStack or TempoMonolithic instance with multi-tenancy enabled.<1>Instances without multi-tenancy are not supported.", "Create a Tempo instance": "Create a Tempo instance", "Create a TempoStack instance": "Create a TempoStack instance", "Create a TempoMonolithic instance": "Create a TempoMonolithic instance", diff --git a/web/src/pages/TracesPage/TracesPage.tsx b/web/src/pages/TracesPage/TracesPage.tsx index 0e480a2..78db2eb 100644 --- a/web/src/pages/TracesPage/TracesPage.tsx +++ b/web/src/pages/TracesPage/TracesPage.tsx @@ -15,7 +15,7 @@ import { Title, } from '@patternfly/react-core'; import { PlusCircleIcon, WrenchIcon, ExternalLinkAltIcon } from '@patternfly/react-icons'; -import { useTranslation } from 'react-i18next'; +import { useTranslation, Trans } from 'react-i18next'; import { ErrorAlert } from '../../components/ErrorAlert'; import { Helmet } from 'react-helmet'; import { Link } from 'react-router-dom-v5-compat'; @@ -125,9 +125,12 @@ function NoTempoInstance() { - {t( - 'To get started, create a TempoStack or TempoMonolithic instance with multi-tenancy enabled.', - )} + + To get started, create a TempoStack or TempoMonolithic instance with multi-tenancy + enabled. +
+ Instances without multi-tenancy are not supported. +