mirror of
https://github.com/apache/superset.git
synced 2026-05-11 10:55:43 +00:00
refactor(InfoTooltipWithTrigger): Replace support for fa icons with antd5 icons (#33256)
- Define and centralized tooltip icon variants (info, warning, notice, error, question) - Replace old FontAwesome icons - Update tests to reflect the new icons and variant behavior
This commit is contained in:
@@ -23,8 +23,8 @@ import {
|
||||
addInfoToast,
|
||||
addDangerToast,
|
||||
} from 'src/SqlLab/actions/sqlLab';
|
||||
import { InfoTooltipWithTrigger } from '@superset-ui/chart-controls';
|
||||
import { Button } from 'src/components';
|
||||
import { Button, IconTooltip } from 'src/components';
|
||||
import { Icons } from 'src/components/Icons';
|
||||
import { exploreChart } from 'src/explore/exploreUtils';
|
||||
import { SqlLabRootState } from 'src/SqlLab/types';
|
||||
|
||||
@@ -82,11 +82,8 @@ const ExploreCtasResultsButton = ({
|
||||
onClick={visualize}
|
||||
tooltip={t('Explore the result set in the data exploration view')}
|
||||
>
|
||||
<InfoTooltipWithTrigger
|
||||
icon="line-chart"
|
||||
placement="top"
|
||||
label={t('explore')}
|
||||
/>{' '}
|
||||
<IconTooltip placement="top" tooltip={t('Explore')} />
|
||||
<Icons.LineChartOutlined iconSize="m" />
|
||||
{t('Explore')}
|
||||
</Button>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user