The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fixes for production (#13164)
Lucas Bordeaufd13bb025861
diff --git a/packages/twenty-front/src/modules/object-record/record-title-cell/hooks/useRecordTitleCell.tsx b/packages/twenty-front/src/modules/object-record/record-title-cell/hooks/useRecordTitleCell.tsxindex 060e482a39f..7490f053fff 100644--- a/packages/twenty-front/src/modules/object-record/record-title-cell/hooks/useRecordTitleCell.tsx+++ b/packages/twenty-front/src/modules/object-record/record-title-cell/hooks/useRecordTitleCell.tsx@@ -79,6 +79,10 @@ export const useRecordTitleCell = () => {prefix: containerType,}),},+ globalHotkeysConfig: {+ enableGlobalHotkeysConflictingWithKeyboard: false,+ enableGlobalHotkeysWithModifiers: false,+ },});const recordTitleCellId = getRecordFieldInputInstanceId({diff --git a/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx b/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsxindex de15f553a97..0595ae379ea 100644--- a/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx@@ -60,6 +60,15 @@ const StyledLightIconButton = styled(LightIconButton)<{: 'transparent'};`;+const StyledMatrixItem = styled.div`+ width: 32px;+ height: 32px;+ display: flex;+ align-items: center;+ justify-content: center;+ box-sizing: border-box;+`;+const convertIconKeyToLabel = (iconKey: string) =>iconKey.replace(/[A-Z]/g, (letter) => ` ${letter}`).trim();@@ -84,18 +93,20 @@ const IconPickerIcon = ({);return (- <SelectableListItem itemId={iconKey} onEnter={onClick}>- <StyledLightIconButton- key={iconKey}- aria-label={convertIconKeyToLabel(iconKey)}- size="medium"- title={iconKey}- isSelected={iconKey === selectedIconKey || !!isSelectedItemId}- isFocused={iconKey === focusedIconKey}- Icon={Icon}- onClick={onClick}- />- </SelectableListItem>+ <StyledMatrixItem>+ <SelectableListItem itemId={iconKey} onEnter={onClick}>+ <StyledLightIconButton+ key={iconKey}+ aria-label={convertIconKeyToLabel(iconKey)}+ size="medium"+ title={iconKey}+ isSelected={iconKey === selectedIconKey || !!isSelectedItemId}+ isFocused={iconKey === focusedIconKey}+ Icon={Icon}+ onClick={onClick}+ />+ </SelectableListItem>+ </StyledMatrixItem>);};diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/hooks/useOpenDropdown.ts b/packages/twenty-front/src/modules/ui/layout/dropdown/hooks/useOpenDropdown.tsindex 9059471efbf..61ac9968f92 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/hooks/useOpenDropdown.ts+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/hooks/useOpenDropdown.ts@@ -50,7 +50,14 @@ export const useOpenDropdown = () => {type: FocusComponentType.DROPDOWN,instanceId: dropdownComponentInstanceId,},- globalHotkeysConfig: args?.globalHotkeysConfig ?? undefined,+ globalHotkeysConfig: {+ enableGlobalHotkeysConflictingWithKeyboard:+ args?.globalHotkeysConfig+ ?.enableGlobalHotkeysConflictingWithKeyboard ?? false,+ enableGlobalHotkeysWithModifiers:+ args?.globalHotkeysConfig?.enableGlobalHotkeysWithModifiers ??+ false,+ },});},[