Form action fast follows (#11242)

- on form action, add trash on hover and fix spacing
- fix dark mode
- second batch of icon fixes

<img width="692" alt="Capture d’écran 2025-03-27 à 18 25 48"
src="https://github.com/user-attachments/assets/963f50d2-12ee-425c-97a3-2ad0c6bb5c57"
/>
This commit is contained in:
Thomas Trompette
2025-03-28 10:11:01 +01:00
committed by GitHub
parent 78943b3370
commit 8d35454dd8
8 changed files with 116 additions and 75 deletions

View File

@ -39,7 +39,6 @@ import {
IconFileImport,
IconHeart,
IconHeartOff,
IconHistory,
IconHistoryToggle,
IconNoteOff,
IconPlayerPause,
@ -49,6 +48,7 @@ import {
IconRotate2,
IconTrash,
IconTrashX,
IconVersions,
} from 'twenty-ui';
export const WORKFLOW_ACTIONS_CONFIG: Record<
@ -120,7 +120,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
shortLabel: msg`See active version`,
isPinned: false,
position: 4,
Icon: IconHistory,
Icon: IconVersions,
type: ActionMenuEntryType.Standard,
scope: ActionMenuEntryScope.RecordSelection,
availableOn: [
@ -150,7 +150,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
shortLabel: msg`See versions`,
isPinned: false,
position: 6,
Icon: IconHistory,
Icon: IconVersions,
type: ActionMenuEntryType.Standard,
scope: ActionMenuEntryScope.RecordSelection,
availableOn: [

View File

@ -27,9 +27,9 @@ import {
IconEyeOff,
IconHeart,
IconHeartOff,
IconHistory,
IconRotate2,
IconSettingsAutomation,
IconVersions,
} from 'twenty-ui';
export const WORKFLOW_RUNS_ACTIONS_CONFIG: Record<
@ -61,7 +61,7 @@ export const WORKFLOW_RUNS_ACTIONS_CONFIG: Record<
isPinned: true,
type: ActionMenuEntryType.Standard,
scope: ActionMenuEntryScope.RecordSelection,
Icon: IconHistory,
Icon: IconVersions,
availableOn: [
ActionViewType.SHOW_PAGE,
ActionViewType.INDEX_PAGE_SINGLE_RECORD_SELECTION,

View File

@ -30,11 +30,11 @@ import {
IconEyeOff,
IconHeart,
IconHeartOff,
IconHistory,
IconHistoryToggle,
IconPencil,
IconRotate2,
IconSettingsAutomation,
IconVersions,
} from 'twenty-ui';
export const WORKFLOW_VERSIONS_ACTIONS_CONFIG: Record<
@ -95,7 +95,7 @@ export const WORKFLOW_VERSIONS_ACTIONS_CONFIG: Record<
position: 4,
type: ActionMenuEntryType.Standard,
scope: ActionMenuEntryScope.RecordSelection,
Icon: IconHistory,
Icon: IconVersions,
availableOn: [
ActionViewType.SHOW_PAGE,
ActionViewType.INDEX_PAGE_SINGLE_RECORD_SELECTION,