From 5a5bf112cf5963f44819a81e2857af576ca6f3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Tue, 16 Dec 2025 16:57:22 +0100 Subject: [PATCH] Update dashboard Icons (#16605) New Icons: CleanShot 2025-12-16 at 15 53 45@2x CleanShot 2025-12-16 at 15 54 19@2x CleanShot 2025-12-16 at 15 53 56@2x --- .../record-actions/constants/DashboardActionsConfig.tsx | 4 ++-- .../pages/page-layout/constants/settings/DataLabelsSetting.ts | 4 ++-- .../pages/page-layout/constants/settings/ShowLegendSetting.ts | 4 ++-- packages/twenty-ui/src/display/icon/components/TablerIcons.ts | 3 +++ .../twenty-ui/src/display/icon/providers/internal/AllIcons.ts | 4 ++++ packages/twenty-ui/src/display/index.ts | 3 +++ 6 files changed, 16 insertions(+), 6 deletions(-) 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 3bbd572698..7738da3a63 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 a9b92256df..71066a1af5 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 b511d0fb86..40e5d1048f 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 c69dcfd6eb..e757458171 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 616a1ebf98..f746fc0736 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 f127f75e6b..5fa83cd63c 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,