Skip to content

The open alternative to Salesforce, designed for AI.

Update dashboard Icons (#16605)

Raphaël Bosi5a5bf112cf59
diff --git a/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DashboardActionsConfig.tsx b/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DashboardActionsConfig.tsx
index 3bbd5726980..7738da3a637 100644
--- a/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DashboardActionsConfig.tsx
+++ b/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DashboardActionsConfig.tsx
@@ -14,10 +14,10 @@ import { PageLayoutSingleRecordActionKeys } from '@/page-layout/actions/PageLayo
import { msg } from '@lingui/core/macro';
import { isDefined } from 'twenty-shared/utils';
import {
+ IconCancel,
IconCopyPlus,
IconDeviceFloppy,
IconPencil,
- IconX,
} from 'twenty-ui/display';
export const DASHBOARD_ACTIONS_CONFIG = inheritActionsFromDefaultConfig({
@@ -63,7 +63,7 @@ export const DASHBOARD_ACTIONS_CONFIG = inheritActionsFromDefaultConfig({
shortLabel: msg`Cancel`,
isPinned: true,
position: 5,
- Icon: IconX,
+ Icon: IconCancel,
type: ActionType.Standard,
scope: ActionScope.RecordSelection,
shouldBeRegistered: ({ selectedRecord }) =>
diff --git a/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/DataLabelsSetting.ts b/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/DataLabelsSetting.ts
index a9b92256dfc..71066a1af57 100644
--- a/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/DataLabelsSetting.ts
+++ b/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/DataLabelsSetting.ts
@@ -1,11 +1,11 @@
import { CHART_CONFIGURATION_SETTING_LABELS } from '@/command-menu/pages/page-layout/constants/settings/ChartConfigurationSettingLabels';
import { CHART_CONFIGURATION_SETTING_IDS } from '@/command-menu/pages/page-layout/types/ChartConfigurationSettingIds';
import { type ChartSettingsItem } from '@/command-menu/pages/page-layout/types/ChartSettingsGroup';
-import { IconTag } from 'twenty-ui/display';
+import { IconBadge2k } from 'twenty-ui/display';
export const DATA_LABELS_SETTING: ChartSettingsItem = {
isBoolean: true,
- Icon: IconTag,
+ Icon: IconBadge2k,
label: CHART_CONFIGURATION_SETTING_LABELS.DATA_LABELS,
id: CHART_CONFIGURATION_SETTING_IDS.DATA_LABELS,
};
diff --git a/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/ShowLegendSetting.ts b/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/ShowLegendSetting.ts
index b511d0fb867..40e5d1048fa 100644
--- a/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/ShowLegendSetting.ts
+++ b/packages/twenty-front/src/modules/command-menu/pages/page-layout/constants/settings/ShowLegendSetting.ts
@@ -1,11 +1,11 @@
import { CHART_CONFIGURATION_SETTING_LABELS } from '@/command-menu/pages/page-layout/constants/settings/ChartConfigurationSettingLabels';
import { CHART_CONFIGURATION_SETTING_IDS } from '@/command-menu/pages/page-layout/types/ChartConfigurationSettingIds';
import { type ChartSettingsItem } from '@/command-menu/pages/page-layout/types/ChartSettingsGroup';
-import { IconList } from 'twenty-ui/display';
+import { IconTextCaption } from 'twenty-ui/display';
export const SHOW_LEGEND_SETTING: ChartSettingsItem = {
isBoolean: true,
- Icon: IconList,
+ Icon: IconTextCaption,
label: CHART_CONFIGURATION_SETTING_LABELS.SHOW_LEGEND,
id: CHART_CONFIGURATION_SETTING_IDS.SHOW_LEGEND,
dependsOn: [CHART_CONFIGURATION_SETTING_IDS.GROUP_BY],
diff --git a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
index c69dcfd6ebe..e7574581710 100644
--- a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
+++ b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
@@ -25,6 +25,7 @@ export {
IconAt,
IconAxisX,
IconAxisY,
+ IconBadge2k,
IconBaselineDensitySmall,
IconBell,
IconBlockquote,
@@ -56,6 +57,7 @@ export {
IconCalendarTime,
IconCalendarWeek,
IconCalendarX,
+ IconCancel,
IconCaretLeft,
IconCaretRight,
IconChartBar,
@@ -348,6 +350,7 @@ export {
IconTargetArrow,
IconTerminal,
IconTestPipe,
+ IconTextCaption,
IconTextSize,
IconTextWrap,
IconTimeDuration30,
diff --git a/packages/twenty-ui/src/display/icon/providers/internal/AllIcons.ts b/packages/twenty-ui/src/display/icon/providers/internal/AllIcons.ts
index 616a1ebf984..f746fc0736d 100644
--- a/packages/twenty-ui/src/display/icon/providers/internal/AllIcons.ts
+++ b/packages/twenty-ui/src/display/icon/providers/internal/AllIcons.ts
@@ -317,6 +317,7 @@ import {
IconBackslash,
IconBackspace,
IconBadge,
+ IconBadge2k,
IconBadge3d,
IconBadge4k,
IconBadge8k,
@@ -990,6 +991,7 @@ import {
IconCameraX,
IconCamper,
IconCampfire,
+ IconCancel,
IconCandle,
IconCandy,
IconCandyOff,
@@ -8363,4 +8365,6 @@ export const ALL_ICONS = {
IconZoomReset,
IconZzz,
IconZzzOff,
+ IconCancel,
+ IconBadge2k,
};
diff --git a/packages/twenty-ui/src/display/index.ts b/packages/twenty-ui/src/display/index.ts
index f127f75e6b0..5fa83cd63c0 100644
--- a/packages/twenty-ui/src/display/index.ts
+++ b/packages/twenty-ui/src/display/index.ts
@@ -90,6 +90,7 @@ export {
IconAt,
IconAxisX,
IconAxisY,
+ IconBadge2k,
IconBaselineDensitySmall,
IconBell,
IconBlockquote,
@@ -121,6 +122,7 @@ export {
IconCalendarTime,
IconCalendarWeek,
IconCalendarX,
+ IconCancel,
IconCaretLeft,
IconCaretRight,
IconChartBar,
@@ -413,6 +415,7 @@ export {
IconTargetArrow,
IconTerminal,
IconTestPipe,
+ IconTextCaption,
IconTextSize,
IconTextWrap,
IconTimeDuration30,