Updates in the workflow actions config (#10080)
- Update discard draft icon - Pin `Remove from favorites` action - Update workflow action labels to add clarity Note: this is a small PR, the number of modified lines is due to the translations
This commit is contained in:
@ -35,6 +35,7 @@ import {
|
||||
IconHeartOff,
|
||||
IconHistory,
|
||||
IconHistoryToggle,
|
||||
IconNoteOff,
|
||||
IconPlayerPause,
|
||||
IconPlayerPlay,
|
||||
IconPlus,
|
||||
@ -97,7 +98,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
|
||||
shortLabel: msg`Discard Draft`,
|
||||
isPinned: true,
|
||||
position: 3,
|
||||
Icon: IconTrash,
|
||||
Icon: IconNoteOff,
|
||||
type: ActionMenuEntryType.Standard,
|
||||
scope: ActionMenuEntryScope.RecordSelection,
|
||||
availableOn: [
|
||||
@ -207,7 +208,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
|
||||
key: SingleRecordActionKeys.REMOVE_FROM_FAVORITES,
|
||||
label: msg`Remove from favorites`,
|
||||
shortLabel: msg`Remove from favorites`,
|
||||
isPinned: false,
|
||||
isPinned: true,
|
||||
position: 11,
|
||||
Icon: IconHeartOff,
|
||||
availableOn: [
|
||||
@ -220,7 +221,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
|
||||
type: ActionMenuEntryType.Standard,
|
||||
scope: ActionMenuEntryScope.RecordSelection,
|
||||
key: SingleRecordActionKeys.DELETE,
|
||||
label: msg`Delete record`,
|
||||
label: msg`Delete workflow`,
|
||||
shortLabel: msg`Delete`,
|
||||
position: 12,
|
||||
Icon: IconTrash,
|
||||
@ -236,7 +237,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
|
||||
type: ActionMenuEntryType.Standard,
|
||||
scope: ActionMenuEntryScope.RecordSelection,
|
||||
key: MultipleRecordsActionKeys.DELETE,
|
||||
label: msg`Delete records`,
|
||||
label: msg`Delete workflows`,
|
||||
shortLabel: msg`Delete`,
|
||||
position: 13,
|
||||
Icon: IconTrash,
|
||||
@ -265,7 +266,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
|
||||
type: ActionMenuEntryType.Standard,
|
||||
scope: ActionMenuEntryScope.RecordSelection,
|
||||
key: MultipleRecordsActionKeys.EXPORT,
|
||||
label: msg`Export records`,
|
||||
label: msg`Export Workflows`,
|
||||
shortLabel: msg`Export`,
|
||||
position: 15,
|
||||
Icon: IconDatabaseExport,
|
||||
@ -291,7 +292,7 @@ export const WORKFLOW_ACTIONS_CONFIG: Record<
|
||||
type: ActionMenuEntryType.Standard,
|
||||
scope: ActionMenuEntryScope.RecordSelection,
|
||||
key: MultipleRecordsActionKeys.DESTROY,
|
||||
label: msg`Permanently destroy records`,
|
||||
label: msg`Permanently destroy workflows`,
|
||||
shortLabel: msg`Destroy`,
|
||||
position: 17,
|
||||
Icon: IconTrashX,
|
||||
|
||||
Reference in New Issue
Block a user