fix(theming): Fix visual regressions from theming P7 (#34237)

This commit is contained in:
Enzo Martellucci
2025-07-24 19:57:50 +02:00
committed by GitHub
parent 30e5684006
commit 89bf77b5c9
54 changed files with 508 additions and 419 deletions

View File

@@ -17,7 +17,6 @@
* under the License.
*/
import { useState, useEffect, useMemo, ChangeEvent } from 'react';
import type { DatabaseObject } from 'src/features/databases/types';
import { t, styled } from '@superset-ui/core';
import {
@@ -28,6 +27,7 @@ import {
Modal,
Row,
Col,
Icons,
} from '@superset-ui/core/components';
import { Menu } from '@superset-ui/core/components/Menu';
import SaveDatasetActionButton from 'src/SqlLab/components/SaveDatasetActionButton';
@@ -43,6 +43,7 @@ import {
LOG_ACTIONS_SQLLAB_CREATE_CHART,
LOG_ACTIONS_SQLLAB_SAVE_QUERY,
} from 'src/logger/LogUtils';
import { ModalTitleWithIcon } from 'src/components/ModalTitleWithIcon';
interface SaveQueryProps {
queryEditorId: string;
@@ -224,7 +225,14 @@ const SaveQuery = ({
primaryButtonName={isSaved ? t('Save') : t('Save as')}
width="620px"
show={showSave}
title={<h4>{t('Save query')}</h4>}
name={t('Save query')}
title={
<ModalTitleWithIcon
title={t('Save query')}
icon={<Icons.SaveOutlined />}
data-test="save-query-modal-title"
/>
}
footer={
<>
<Button