Gops: Update texts in main irm page (#89810)

Update texts in main irm page
This commit is contained in:
Sonia Aguilar 2024-07-01 17:00:40 +02:00 committed by GitHub
parent 559738ce6a
commit 86466aec61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -340,7 +340,7 @@ export const useGetConfigurationForUI = ({
function getConnectDataSourceConfiguration() { function getConnectDataSourceConfiguration() {
const description = dataSourceCompatibleWithAlerting const description = dataSourceCompatibleWithAlerting
? 'You have connected a datasource.' ? 'You have connected a datasource.'
: 'Connect at least one data source to start receiving data.'; : 'Connect at least one data source to start receiving data';
const actionButtonTitle = dataSourceCompatibleWithAlerting ? 'View' : 'Connect'; const actionButtonTitle = dataSourceCompatibleWithAlerting ? 'View' : 'Connect';
return { return {
id: ConfigurationStepsEnum.CONNECT_DATASOURCE, id: ConfigurationStepsEnum.CONNECT_DATASOURCE,
@ -356,8 +356,8 @@ export const useGetConfigurationForUI = ({
id: ConfigurationStepsEnum.ESSENTIALS, id: ConfigurationStepsEnum.ESSENTIALS,
title: 'Essentials', title: 'Essentials',
titleIcon: 'star', titleIcon: 'star',
description: 'Configure the features you need to start using Grafana IRM workflows', description: 'Set up the necessary features to start using Grafana IRM workflows',
actionButtonTitle: 'Start', actionButtonTitle: stepsDone === totalStepsToDo ? 'View' : 'Configure',
stepsDone, stepsDone,
totalStepsToDo, totalStepsToDo,
}, },