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
Fix metabot button overlap on transform screen (#72727)
Nick Fitzpatrick98b7ae8adc60
diff --git a/e2e/test/scenarios/metrics/metrics-editing.cy.spec.js b/e2e/test/scenarios/metrics/metrics-editing.cy.spec.jsindex 4ccfc04f234..dcdacb92adb 100644--- a/e2e/test/scenarios/metrics/metrics-editing.cy.spec.js+++ b/e2e/test/scenarios/metrics/metrics-editing.cy.spec.js@@ -515,7 +515,8 @@ describe("scenarios > metrics > editing", () => {cy.viewport(800, 600);H.getNotebookStep("summarize").within(() => {- cy.findByText("Formula").should("be.visible");+ // We need the scroll because of the viewport change, the next findByText is technically off the screen without it+ cy.findByText("Formula").should("be.visible").scrollIntoView({});cy.findAllByText("Default time dimension").filter(":visible").should("have.length", 1);diff --git a/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.module.css b/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.module.cssindex 1e9076eb625..020f530d5d2 100644--- a/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.module.css+++ b/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.module.css@@ -1,4 +1,4 @@-.ProfileLink {+.ButtonGroup {/* This is to keep the app switcher position a consistent space awayfrom the right when the window is smaller than the data studiotypically allows. Once we have a more responsive data studio layoutdiff --git a/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.tsx b/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.tsxindex e7508239e60..46f4fd7277a 100644--- a/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.tsx+++ b/frontend/src/metabase/data-studio/common/components/PaneHeader/PaneHeader.tsx@@ -48,12 +48,12 @@ export const PaneHeader = ({}: PaneHeaderProps) => {return (<Stack gap={0} pt="xs" {...rest}>- <Flex mb="lg" mt="md" w="100%">+ <Flex mb="lg" mt="md" w="100%" h="xl">{breadcrumbs}- <Group ml="auto" gap="md">+ <Group ml="auto" gap="md" className={S.ButtonGroup}>{showMetabotButton && <MetabotDataStudioButton />}- {showAppSwitcher && <AppSwitcher className={S.ProfileLink} />}+ {showAppSwitcher && <AppSwitcher />}</Group></Flex><Group