chore: fix height of reconnect modal (#40399)
Fixes #40391 /ok-to-test tags="@tag.ImportExport" <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Added support for an AI agent flow option in the SaaS datasource editor, enabling the editor to reflect the AI agent flow state in its interface. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/14703580804> > Commit: 4a8429f0d8492c67e6e5c715b31d9140b91079da > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14703580804&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.ImportExport` > Spec: > <hr>Mon, 28 Apr 2025 08:58:04 UTC <!-- end of auto-generated comment: Cypress test results -->
This commit is contained in:
parent
4941c3a87e
commit
6e715881a8
|
|
@ -94,6 +94,7 @@ import { FEATURE_FLAG } from "ee/entities/FeatureFlag";
|
||||||
import DatasourceTabs from "../DatasourceInfo/DatasorceTabs";
|
import DatasourceTabs from "../DatasourceInfo/DatasorceTabs";
|
||||||
import { getCurrentApplicationIdForCreateNewApp } from "ee/selectors/applicationSelectors";
|
import { getCurrentApplicationIdForCreateNewApp } from "ee/selectors/applicationSelectors";
|
||||||
import { convertToPageIdSelector } from "selectors/pageListSelectors";
|
import { convertToPageIdSelector } from "selectors/pageListSelectors";
|
||||||
|
import { getIsAiAgentFlowEnabled } from "ee/selectors/aiAgentSelectors";
|
||||||
|
|
||||||
const ViewModeContainer = styled.div`
|
const ViewModeContainer = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -188,6 +189,7 @@ interface SaasEditorWrappperProps {
|
||||||
datasourceId: string;
|
datasourceId: string;
|
||||||
pageId: string;
|
pageId: string;
|
||||||
pluginPackageName: string;
|
pluginPackageName: string;
|
||||||
|
isAiAgentFlowEnabled?: boolean;
|
||||||
}
|
}
|
||||||
interface RouteProps {
|
interface RouteProps {
|
||||||
datasourceId: string;
|
datasourceId: string;
|
||||||
|
|
@ -643,7 +645,9 @@ class DatasourceSaaSEditor extends JSONtoForm<Props, State> {
|
||||||
showingTabsOnViewMode && "saas-form-resizer-content-show-tabs"
|
showingTabsOnViewMode && "saas-form-resizer-content-show-tabs"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<DSEditorWrapper>
|
<DSEditorWrapper
|
||||||
|
isAiAgentFlowEnabled={this.props.isAiAgentFlowEnabled}
|
||||||
|
>
|
||||||
<DSDataFilter
|
<DSDataFilter
|
||||||
filterId={this.state.filterParams.id}
|
filterId={this.state.filterParams.id}
|
||||||
isInsideReconnectModal={!!isInsideReconnectModal}
|
isInsideReconnectModal={!!isInsideReconnectModal}
|
||||||
|
|
@ -852,6 +856,7 @@ const mapStateToProps = (state: AppState, props: any) => {
|
||||||
// should plugin be able to preview data
|
// should plugin be able to preview data
|
||||||
const isPluginAllowedToPreviewData =
|
const isPluginAllowedToPreviewData =
|
||||||
!!plugin && isEnabledForPreviewData(datasource as Datasource, plugin);
|
!!plugin && isEnabledForPreviewData(datasource as Datasource, plugin);
|
||||||
|
const isAiAgentFlowEnabled = getIsAiAgentFlowEnabled(state);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
datasource,
|
datasource,
|
||||||
|
|
@ -890,6 +895,7 @@ const mapStateToProps = (state: AppState, props: any) => {
|
||||||
isPluginAuthFailed,
|
isPluginAuthFailed,
|
||||||
featureFlags: selectFeatureFlags(state),
|
featureFlags: selectFeatureFlags(state),
|
||||||
isPluginAllowedToPreviewData,
|
isPluginAllowedToPreviewData,
|
||||||
|
isAiAgentFlowEnabled,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user