From bf5f5a0e30f354ba44c88001fdf2fc91ddd937f8 Mon Sep 17 00:00:00 2001 From: Aaysha <109507451+aayshasura@users.noreply.github.com> Date: Mon, 20 Mar 2023 22:24:31 +0530 Subject: [PATCH] frontend :Removing Heroku Banner from Connect database page PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8389 GitOrigin-RevId: dfd709ef2dbb0f12f41f114022ed76b382fa7963 --- .../components/HerokuBanner/Banner.stories.tsx | 10 ---------- .../Neon/components/HerokuBanner/Banner.tsx | 15 --------------- .../Data/DataSources/CreateDataSource/index.tsx | 2 -- 3 files changed, 27 deletions(-) delete mode 100644 frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.stories.tsx delete mode 100644 frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.tsx diff --git a/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.stories.tsx b/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.stories.tsx deleted file mode 100644 index d0c42a63557..00000000000 --- a/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.stories.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; -import { ComponentMeta, Story } from '@storybook/react'; -import { HerokuBanner } from './Banner'; - -export default { - title: 'features/Neon Integration/Heroku Banner', - component: HerokuBanner, -} as ComponentMeta; - -export const Base: Story = () => ; diff --git a/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.tsx b/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.tsx deleted file mode 100644 index 71ac1f339a8..00000000000 --- a/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/Neon/components/HerokuBanner/Banner.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import { LearnMoreLink } from '../../../../../../../../new-components/LearnMoreLink'; -import { GrHeroku } from 'react-icons/gr'; - -export function HerokuBanner() { - return ( -
- -
- Heroku free database integration support has been deprecated.{' '} - -
-
- ); -} diff --git a/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/index.tsx b/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/index.tsx index 7bd0e30bde4..75aba25e80e 100644 --- a/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/index.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/components/Services/Data/DataSources/CreateDataSource/index.tsx @@ -12,7 +12,6 @@ import { mapDispatchToPropsEmpty } from '../../../../Common/utils/reactUtils'; import Tabbed from '../TabbedDataSourceConnection'; import { NotFoundError } from '../../../../Error/PageNotFound'; import { getDataSources } from '../../../../../metadata/selector'; -import { HerokuBanner } from './Neon/components/HerokuBanner/Banner'; import { Neon } from './Neon'; interface Props extends InjectedProps {} @@ -34,7 +33,6 @@ const CreateDataSource: React.FC = ({ dispatch, allDataSources }) => { dispatch={dispatch} /> -