The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
update copy (#69130)
Nick Fitzpatrickf7336c20689d
diff --git a/e2e/test/scenarios/data-studio/data-studio-library.cy.spec.ts b/e2e/test/scenarios/data-studio/data-studio-library.cy.spec.tsindex c8debeaed17..c5733c43956 100644--- a/e2e/test/scenarios/data-studio/data-studio-library.cy.spec.ts+++ b/e2e/test/scenarios/data-studio/data-studio-library.cy.spec.ts@@ -145,7 +145,9 @@ describe("scenarios > data studio > library", () => {cy.log("Verify Data section empty state");H.DataStudio.Library.libraryPage()- .findByText("Cleaned, pre-transformed data sources ready for exploring")+ .findByText(+ "Cleaned, pre-transformed data sources ready for exploring.",+ ).should("be.visible");H.DataStudio.Library.libraryPage().findByRole("button", { name: "Publish a table" })@@ -153,7 +155,7 @@ describe("scenarios > data studio > library", () => {cy.log("Verify Metrics section empty state");H.DataStudio.Library.libraryPage()- .findByText("Standardized calculations with known dimensions")+ .findByText("Standardized calculations with known dimensions.").should("be.visible");H.DataStudio.Library.libraryPage().findByRole("link", { name: "New metric" })@@ -161,7 +163,7 @@ describe("scenarios > data studio > library", () => {cy.log("Verify SQL snippets section empty state");H.DataStudio.Library.libraryPage()- .findByText("Reusable bits of code that save your time")+ .findByText("Reusable bits of code that save your time.").should("be.visible");H.DataStudio.Library.libraryPage().findByRole("link", { name: "New snippet" })@@ -191,7 +193,9 @@ describe("scenarios > data studio > library", () => {cy.log("Verify Data empty state is visible initially");H.DataStudio.Library.libraryPage()- .findByText("Cleaned, pre-transformed data sources ready for exploring")+ .findByText(+ "Cleaned, pre-transformed data sources ready for exploring.",+ ).should("be.visible");cy.log("Publish a table via the +New menu");@@ -207,17 +211,19 @@ describe("scenarios > data studio > library", () => {cy.log("Verify Data section shows the table (empty state hidden)");H.DataStudio.Library.tableItem("Orders").should("be.visible");H.DataStudio.Library.libraryPage()- .findByText("Cleaned, pre-transformed data sources ready for exploring")+ .findByText(+ "Cleaned, pre-transformed data sources ready for exploring.",+ ).should("not.exist");cy.log("Verify Metrics and SQL snippets still show empty states (always expanded behavior)",);H.DataStudio.Library.libraryPage()- .findByText("Standardized calculations with known dimensions")+ .findByText("Standardized calculations with known dimensions.").should("be.visible");H.DataStudio.Library.libraryPage()- .findByText("Reusable bits of code that save your time")+ .findByText("Reusable bits of code that save your time.").should("be.visible");});});diff --git a/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibrarySectionLayout/utils.ts b/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibrarySectionLayout/utils.tsindex fb5364e71d7..e73510e5318 100644--- a/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibrarySectionLayout/utils.ts+++ b/enterprise/frontend/src/metabase-enterprise/data-studio/library/LibrarySectionLayout/utils.ts@@ -114,15 +114,15 @@ function getEmptyStateConfig(Omit<EmptyStateConfig, "sectionType" | "actionUrl">> = {data: {- description: t`Cleaned, pre-transformed data sources ready for exploring`,+ description: t`Cleaned, pre-transformed data sources ready for exploring.`,actionLabel: t`Publish a table`,},metrics: {- description: t`Standardized calculations with known dimensions`,+ description: t`Standardized calculations with known dimensions.`,actionLabel: t`New metric`,},snippets: {- description: t`Reusable bits of code that save your time`,+ description: t`Reusable bits of code that save your time.`,actionLabel: t`New snippet`,},};