Skip to content

Commit

Permalink
fix: moved ce and ee files to common for premium datasources
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanAgarwal041 committed Dec 17, 2024
1 parent 4c9b970 commit c70d641
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 16 deletions.
1 change: 0 additions & 1 deletion app/client/src/ee/constants/PremiumDatasourcesConstants.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion app/client/src/ee/utils/PremiumDatasourcesHelpers.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import AIDataSources from "./AIDataSources";
import Debugger from "../DataSourceEditor/Debugger";
import { isPluginActionCreating } from "PluginActionEditor/store";
import RequestNewIntegration from "./RequestNewIntegration";
import PremiumDatasources from "ee/pages/IntegrationEditor/PremiumDatasources";
import PremiumDatasources from "pages/Editor/IntegrationEditor/PremiumDatasources";

const NewIntegrationsContainer = styled.div`
${thinScrollbar};
Expand Down Expand Up @@ -133,8 +133,8 @@ function CreateNewDatasource({
isOnboardingScreen,
isPremiumDatasourcesViewEnabled,
pageId,
showMostPopularPlugins, // TODO: Fix this the next time the file is edited
showUnsupportedPluginDialog,
showMostPopularPlugins,
showUnsupportedPluginDialog, // TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
}: any) {
const editorType = useEditorType(location.pathname);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
handleLearnMoreClick,
handleSubmitEvent,
shouldLearnMoreButtonBeVisible,
} from "ee/utils/PremiumDatasourcesHelpers";
} from "utils/PremiumDatasourcesHelpers";

const FormWrapper = styled.form`
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import React, { useState } from "react";
import {
ApiCard,
CardContentWrapper,
} from "../../../../pages/Editor/IntegrationEditor/NewApi";
import { ApiCard, CardContentWrapper } from "../NewApi";
import { getAssetUrl } from "ee/utils/airgapHelpers";
import { Modal, ModalContent, Tag } from "@appsmith/ads";
import styled from "styled-components";
import ContactForm from "./ContactForm";
import { PREMIUM_INTEGRATIONS } from "ee/constants/PremiumDatasourcesConstants";
import { PREMIUM_INTEGRATIONS } from "constants/PremiumDatasourcesConstants";
import {
getTagText,
handlePremiumDatasourceClick,
} from "ee/utils/PremiumDatasourcesHelpers";
} from "utils/PremiumDatasourcesHelpers";
import { isFreePlan } from "ee/selectors/tenantSelectors";
import { useSelector } from "react-redux";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createMessage, PREMIUM_DATASOURCES } from "ee/constants/messages";
import AnalyticsUtil from "./AnalyticsUtil";
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
import { isRelevantEmail } from "utils/formhelpers";

export const getTagText = (isBusinessOrEnterprise?: boolean) => {
Expand Down

0 comments on commit c70d641

Please sign in to comment.