Fix action selection design (#9748)

<img width="1512" alt="Capture d’écran 2025-01-20 à 16 24 22"
src="https://github.com/user-attachments/assets/fc1ce873-1b7b-49bc-9ab3-105e16adde2e"
/>
This commit is contained in:
Thomas Trompette
2025-01-20 17:56:19 +01:00
committed by GitHub
parent 4254ce9b2b
commit 8762af050a
8 changed files with 76 additions and 49 deletions

View File

@ -26,8 +26,10 @@ const StyledSectionTitle = styled.span`
color: ${({ theme }) => theme.font.color.tertiary};
font-size: ${({ theme }) => theme.font.size.sm};
font-weight: ${({ theme }) => theme.font.weight.medium};
padding: ${({ theme }) => theme.spacing(2)} ${({ theme }) => theme.spacing(1)}
${({ theme }) => theme.spacing(1)} ${({ theme }) => theme.spacing(1)};
padding-top: ${({ theme }) => theme.spacing(2)};
padding-bottom: ${({ theme }) => theme.spacing(1)};
padding-left: ${({ theme }) => theme.spacing(1)};
padding-right: ${({ theme }) => theme.spacing(1)};
`;
export const RightDrawerWorkflowSelectTriggerTypeContent = ({

View File

@ -1,6 +1,6 @@
import { WorkflowTriggerType } from '@/workflow/types/Workflow';
import { DatabaseTriggerName } from '@/workflow/workflow-trigger/constants/DatabaseTriggerName';
import { IconClick, IconComponent, IconPlus, IconTrash } from 'twenty-ui';
import { IconComponent, IconPlus, IconRefreshDot, IconTrash } from 'twenty-ui';
export const DATABASE_TRIGGER_TYPES: Array<{
name: DatabaseTriggerName;
@ -15,7 +15,7 @@ export const DATABASE_TRIGGER_TYPES: Array<{
{
name: DatabaseTriggerName.RECORD_IS_UPDATED,
type: 'DATABASE_EVENT',
icon: IconClick,
icon: IconRefreshDot,
},
{
name: DatabaseTriggerName.RECORD_IS_DELETED,

View File

@ -1,5 +1,5 @@
import { WorkflowTriggerType } from '@/workflow/types/Workflow';
import { IconComponent, IconSettingsAutomation } from 'twenty-ui';
import { IconClick, IconComponent } from 'twenty-ui';
export const OTHER_TRIGGER_TYPES: Array<{
name: string;
@ -9,6 +9,6 @@ export const OTHER_TRIGGER_TYPES: Array<{
{
name: 'Launch manually',
type: 'MANUAL',
icon: IconSettingsAutomation,
icon: IconClick,
},
];