Refactor record-field into ui sub-folder (#13888)
This PR prepares the refactor of record field definition and column definition. We need to separate the two concepts of FieldInput and FieldContext at the cell level, and the new RecordField concept that will replace FieldDefinition at the metadata and state level. So we create a new ui sub-folder in the already existing record-field folder, in order to separate those two concepts that are still very close.
This commit is contained in:
@@ -3,7 +3,7 @@ import { useCallback, useState } from 'react';
|
||||
import { SELECT_AUTOCOMPLETE_LIST_DROPDOWN_ID } from '@/geo-map/constants/SelectAutocompleteListDropDownId';
|
||||
import { useGetPlaceApiData } from '@/geo-map/hooks/useGetPlaceApiData';
|
||||
import { type PlaceAutocompleteResult } from '@/geo-map/types/placeApi';
|
||||
import { type FieldAddressDraftValue } from '@/object-record/record-field/types/FieldInputDraftValue';
|
||||
import { type FieldAddressDraftValue } from '@/object-record/record-field/ui/types/FieldInputDraftValue';
|
||||
import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';
|
||||
import { useOpenDropdown } from '@/ui/layout/dropdown/hooks/useOpenDropdown';
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { type RefObject, useCallback, useState } from 'react';
|
||||
import { useCallback, useState, type RefObject } from 'react';
|
||||
|
||||
import { type FieldAddressDraftValue } from '@/object-record/record-field/types/FieldInputDraftValue';
|
||||
import { type FieldAddressDraftValue } from '@/object-record/record-field/ui/types/FieldInputDraftValue';
|
||||
|
||||
export const useFocusManagement = (
|
||||
inputRefs: {
|
||||
|
||||
Reference in New Issue
Block a user