This is an automated email from the ASF dual-hosted git repository.
pkdotson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new c2d11ac chore: Moves InfoTooltip to the components folder (#14128)
c2d11ac is described below
commit c2d11ac53e8e80b998fb9598e3b4be3c1e64587a
Author: Michael S. Molina <[email protected]>
AuthorDate: Mon Apr 19 20:25:29 2021 -0300
chore: Moves InfoTooltip to the components folder (#14128)
---
superset-frontend/src/common/components/common.stories.tsx | 2 +-
superset-frontend/src/{common => }/components/InfoTooltip/index.tsx | 0
superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/src/common/components/common.stories.tsx
b/superset-frontend/src/common/components/common.stories.tsx
index 1adb42d..d9987f2 100644
--- a/superset-frontend/src/common/components/common.stories.tsx
+++ b/superset-frontend/src/common/components/common.stories.tsx
@@ -22,11 +22,11 @@ import { withKnobs, boolean, select } from
'@storybook/addon-knobs';
import Button from 'src/components/Button';
import { CronPicker, CronError } from 'src/components/CronPicker';
import Modal from 'src/components/Modal';
+import InfoTooltip from 'src/components/InfoTooltip';
import Tabs, { EditableTabs } from './Tabs';
import { Tooltip as AntdTooltip } from './Tooltip';
import { Menu, Input, Divider } from '.';
import { Dropdown } from './Dropdown';
-import InfoTooltip from './InfoTooltip';
export default {
title: 'Common components',
diff --git a/superset-frontend/src/common/components/InfoTooltip/index.tsx
b/superset-frontend/src/components/InfoTooltip/index.tsx
similarity index 100%
rename from superset-frontend/src/common/components/InfoTooltip/index.tsx
rename to superset-frontend/src/components/InfoTooltip/index.tsx
diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
index cb60cea..105b77e 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
@@ -18,7 +18,7 @@
*/
import React, { FunctionComponent, useState, useEffect } from 'react';
import { styled, t } from '@superset-ui/core';
-import InfoTooltip from 'src/common/components/InfoTooltip';
+import InfoTooltip from 'src/components/InfoTooltip';
import {
useSingleViewResource,
testDatabaseConnection,