The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix/object detail recordcell tooltip (#6908)
Sandheep-OSC93991680a74a
diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsxindex 4c12e25417f..c77c19fa88c 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx@@ -1,13 +1,17 @@import { useTheme } from '@emotion/react';import styled from '@emotion/styled';import { ReactElement, useContext } from 'react';-import { AppTooltip, IconComponent, TooltipDelay } from 'twenty-ui';+import {+ AppTooltip,+ IconComponent,+ TooltipDelay,+ OverflowingTextWithTooltip,+} from 'twenty-ui';import { FieldContext } from '@/object-record/record-field/contexts/FieldContext';import { useFieldFocus } from '@/object-record/record-field/hooks/useFieldFocus';import { RecordInlineCellValue } from '@/object-record/record-inline-cell/components/RecordInlineCellValue';import { getRecordFieldInputId } from '@/object-record/utils/getRecordFieldInputId';-import { EllipsisDisplay } from '@/ui/field/display/components/EllipsisDisplay';import { HotkeyScope } from '@/ui/utilities/hotkey/types/HotkeyScope';import { useRecordInlineCellContext } from './RecordInlineCellContext';@@ -120,7 +124,7 @@ export const RecordInlineCellContainer = () => {)}{showLabel && label && (<StyledLabelContainer width={labelWidth}>- <EllipsisDisplay maxWidth={labelWidth}>{label}</EllipsisDisplay>+ <OverflowingTextWithTooltip text={label} /></StyledLabelContainer>)}{/* TODO: Displaying Tooltips on the board is causing performance issues https://react-tooltip.com/docs/examples/render */}