Add Record Create action in the frontend (#8514)
In this PR: - Updated the front-end types for workflows to include CRUD actions and global naming changes - Allow users to create a Record Create action - Scaffold the edit for Record Create action; for now, I render a `<VariableTagInput />` component for every editable field; it's likely we'll change it soon Closes https://github.com/twentyhq/private-issues/issues/142 Demo: https://github.com/user-attachments/assets/6f0b207a-b7d2-46d9-b5ab-9e32bde55d76
This commit is contained in:
committed by
GitHub
parent
316537a68a
commit
c17e18b1e9
@ -1,5 +1,9 @@
|
||||
import { WorkflowStepType } from '@/workflow/types/Workflow';
|
||||
import { IconComponent, IconSettingsAutomation } from 'twenty-ui';
|
||||
import {
|
||||
IconAddressBook,
|
||||
IconComponent,
|
||||
IconSettingsAutomation,
|
||||
} from 'twenty-ui';
|
||||
|
||||
export const ACTIONS: Array<{
|
||||
label: string;
|
||||
@ -16,4 +20,9 @@ export const ACTIONS: Array<{
|
||||
type: 'SEND_EMAIL',
|
||||
icon: IconSettingsAutomation,
|
||||
},
|
||||
{
|
||||
label: 'Create Record',
|
||||
type: 'RECORD_CRUD.CREATE',
|
||||
icon: IconAddressBook,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user