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
Migrate NativeQueryModal to composable NativeQueryEditor (#75021)
Romeo Van Snickd1fc4802ed3d
diff --git a/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/NativeQueryModal.tsx b/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/NativeQueryModal.tsxindex e4bf0f207c7..cfa2e5dbb59 100644--- a/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/NativeQueryModal.tsx+++ b/frontend/src/metabase/rich_text_editing/tiptap/extensions/shared/NativeQueryModal.tsx@@ -331,10 +331,6 @@ export const NativeQueryModal = ({query={nativeQuery}isNativeEditorOpenisInitiallyOpen- hasTopBar- hasEditingSidebar- hasParametersList={false}- sidebarFeatures={MODAL_SIDEBAR_FEATURES}availableHeight={totalHeight}isRunnableisRunning={isQueryRunning}@@ -374,7 +370,14 @@ export const NativeQueryModal = ({setModifiedQuestion(newQuestion);}}resizable- />+ >+ <NativeQueryEditor.TopBar>+ <NativeQueryEditor.Sidebar+ features={MODAL_SIDEBAR_FEATURES}+ />+ </NativeQueryEditor.TopBar>+ <NativeQueryEditor.RunButton />+ </NativeQueryEditor>)}</Box>