diff --git a/e2e/test/scenarios/metrics/browse.cy.spec.ts b/e2e/test/scenarios/metrics/browse.cy.spec.ts index 27ddb7d3149f5858b8b38de2cbf4c5188775df7a..55834279e7a95e1f2dfb218df72a320993a98e29 100644 --- a/e2e/test/scenarios/metrics/browse.cy.spec.ts +++ b/e2e/test/scenarios/metrics/browse.cy.spec.ts @@ -113,7 +113,7 @@ describe("scenarios > browse > metrics", () => { cy.visit("/browse/metrics"); main() .findByText( - "Metrics help you summarize and analyze your data effortlessly.", + "Create Metrics to define the official way to calculate important numbers for your team", ) .should("be.visible"); }); @@ -279,7 +279,7 @@ describe("scenarios > browse > metrics", () => { main() .findByText( - "Metrics help you summarize and analyze your data effortlessly.", + "Create Metrics to define the official way to calculate important numbers for your team", ) .should("be.visible"); diff --git a/frontend/src/metabase/browse/metrics/BrowseMetrics.tsx b/frontend/src/metabase/browse/metrics/BrowseMetrics.tsx index 66264f2a439198088f8539b597ec2fbaf6f7cd31..b5af1d99dbf95b7951b9118cb4fa21d59f64a4e7 100644 --- a/frontend/src/metabase/browse/metrics/BrowseMetrics.tsx +++ b/frontend/src/metabase/browse/metrics/BrowseMetrics.tsx @@ -88,9 +88,9 @@ export function BrowseMetrics() { function MetricsEmptyState() { return ( <Flex align="center" justify="center" mih="70vh"> - <Box maw="25rem"> + <Box maw="30rem"> <EmptyState - title={t`Metrics help you summarize and analyze your data effortlessly.`} + title={t`Create Metrics to define the official way to calculate important numbers for your team`} message={ <Text mt="sm" maw="25rem"> {t`Metrics are like pre-defined calculations: create your aggregations once, save them as metrics, and use them whenever you need to analyze your data.`} diff --git a/frontend/src/metabase/browse/metrics/BrowseMetrics.unit.spec.tsx b/frontend/src/metabase/browse/metrics/BrowseMetrics.unit.spec.tsx index d7a5c4d28f1e53af51f2a695e322fda18e8f8d37..ae42d5608eb2d3b7edd1d5f5d0a12f5a48656ad2 100644 --- a/frontend/src/metabase/browse/metrics/BrowseMetrics.unit.spec.tsx +++ b/frontend/src/metabase/browse/metrics/BrowseMetrics.unit.spec.tsx @@ -237,7 +237,7 @@ describe("BrowseMetrics", () => { setup({ metricCount: 0 }); expect( await screen.findByText( - "Metrics help you summarize and analyze your data effortlessly.", + "Create Metrics to define the official way to calculate important numbers for your team", ), ).toBeInTheDocument(); }); diff --git a/frontend/src/metabase/querying/metrics/components/MetricEditor/MetricEditorFooter/MetricEmptyState/MetricEmptyState.tsx b/frontend/src/metabase/querying/metrics/components/MetricEditor/MetricEditorFooter/MetricEmptyState/MetricEmptyState.tsx index 4283bac3f7a83ed86fc54aa69230c953ce28b80b..8011e8b3b3e23a2e4444f373f649bfa7045839d8 100644 --- a/frontend/src/metabase/querying/metrics/components/MetricEditor/MetricEditorFooter/MetricEmptyState/MetricEmptyState.tsx +++ b/frontend/src/metabase/querying/metrics/components/MetricEditor/MetricEditorFooter/MetricEmptyState/MetricEmptyState.tsx @@ -20,10 +20,10 @@ export function MetricEmptyState({ data-testid="metric-empty-state" > <Text mb="sm" fw="bold" fz="lg"> - {t`A metric is one of the key numbers you want to keep track of`} + {t`Create Metrics to define the official way to calculate important numbers for your team`} </Text> - <Text mb="lg" c="text-medium" maw="28.75rem" align="center"> - {t`To create one, you’ll need to define how it’s calculated, add any required filters, and optionally pick the main dimension for your metric.`} + <Text mb="lg" c="text-medium" maw="30rem" align="center"> + {t`Metrics are like pre-defined calculations: create your aggregations once, save them as metrics, and use them whenever you need to analyze your data.`} </Text> {isRunnable && ( <Button variant="filled" onClick={() => runQuestionQuery()}>