This is an automated email from the ASF dual-hosted git repository.
rusackas 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 ec75dc1 chore: Moves CronPicker to the components folder (#14125)
ec75dc1 is described below
commit ec75dc178be08a6c7ecf211b924020d3109de397
Author: Michael S. Molina <[email protected]>
AuthorDate: Fri Apr 16 02:44:12 2021 -0300
chore: Moves CronPicker to the components folder (#14125)
---
superset-frontend/src/common/components/common.stories.tsx | 2 +-
.../src/{common => }/components/CronPicker/CronPicker.test.tsx | 0
.../src/{common => }/components/CronPicker/CronPicker.tsx | 0
superset-frontend/src/{common => }/components/CronPicker/index.ts | 0
.../src/views/CRUD/alert/components/AlertReportCronScheduler.test.tsx | 2 +-
.../src/views/CRUD/alert/components/AlertReportCronScheduler.tsx | 4 ++--
6 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/superset-frontend/src/common/components/common.stories.tsx
b/superset-frontend/src/common/components/common.stories.tsx
index 3b31993..c15ac5e 100644
--- a/superset-frontend/src/common/components/common.stories.tsx
+++ b/superset-frontend/src/common/components/common.stories.tsx
@@ -20,6 +20,7 @@ import React, { useState, useRef, useCallback } from 'react';
import { action } from '@storybook/addon-actions';
import { withKnobs, boolean, select } from '@storybook/addon-knobs';
import Button from 'src/components/Button';
+import { CronPicker, CronError } from 'src/components/CronPicker';
import Modal from './Modal';
import Tabs, { EditableTabs } from './Tabs';
import { Tooltip as AntdTooltip } from './Tooltip';
@@ -27,7 +28,6 @@ import { Switch as AntdSwitch } from './Switch';
import { Menu, Input, Divider } from '.';
import { Dropdown } from './Dropdown';
import InfoTooltip from './InfoTooltip';
-import { CronPicker, CronError } from './CronPicker';
export default {
title: 'Common components',
diff --git
a/superset-frontend/src/common/components/CronPicker/CronPicker.test.tsx
b/superset-frontend/src/components/CronPicker/CronPicker.test.tsx
similarity index 100%
rename from
superset-frontend/src/common/components/CronPicker/CronPicker.test.tsx
rename to superset-frontend/src/components/CronPicker/CronPicker.test.tsx
diff --git a/superset-frontend/src/common/components/CronPicker/CronPicker.tsx
b/superset-frontend/src/components/CronPicker/CronPicker.tsx
similarity index 100%
rename from superset-frontend/src/common/components/CronPicker/CronPicker.tsx
rename to superset-frontend/src/components/CronPicker/CronPicker.tsx
diff --git a/superset-frontend/src/common/components/CronPicker/index.ts
b/superset-frontend/src/components/CronPicker/index.ts
similarity index 100%
rename from superset-frontend/src/common/components/CronPicker/index.ts
rename to superset-frontend/src/components/CronPicker/index.ts
diff --git
a/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.test.tsx
b/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.test.tsx
index ba65664..a58f36a 100644
---
a/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.test.tsx
+++
b/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.test.tsx
@@ -20,7 +20,7 @@
import React from 'react';
import { ReactWrapper } from 'enzyme';
import { styledMount as mount } from 'spec/helpers/theming';
-import { CronPicker } from 'src/common/components/CronPicker';
+import { CronPicker } from 'src/components/CronPicker';
import { Input } from 'src/common/components';
import { AlertReportCronScheduler } from './AlertReportCronScheduler';
diff --git
a/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.tsx
b/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.tsx
index 2e8b2d5..a228bf02 100644
---
a/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.tsx
+++
b/superset-frontend/src/views/CRUD/alert/components/AlertReportCronScheduler.tsx
@@ -21,8 +21,8 @@ import { t, useTheme } from '@superset-ui/core';
import { Input, AntdInput } from 'src/common/components';
import { Radio } from 'src/common/components/Radio';
-import { CronPicker, CronError } from 'src/common/components/CronPicker';
-import { StyledInputContainer } from '../AlertReportModal';
+import { CronPicker, CronError } from 'src/components/CronPicker';
+import { StyledInputContainer } from 'src/views/CRUD/alert/AlertReportModal';
interface AlertReportCronSchedulerProps {
value: string;