From fcf66bc88151fb57a58c5148f49169d72e36bd80 Mon Sep 17 00:00:00 2001 From: TakuyaKurimoto <75765648+TakuyaKurimoto@users.noreply.github.com> Date: Wed, 12 Nov 2025 18:38:22 +0900 Subject: [PATCH] update Notes & Tasks to display the first-letter icon (#15729) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://github.com/twentyhq/twenty/issues/15630 ## Description I've updated the Notes & Tasks to display the first-letter icon. I only applied this change to the SummaryCard component to avoid conflict with the content of https://github.com/twentyhq/twenty/issues/6486. ## Test スクリーンショット 2025-11-09 19 02 41 スクリーンショット 2025-11-09 19 02 23 Co-authored-by: Takuya Kurimoto --- .../object-record/record-show/components/SummaryCard.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/twenty-front/src/modules/object-record/record-show/components/SummaryCard.tsx b/packages/twenty-front/src/modules/object-record/record-show/components/SummaryCard.tsx index 597aba92b9..bf095f91f5 100644 --- a/packages/twenty-front/src/modules/object-record/record-show/components/SummaryCard.tsx +++ b/packages/twenty-front/src/modules/object-record/record-show/components/SummaryCard.tsx @@ -1,4 +1,3 @@ -import { useGetStandardObjectIcon } from '@/object-metadata/hooks/useGetStandardObjectIcon'; import { useLabelIdentifierFieldMetadataItem } from '@/object-metadata/hooks/useLabelIdentifierFieldMetadataItem'; import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; @@ -45,7 +44,6 @@ export const SummaryCard = ({ objectRecordId, }); - const { Icon, IconColor } = useGetStandardObjectIcon(objectNameSingular); const isMobile = useIsMobile() || isInRightDrawer; const recordIdentifier = useRecoilValue( @@ -74,8 +72,6 @@ export const SummaryCard = ({ isMobile={isMobile} id={objectRecordId} logoOrAvatar={recordIdentifier?.avatarUrl ?? ''} - icon={Icon} - iconColor={IconColor} avatarPlaceholder={recordIdentifier?.name ?? ''} date={recordCreatedAt ?? ''} loading={