/ok-to-test tags="@tag.Sanity" <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/14994848262> > Commit: 64bdb8cd0606bbc4c1b11d69b2d0e7cd7b5dd78a > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14994848262&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Tue, 13 May 2025 11:39:41 UTC <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new feature flag for AI agent instances, allowing for more granular control over AI agent-related functionality. - **Refactor** - Updated various components and selectors to use the new AI agent instance feature flag and related selectors, replacing previous flags and logic. - Separated agent and non-agent template handling for clearer template management. - Improved feature flag override capabilities, enabling dynamic overrides via external sources. - Added new selectors to better represent AI agent app and creation states. - Refined UI components and modals to reflect updated AI agent state flags. - Enhanced user authentication and signup flows with updated feature flag conditions. - **Bug Fixes** - Ensured consistent UI behavior and conditional rendering based on the updated feature flag logic. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
33 lines
644 B
TypeScript
33 lines
644 B
TypeScript
import { noop } from "lodash";
|
|
|
|
export const toggleAISupportModal = noop;
|
|
|
|
// just a placeholder action to avoid type errors
|
|
export const setCreateAgentModalOpen = ({ isOpen }: { isOpen: boolean }) => ({
|
|
type: "",
|
|
payload: { isOpen },
|
|
});
|
|
|
|
export const openCarbonModal = ({ shouldOpen }: { shouldOpen: boolean }) => ({
|
|
type: "",
|
|
payload: { shouldOpen },
|
|
});
|
|
|
|
export const toggleFCIntegrations = ({
|
|
isEnabled,
|
|
}: {
|
|
isEnabled: boolean;
|
|
}) => ({
|
|
type: "",
|
|
payload: { isEnabled },
|
|
});
|
|
|
|
export const setIsCreatingAgent = ({
|
|
isCreatingAgent,
|
|
}: {
|
|
isCreatingAgent: boolean;
|
|
}) => ({
|
|
type: "",
|
|
payload: { isCreatingAgent },
|
|
});
|