Skip to content

The open alternative to Salesforce, designed for AI.

Align front file names and folders with conventions (#27435)

Félix Malfait488c9aa3d3d3
diff --git a/packages/twenty-front/src/modules/accounts/types/CalendarChannel.ts b/packages/twenty-front/src/modules/accounts/types/CalendarChannel.ts
index 44905671cb1..0cf315ecdba 100644
--- a/packages/twenty-front/src/modules/accounts/types/CalendarChannel.ts
+++ b/packages/twenty-front/src/modules/accounts/types/CalendarChannel.ts
@@ -3,7 +3,7 @@ import {
type CalendarChannelSyncStage,
type CalendarChannelSyncStatus,
} from 'twenty-shared/types';
-import { type CalendarChannelVisibility } from '~/generated/graphql';
+import { type CalendarChannelVisibility } from '~/generated-metadata/graphql';
export type CalendarChannel = {
id: string;
diff --git a/packages/twenty-front/src/modules/accounts/types/MessageChannel.ts b/packages/twenty-front/src/modules/accounts/types/MessageChannel.ts
index 32227dfe17e..917d295f974 100644
--- a/packages/twenty-front/src/modules/accounts/types/MessageChannel.ts
+++ b/packages/twenty-front/src/modules/accounts/types/MessageChannel.ts
@@ -5,7 +5,7 @@ import {
type MessageChannelSyncStatus,
type MessageFolderImportPolicy,
} from 'twenty-shared/types';
-import { type MessageChannelVisibility } from '~/generated/graphql';
+import { type MessageChannelVisibility } from '~/generated-metadata/graphql';
export type MessageChannel = {
id: string;
diff --git a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx b/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx
index 5e5806515c1..430c1b55f1e 100644
--- a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx
+++ b/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx
@@ -1,6 +1,6 @@
import { UnavailableFilePreview } from '@/activities/files/components/UnavailableFilePreview';
import { VideoPreview } from '@/activities/files/components/VideoPreview';
-import { PREVIEWABLE_EXTENSIONS } from '@/activities/files/const/previewable-extensions.const';
+import { PREVIEWABLE_EXTENSIONS } from '@/activities/files/constants/PreviewableExtensions';
import { downloadFile } from '@/activities/files/utils/downloadFile';
import {
type CsvPreviewData,
diff --git a/packages/twenty-front/src/modules/activities/files/const/previewable-extensions.const.ts b/packages/twenty-front/src/modules/activities/files/constants/PreviewableExtensions.ts
similarity index 100%
rename from packages/twenty-front/src/modules/activities/files/const/previewable-extensions.const.ts
rename to packages/twenty-front/src/modules/activities/files/constants/PreviewableExtensions.ts
diff --git a/packages/twenty-front/src/modules/advanced-text-editor/constants/AdvancedTextEditorBlockCatalog.ts b/packages/twenty-front/src/modules/advanced-text-editor/constants/AdvancedTextEditorBlockCatalog.ts
index 34feef009b1..4cb63bb541e 100644
--- a/packages/twenty-front/src/modules/advanced-text-editor/constants/AdvancedTextEditorBlockCatalog.ts
+++ b/packages/twenty-front/src/modules/advanced-text-editor/constants/AdvancedTextEditorBlockCatalog.ts
@@ -2,9 +2,9 @@ import {
createColumnBlockContent,
createParagraphBlockContent,
} from '@/advanced-text-editor/constants/AdvancedTextEditorBlockContent';
-import { getAdvancedTextEditorContainerAppearanceSettings } from '@/advanced-text-editor/constants/getAdvancedTextEditorContainerAppearanceSettings';
-import { getAdvancedTextEditorTextBlockSettings } from '@/advanced-text-editor/constants/getAdvancedTextEditorTextBlockSettings';
-import { getAdvancedTextEditorTypographySettings } from '@/advanced-text-editor/constants/getAdvancedTextEditorTypographySettings';
+import { getAdvancedTextEditorContainerAppearanceSettings } from '@/advanced-text-editor/utils/getAdvancedTextEditorContainerAppearanceSettings';
+import { getAdvancedTextEditorTextBlockSettings } from '@/advanced-text-editor/utils/getAdvancedTextEditorTextBlockSettings';
+import { getAdvancedTextEditorTypographySettings } from '@/advanced-text-editor/utils/getAdvancedTextEditorTypographySettings';
import { ButtonNode } from '@/advanced-text-editor/extensions/blocks/ButtonNode';
import { ColumnNode } from '@/advanced-text-editor/extensions/blocks/ColumnNode';
import { ColumnsNode } from '@/advanced-text-editor/extensions/blocks/ColumnsNode';
diff --git a/packages/twenty-front/src/modules/advanced-text-editor/constants/getAdvancedTextEditorContainerAppearanceSettings.ts b/packages/twenty-front/src/modules/advanced-text-editor/utils/getAdvancedTextEditorContainerAppearanceSettings.ts
similarity index 100%
rename from packages/twenty-front/src/modules/advanced-text-editor/constants/getAdvancedTextEditorContainerAppearanceSettings.ts
rename to packages/twenty-front/src/modules/advanced-text-editor/utils/getAdvancedTextEditorContainerAppearanceSettings.ts
diff --git a/packages/twenty-front/src/modules/advanced-text-editor/constants/getAdvancedTextEditorTextBlockSettings.ts b/packages/twenty-front/src/modules/advanced-text-editor/utils/getAdvancedTextEditorTextBlockSettings.ts
similarity index 88%
rename from packages/twenty-front/src/modules/advanced-text-editor/constants/getAdvancedTextEditorTextBlockSettings.ts
rename to packages/twenty-front/src/modules/advanced-text-editor/utils/getAdvancedTextEditorTextBlockSettings.ts
index 139cd1e2498..96fef717893 100644
--- a/packages/twenty-front/src/modules/advanced-text-editor/constants/getAdvancedTextEditorTextBlockSettings.ts
+++ b/packages/twenty-front/src/modules/advanced-text-editor/utils/getAdvancedTextEditorTextBlockSettings.ts
@@ -1,4 +1,4 @@
-import { getAdvancedTextEditorTypographySettings } from '@/advanced-text-editor/constants/getAdvancedTextEditorTypographySettings';
+import { getAdvancedTextEditorTypographySettings } from '@/advanced-text-editor/utils/getAdvancedTextEditorTypographySettings';
import { type AdvancedTextEditorBlockSetting } from '@/advanced-text-editor/types/AdvancedTextEditorBlockCatalog';
import { msg } from '@lingui/core/macro';
diff --git a/packages/twenty-front/src/modules/advanced-text-editor/constants/getAdvancedTextEditorTypographySettings.ts b/packages/twenty-front/src/modules/advanced-text-editor/utils/getAdvancedTextEditorTypographySettings.ts
similarity index 100%
rename from packages/twenty-front/src/modules/advanced-text-editor/constants/getAdvancedTextEditorTypographySettings.ts
rename to packages/twenty-front/src/modules/advanced-text-editor/utils/getAdvancedTextEditorTypographySettings.ts
diff --git a/packages/twenty-front/src/modules/debug/components/ApolloDevLogEffect.tsx b/packages/twenty-front/src/modules/apollo/components/ApolloDevLogEffect.tsx
similarity index 100%
rename from packages/twenty-front/src/modules/debug/components/ApolloDevLogEffect.tsx
rename to packages/twenty-front/src/modules/apollo/components/ApolloDevLogEffect.tsx
diff --git a/packages/twenty-front/src/modules/apollo/constant/rest-api-base-url.ts b/packages/twenty-front/src/modules/apollo/constants/RestApiBaseUrl.ts
similarity index 100%
rename from packages/twenty-front/src/modules/apollo/constant/rest-api-base-url.ts
rename to packages/twenty-front/src/modules/apollo/constants/RestApiBaseUrl.ts
diff --git a/packages/twenty-front/src/modules/apollo/hooks/useApolloFactory.ts b/packages/twenty-front/src/modules/apollo/hooks/useApolloFactory.ts
index 22420f5aa02..bf1c31c8226 100644
--- a/packages/twenty-front/src/modules/apollo/hooks/useApolloFactory.ts
+++ b/packages/twenty-front/src/modules/apollo/hooks/useApolloFactory.ts
@@ -2,7 +2,7 @@ import { InMemoryCache } from '@apollo/client';
import { useMemo, useRef } from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
-import { ApolloFactory, type Options } from '@/apollo/services/apollo.factory';
+import { ApolloFactory, type Options } from '@/apollo/services/ApolloFactory';
import { ONGOING_USER_CREATION_PATHS } from '@/auth/constants/OngoingUserCreationPaths';
import { currentUserState } from '@/auth/states/currentUserState';
import { currentUserWorkspaceState } from '@/auth/states/currentUserWorkspaceState';
diff --git a/packages/twenty-front/src/modules/apollo/services/apollo.factory.ts b/packages/twenty-front/src/modules/apollo/services/ApolloFactory.ts
similarity index 98%
rename from packages/twenty-front/src/modules/apollo/services/apollo.factory.ts
rename to packages/twenty-front/src/modules/apollo/services/ApolloFactory.ts
index 6af4ea99bb5..6ef0ffbdb1b 100644
--- a/packages/twenty-front/src/modules/apollo/services/apollo.factory.ts
+++ b/packages/twenty-front/src/modules/apollo/services/ApolloFactory.ts
@@ -15,8 +15,8 @@ import { type CurrentWorkspace } from '@/auth/states/currentWorkspaceState';
import { getSessionGeneration } from '@/auth/utils/getSessionGeneration';
import { logDebug } from '~/utils/logDebug';
-import { REST_API_BASE_URL } from '@/apollo/constant/rest-api-base-url';
-import { type ApolloManager } from '@/apollo/types/apolloManager.interface';
+import { REST_API_BASE_URL } from '@/apollo/constants/RestApiBaseUrl';
+import { type ApolloManager } from '@/apollo/types/ApolloManager';
import { isUnauthenticatedGraphQLError } from '@/apollo/utils/isUnauthenticatedGraphQLError';
import { loggerLink } from '@/apollo/utils/loggerLink';
import { StreamingRestLink } from '@/apollo/utils/streamingRestLink';
diff --git a/packages/twenty-front/src/modules/apollo/services/__tests__/apollo.factory.test.ts b/packages/twenty-front/src/modules/apollo/services/__tests__/ApolloFactory.test.ts
similarity index 99%
rename from packages/twenty-front/src/modules/apollo/services/__tests__/apollo.factory.test.ts
rename to packages/twenty-front/src/modules/apollo/services/__tests__/ApolloFactory.test.ts
index b12ddca5d88..5d5f511a9a2 100644
--- a/packages/twenty-front/src/modules/apollo/services/__tests__/apollo.factory.test.ts
+++ b/packages/twenty-front/src/modules/apollo/services/__tests__/ApolloFactory.test.ts
@@ -2,7 +2,7 @@ import { gql, InMemoryCache } from '@apollo/client';
import { CombinedGraphQLErrors } from '@apollo/client/errors';
import fetchMock, { enableFetchMocks } from 'jest-fetch-mock';
-import { ApolloFactory, type Options } from '@/apollo/services/apollo.factory';
+import { ApolloFactory, type Options } from '@/apollo/services/ApolloFactory';
import { clearSessionGeneration } from '@/auth/utils/clearSessionGeneration';
import { getSessionGeneration } from '@/auth/utils/getSessionGeneration';
import { rotateSessionGeneration } from '@/auth/utils/rotateSessionGeneration';
diff --git a/packages/twenty-front/src/modules/apollo/types/apolloManager.interface.ts b/packages/twenty-front/src/modules/apollo/types/ApolloManager.ts
similarity index 99%
rename from packages/twenty-front/src/modules/apollo/types/apolloManager.interface.ts
rename to packages/twenty-front/src/modules/apollo/types/ApolloManager.ts
index c8bc9a387fe..8c4b28c93f9 100644
--- a/packages/twenty-front/src/modules/apollo/types/apolloManager.interface.ts
+++ b/packages/twenty-front/src/modules/apollo/types/ApolloManager.ts
@@ -1,5 +1,4 @@
import { type ApolloClient } from '@apollo/client';
-
import { type CurrentWorkspaceMember } from '@/auth/states/currentWorkspaceMemberState';
export interface ApolloManager {
diff --git a/packages/twenty-front/src/modules/app/components/App.tsx b/packages/twenty-front/src/modules/app/components/App.tsx
index c26a3d4c5cc..c2e59edeaab 100644
--- a/packages/twenty-front/src/modules/app/components/App.tsx
+++ b/packages/twenty-front/src/modules/app/components/App.tsx
@@ -1,7 +1,7 @@
import { DomainShell } from '@/app/components/DomainShell';
import { I18nActivationGate } from '@/app/components/I18nActivationGate';
import { LocaleDirectionProvider } from '@/app/components/LocaleDirectionProvider';
-import { ApolloDevLogEffect } from '@/debug/components/ApolloDevLogEffect';
+import { ApolloDevLogEffect } from '@/apollo/components/ApolloDevLogEffect';
import { AppErrorBoundary } from '@/error-handler/components/AppErrorBoundary';
import { AppRootErrorFallback } from '@/error-handler/components/AppRootErrorFallback';
import { ExceptionHandlerProvider } from '@/error-handler/components/ExceptionHandlerProvider';
diff --git a/packages/twenty-front/src/modules/app/effect-components/InitializeQueryParamStateEffect.tsx b/packages/twenty-front/src/modules/app/effect-components/InitializeQueryParamStateEffect.tsx
index b309c63ddee..37ef35a6805 100644
--- a/packages/twenty-front/src/modules/app/effect-components/InitializeQueryParamStateEffect.tsx
+++ b/packages/twenty-front/src/modules/app/effect-components/InitializeQueryParamStateEffect.tsx
@@ -1,7 +1,6 @@
import { useEffect } from 'react';
import { useLocation } from 'react-router-dom';
-
-import { useInitializeQueryParamState } from '~/modules/app/hooks/useInitializeQueryParamState';
+import { useInitializeQueryParamState } from '@/app/hooks/useInitializeQueryParamState';
export const InitializeQueryParamStateEffect = () => {
const location = useLocation();
diff --git a/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsx b/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsx
index 1d3216109e4..10d91f4bed0 100644
--- a/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsx
+++ b/packages/twenty-front/src/modules/app/effect-components/PageChangeEffect.tsx
@@ -36,7 +36,7 @@ import { matchPath, useLocation, useNavigate } from 'react-router-dom';
import { AppBasePath, AppPath, SidePanelPages } from 'twenty-shared/types';
import { isDefined } from 'twenty-shared/utils';
import { usePageChangeEffectNavigateLocation } from '~/hooks/usePageChangeEffectNavigateLocation';
-import { getPageLayoutIdForLocation } from '~/modules/app/utils/getPageLayoutIdForLocation';
+import { getPageLayoutIdForLocation } from '@/app/utils/getPageLayoutIdForLocation';
import { isMatchingLocation } from '~/utils/isMatchingLocation';
// TODO: break down into smaller functions and / or hooks
diff --git a/packages/twenty-front/src/modules/auth/components/Logo.tsx b/packages/twenty-front/src/modules/auth/components/Logo.tsx
index 984706ea5cf..d1b099c6977 100644
--- a/packages/twenty-front/src/modules/auth/components/Logo.tsx
+++ b/packages/twenty-front/src/modules/auth/components/Logo.tsx
@@ -7,7 +7,7 @@ import { getImageAbsoluteURI, isDefined } from 'twenty-shared/utils';
import { Avatar } from 'twenty-ui/primitives/data-display';
import { themeCssVariables } from 'twenty-ui/theme';
import { REACT_APP_SERVER_BASE_URL } from '~/config';
-import { useRedirectToDefaultDomain } from '~/modules/domain-manager/hooks/useRedirectToDefaultDomain';
+import { useRedirectToDefaultDomain } from '@/domain-manager/hooks/useRedirectToDefaultDomain';
type LogoProps = {
primaryLogo?: string | null;
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsx
index 7f4a09f5255..e24569c4e79 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsx
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsx
@@ -11,7 +11,7 @@ import { LastUsedPill } from '@/auth/sign-in-up/components/internal/LastUsedPill
import { SignInUpEmailField } from '@/auth/sign-in-up/components/internal/SignInUpEmailField';
import { SignInUpPasswordField } from '@/auth/sign-in-up/components/internal/SignInUpPasswordField';
import { StyledSsoButtonContainer } from '@/auth/sign-in-up/components/internal/SignInUpSsoButtonStyles';
-import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod.enum';
+import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod';
import { SignInUpMode } from '@/auth/types/SignInUpMode';
import { isRequestingCaptchaTokenState } from '@/captcha/states/isRequestingCaptchaTokenState';
import { captchaState } from '@/client-config/states/captchaState';
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsx
index 836a44ab351..594905f857f 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsx
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsx
@@ -6,7 +6,7 @@ import {
SignInUpStep,
signInUpStepState,
} from '@/auth/states/signInUpStepState';
-import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod.enum';
+import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod';
import { type SocialSsoSignInUpActionType } from '@/auth/types/SocialSsoSignInUpActionType';
import { useLingui } from '@lingui/react/macro';
import { memo } from 'react';
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsx
index bc39e801fd5..cfc0297dd6a 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsx
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsx
@@ -5,7 +5,7 @@ import {
SignInUpStep,
signInUpStepState,
} from '@/auth/states/signInUpStepState';
-import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod.enum';
+import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod';
import { type SocialSsoSignInUpActionType } from '@/auth/types/SocialSsoSignInUpActionType';
import { useLingui } from '@lingui/react/macro';
import { MainButton } from 'twenty-ui/components/input';
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsx
index d4b2ac811d1..272e091bee5 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsx
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsx
@@ -5,7 +5,7 @@ import {
SignInUpStep,
signInUpStepState,
} from '@/auth/states/signInUpStepState';
-import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod.enum';
+import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod';
import { workspaceAuthProvidersState } from '@/workspace/states/workspaceAuthProvidersState';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUp.ts b/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUp.ts
index 3c10d3227a3..b4658b1dcec 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUp.ts
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUp.ts
@@ -11,7 +11,7 @@ import {
signInUpStepState,
} from '@/auth/states/signInUpStepState';
import { workspacePublicDataState } from '@/auth/states/workspacePublicDataState';
-import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod.enum';
+import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod';
import { SignInUpMode } from '@/auth/types/SignInUpMode';
import { useReadCaptchaToken } from '@/captcha/hooks/useReadCaptchaToken';
import { useCaptcha } from '@/client-config/hooks/useCaptcha';
diff --git a/packages/twenty-front/src/modules/auth/states/lastAuthenticatedMethodState.ts b/packages/twenty-front/src/modules/auth/states/lastAuthenticatedMethodState.ts
index 109171a96c2..01882b97e39 100644
--- a/packages/twenty-front/src/modules/auth/states/lastAuthenticatedMethodState.ts
+++ b/packages/twenty-front/src/modules/auth/states/lastAuthenticatedMethodState.ts
@@ -1,4 +1,4 @@
-import { type AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod.enum';
+import { type AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod';
import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';
export const lastAuthenticatedMethodState =
diff --git a/packages/twenty-front/src/modules/auth/types/AuthenticatedMethod.enum.ts b/packages/twenty-front/src/modules/auth/types/AuthenticatedMethod.ts
similarity index 100%
rename from packages/twenty-front/src/modules/auth/types/AuthenticatedMethod.enum.ts
rename to packages/twenty-front/src/modules/auth/types/AuthenticatedMethod.ts
diff --git a/packages/twenty-front/src/modules/command-menu-item/engine-command/global/components/EditLayoutCommand.tsx b/packages/twenty-front/src/modules/command-menu-item/engine-command/global/components/EditLayoutCommand.tsx
index a96dd9fabb1..37ecb42e402 100644
--- a/packages/twenty-front/src/modules/command-menu-item/engine-command/global/components/EditLayoutCommand.tsx
+++ b/packages/twenty-front/src/modules/command-menu-item/engine-command/global/components/EditLayoutCommand.tsx
@@ -1,4 +1,4 @@
-import { useResetLocationHash } from '@/ui/navigation/utils/hooks/useResetLocationHash';
+import { useResetLocationHash } from '@/ui/navigation/hooks/useResetLocationHash';
import { HeadlessEngineCommandWrapperEffect } from '@/command-menu-item/engine-command/components/HeadlessEngineCommandWrapperEffect';
import { useEnterLayoutCustomizationMode } from '@/layout-customization/hooks/useEnterLayoutCustomizationMode';
diff --git a/packages/twenty-front/src/modules/command-menu-item/engine-command/record/no-selection/utils/getRecordCreationCommandType.util.spec.ts b/packages/twenty-front/src/modules/command-menu-item/engine-command/record/no-selection/utils/__tests__/getRecordCreationCommandType.test.ts
similarity index 100%
rename from packages/twenty-front/src/modules/command-menu-item/engine-command/record/no-selection/utils/getRecordCreationCommandType.util.spec.ts
rename to packages/twenty-front/src/modules/command-menu-item/engine-command/record/no-selection/utils/__tests__/getRecordCreationCommandType.test.ts
diff --git a/packages/twenty-front/src/modules/command-menu-item/engine-command/record/single-record/dashboard/components/EditDashboardSingleRecordCommand.tsx b/packages/twenty-front/src/modules/command-menu-item/engine-command/record/single-record/dashboard/components/EditDashboardSingleRecordCommand.tsx
index 0963c6d69da..0c91917145f 100644
--- a/packages/twenty-front/src/modules/command-menu-item/engine-command/record/single-record/dashboard/components/EditDashboardSingleRecordCommand.tsx
+++ b/packages/twenty-front/src/modules/command-menu-item/engine-command/record/single-record/dashboard/components/EditDashboardSingleRecordCommand.tsx
@@ -1,7 +1,7 @@
import { HeadlessEngineCommandWrapperEffect } from '@/command-menu-item/engine-command/components/HeadlessEngineCommandWrapperEffect';
import { useHeadlessCommandContextApi } from '@/command-menu-item/engine-command/hooks/useHeadlessCommandContextApi';
import { useSetIsPageLayoutInEditMode } from '@/page-layout/hooks/useSetIsPageLayoutInEditMode';
-import { useResetLocationHash } from '@/ui/navigation/utils/hooks/useResetLocationHash';
+import { useResetLocationHash } from '@/ui/navigation/hooks/useResetLocationHash';
import { isDefined } from 'twenty-shared/utils';
export const EditDashboardSingleRecordCommand = () => {
diff --git a/packages/twenty-front/src/modules/command-menu-item/engine-command/selectors/isEngineCommandMountedFamilySelector.ts b/packages/twenty-front/src/modules/command-menu-item/engine-command/states/selectors/isEngineCommandMountedFamilySelector.ts
similarity index 100%
rename from packages/twenty-front/src/modules/command-menu-item/engine-command/selectors/isEngineCommandMountedFamilySelector.ts
rename to packages/twenty-front/src/modules/command-menu-item/engine-command/states/selectors/isEngineCommandMountedFamilySelector.ts
diff --git a/packages/twenty-front/src/modules/command-menu-item/hooks/useCommandMenuItemClick.ts b/packages/twenty-front/src/modules/command-menu-item/hooks/useCommandMenuItemClick.ts
index acb2768bdbe..a79f13cf592 100644
--- a/packages/twenty-front/src/modules/command-menu-item/hooks/useCommandMenuItemClick.ts
+++ b/packages/twenty-front/src/modules/command-menu-item/hooks/useCommandMenuItemClick.ts
@@ -3,7 +3,7 @@ import { type CommandMenuItemDefinition } from '@/command-menu-item/types/Comman
import { CommandMenuContext } from '@/command-menu-item/contexts/CommandMenuContext';
import { useMountCommand } from '@/command-menu-item/engine-command/hooks/useMountCommand';
import { isPathCommandMenuItemPayload } from '@/command-menu-item/engine-command/utils/isPathCommandMenuItemPayload';
-import { isEngineCommandMountedFamilySelector } from '@/command-menu-item/engine-command/selectors/isEngineCommandMountedFamilySelector';
+import { isEngineCommandMountedFamilySelector } from '@/command-menu-item/engine-command/states/selectors/isEngineCommandMountedFamilySelector';
import { useCloseCommandMenu } from '@/command-menu-item/hooks/useCloseCommandMenu';
import { commandMenuItemProgressFamilyState } from '@/command-menu-item/states/commandMenuItemProgressFamilyState';
import { ContextStoreComponentInstanceContext } from '@/context-store/states/contexts/ContextStoreComponentInstanceContext';
diff --git a/packages/twenty-front/src/modules/command-menu-item/utils/buildGlobalRecordCreationCommandMenuItems.util.spec.ts b/packages/twenty-front/src/modules/command-menu-item/utils/__tests__/buildGlobalRecordCreationCommandMenuItems.test.ts
similarity index 100%
rename from packages/twenty-front/src/modules/command-menu-item/utils/buildGlobalRecordCreationCommandMenuItems.util.spec.ts
rename to packages/twenty-front/src/modules/command-menu-item/utils/__tests__/buildGlobalRecordCreationCommandMenuItems.test.ts
diff --git a/packages/twenty-front/src/modules/command-menu-item/utils/mergeGlobalRecordCreationCommandMenuItems.util.spec.ts b/packages/twenty-front/src/modules/command-menu-item/utils/__tests__/mergeGlobalRecordCreationCommandMenuItems.test.ts
similarity index 100%
rename from packages/twenty-front/src/modules/command-menu-item/utils/mergeGlobalRecordCreationCommandMenuItems.util.spec.ts
rename to packages/twenty-front/src/modules/command-menu-item/utils/__tests__/mergeGlobalRecordCreationCommandMenuItems.test.ts
diff --git a/packages/twenty-front/src/modules/front-components/utils/__tests__/getFingerprintedRestUrl.test.ts b/packages/twenty-front/src/modules/front-components/utils/__tests__/getFingerprintedRestUrl.test.ts
index aa5c8e6f5a8..2a9ff18e324 100644
--- a/packages/twenty-front/src/modules/front-components/utils/__tests__/getFingerprintedRestUrl.test.ts
+++ b/packages/twenty-front/src/modules/front-components/utils/__tests__/getFingerprintedRestUrl.test.ts
@@ -1,4 +1,4 @@
-import { REST_API_BASE_URL } from '@/apollo/constant/rest-api-base-url';
+import { REST_API_BASE_URL } from '@/apollo/constants/RestApiBaseUrl';
import { getFingerprintedRestUrl } from '@/front-components/utils/getFingerprintedRestUrl';
describe('getFingerprintedRestUrl', () => {
diff --git a/packages/twenty-front/src/modules/front-components/utils/__tests__/getSdkClientUrls.test.ts b/packages/twenty-front/src/modules/front-components/utils/__tests__/getSdkClientUrls.test.ts
index c16620d95c9..693ac855b0d 100644
--- a/packages/twenty-front/src/modules/front-components/utils/__tests__/getSdkClientUrls.test.ts
+++ b/packages/twenty-front/src/modules/front-components/utils/__tests__/getSdkClientUrls.test.ts
@@ -1,4 +1,4 @@
-import { REST_API_BASE_URL } from '@/apollo/constant/rest-api-base-url';
+import { REST_API_BASE_URL } from '@/apollo/constants/RestApiBaseUrl';
import { getSdkClientUrls } from '@/front-components/utils/getSdkClientUrls';
describe('getSdkClientUrls', () => {
diff --git a/packages/twenty-front/src/modules/front-components/utils/getFingerprintedRestUrl.ts b/packages/twenty-front/src/modules/front-components/utils/getFingerprintedRestUrl.ts
index 213678a576d..e0ac74bd105 100644
--- a/packages/twenty-front/src/modules/front-components/utils/getFingerprintedRestUrl.ts
+++ b/packages/twenty-front/src/modules/front-components/utils/getFingerprintedRestUrl.ts
@@ -1,4 +1,4 @@
-import { REST_API_BASE_URL } from '@/apollo/constant/rest-api-base-url';
+import { REST_API_BASE_URL } from '@/apollo/constants/RestApiBaseUrl';
import { isDefined } from 'twenty-shared/utils';
export const getFingerprintedRestUrl = ({
diff --git a/packages/twenty-front/src/modules/front-components/utils/getSdkClientUrls.ts b/packages/twenty-front/src/modules/front-components/utils/getSdkClientUrls.ts
index 9fde08ebc1e..b7abd069bd1 100644
--- a/packages/twenty-front/src/modules/front-components/utils/getSdkClientUrls.ts
+++ b/packages/twenty-front/src/modules/front-components/utils/getSdkClientUrls.ts
@@ -1,4 +1,4 @@
-import { REST_API_BASE_URL } from '@/apollo/constant/rest-api-base-url';
+import { REST_API_BASE_URL } from '@/apollo/constants/RestApiBaseUrl';
import { isDefined } from 'twenty-shared/utils';
import { type SdkClientChecksums } from '~/generated-metadata/graphql';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/common/constants/NavigationSections.constants.ts b/packages/twenty-front/src/modules/navigation-menu-item/common/constants/NavigationSections.ts
similarity index 100%
rename from packages/twenty-front/src/modules/navigation-menu-item/common/constants/NavigationSections.constants.ts
rename to packages/twenty-front/src/modules/navigation-menu-item/common/constants/NavigationSections.ts
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/NavigationItemDropTarget.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/NavigationItemDropTarget.tsx
index 4d88833de2d..f96493f45c2 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/NavigationItemDropTarget.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/NavigationItemDropTarget.tsx
@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';
import { type ReactNode, useContext } from 'react';
import { themeCssVariables } from 'twenty-ui/theme';
-import { type NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { type NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { NavigationDropTargetContext } from '@/navigation-menu-item/common/contexts/NavigationDropTargetContext';
const StyledDropTarget = styled.div<{
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/hooks/useNavigationMenuItemDndKit.ts b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/hooks/useNavigationMenuItemDndKit.ts
index 3de30285792..5db51ebf629 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/hooks/useNavigationMenuItemDndKit.ts
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/hooks/useNavigationMenuItemDndKit.ts
@@ -2,7 +2,7 @@ import { isSortable } from '@dnd-kit/react/sortable';
import { useCallback, useState } from 'react';
import { isDefined } from 'twenty-shared/utils';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import type { DraggableData } from '@/navigation-menu-item/common/types/NavigationMenuItemDndKitDraggableData';
import type { DropDestination } from '@/navigation-menu-item/common/types/NavigationMenuItemDndKitDropDestination';
import type { NavigationMenuItemDropResult } from '@/navigation-menu-item/common/types/NavigationMenuItemDropResult';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/NavigationMenuItemDndKitProvider.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/NavigationMenuItemDndKitProvider.tsx
index 2a473db46e7..6ca92192ea4 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/NavigationMenuItemDndKitProvider.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/NavigationMenuItemDndKitProvider.tsx
@@ -1,7 +1,7 @@
import { DragDropProvider } from '@dnd-kit/react';
import type { ReactNode } from 'react';
-import type { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import type { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { NavigationDragSourceContext } from '@/navigation-menu-item/common/contexts/NavigationDragSourceContext';
import { NavigationDropTargetContext } from '@/navigation-menu-item/common/contexts/NavigationDropTargetContext';
import { NavigationMenuItemDragContext } from '@/navigation-menu-item/common/contexts/NavigationMenuItemDragContext';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/PageDragDropProvider.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/PageDragDropProvider.tsx
index 6a3e272b2af..c7db08d1327 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/PageDragDropProvider.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/providers/PageDragDropProvider.tsx
@@ -1,6 +1,6 @@
import { lazy, Suspense, useState, type ReactNode } from 'react';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { PageDragDropProviderMountEffect } from '@/navigation-menu-item/display/dnd/providers/PageDragDropProviderMountEffect';
const LazyNavigationMenuItemDndKitProvider = lazy(() =>
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsx
index 7a52e777a4e..f1b61f83972 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsx
@@ -20,7 +20,7 @@ import { isLayoutCustomizationModeEnabledState } from '@/layout-customization/st
import { FOLDER_ICON_DEFAULT } from '@/navigation-menu-item/common/constants/FolderIconDefault';
import { DEFAULT_NAVIGATION_MENU_ITEM_COLOR_FOLDER } from '@/navigation-menu-item/common/constants/NavigationMenuItemDefaultColorFolder';
import { NAVIGATION_MENU_ITEM_SECTION_DROPPABLE_CONFIG } from '@/navigation-menu-item/common/constants/NavigationMenuItemSectionDroppableConfig';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { NavigationDropTargetContext } from '@/navigation-menu-item/common/contexts/NavigationDropTargetContext';
import { NavigationMenuItemDragContext } from '@/navigation-menu-item/common/contexts/NavigationMenuItemDragContext';
import { SortableDropTargetRefContext } from '@/navigation-menu-item/common/contexts/SortableDropTargetRefContext';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemOrphanDropTarget.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemOrphanDropTarget.tsx
index f3471c3c58c..7cb47960888 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemOrphanDropTarget.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemOrphanDropTarget.tsx
@@ -1,7 +1,7 @@
import type { ReactNode } from 'react';
import { NavigationMenuItemDroppableIds } from '@/navigation-menu-item/common/constants/NavigationMenuItemDroppableIds';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { getDndKitDropTargetId } from '@/navigation-menu-item/common/utils/getDndKitDropTargetId';
import { NavigationItemDropTarget } from '@/navigation-menu-item/display/dnd/components/NavigationItemDropTarget';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsx
index c5921657217..89371260417 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsx
@@ -8,7 +8,7 @@ import { themeCssVariables } from 'twenty-ui/theme';
import { type NavigationMenuItem } from '~/generated-metadata/graphql';
import { NavigationMenuItemDroppableIds } from '@/navigation-menu-item/common/constants/NavigationMenuItemDroppableIds';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { NavigationMenuItemDragContext } from '@/navigation-menu-item/common/contexts/NavigationMenuItemDragContext';
import { useDeleteManyNavigationMenuItems } from '@/navigation-menu-item/common/hooks/useDeleteManyNavigationMenuItems';
import { isNavigationMenuItemFolder } from '@/navigation-menu-item/common/utils/isNavigationMenuItemFolder';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsx
index 397e2c5dcda..0751bb5723a 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsx
@@ -1,5 +1,5 @@
import { isLayoutCustomizationModeEnabledState } from '@/layout-customization/states/isLayoutCustomizationModeEnabledState';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { NavigationMenuItemDndKitProvider } from '@/navigation-menu-item/display/dnd/providers/NavigationMenuItemDndKitProvider';
import { useSortedNavigationMenuItems } from '@/navigation-menu-item/display/hooks/useSortedNavigationMenuItems';
import { FavoritesSection } from '@/navigation-menu-item/display/sections/favorites/components/FavoritesSection';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/components/NavigationMenuItemInsertionPreview.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/components/NavigationMenuItemInsertionPreview.tsx
index 8c1f2280a60..bbb95a4c358 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/components/NavigationMenuItemInsertionPreview.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/components/NavigationMenuItemInsertionPreview.tsx
@@ -3,7 +3,7 @@ import { type NavigationDrawerSubItemState } from '@/ui/navigation/navigation-dr
import { useCallback } from 'react';
import { navigationMenuItemInsertionAnchorState } from '@/navigation-menu-item/common/states/navigationMenuItemInsertionAnchorState';
import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { navigationMenuItemInsertionPreviewState } from '@/navigation-menu-item/common/states/navigationMenuItemInsertionPreviewState';
import { NavigationDrawerItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItem';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/components/__stories__/NavigationMenuItemEditable.stories.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/components/__stories__/NavigationMenuItemEditable.stories.tsx
index 7aad68ea01f..b2804eed86d 100644
--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/components/__stories__/NavigationMenuItemEditable.stories.tsx
+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/components/__stories__/NavigationMenuItemEditable.stories.tsx
@@ -12,7 +12,7 @@ import { setTestViewsInMetadataStore } from '~/testing/utils/setTestViewsInMetad
import { navigationMenuItemIdToRenameState } from '@/navigation-menu-item/common/states/navigationMenuItemIdToRenameState';
import { selectedNavigationMenuItemIdInEditModeState } from '@/navigation-menu-item/common/states/selectedNavigationMenuItemIdInEditModeState';
import { Fragment } from 'react';
-import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections.constants';
+import { NavigationSections } from '@/navigation-menu-item/common/constants/NavigationSections';
import { NavigationItemDropTarget } from '@/navigation-menu-item/display/dnd/components/NavigationItemDropTarget';
import { type Meta, type StoryObj } from '@storybook/react-vite';
import { expect, fireEvent, userEvent, waitFor, within } from 'storybook/test';
diff --git a/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx b/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx
index 93a37e40d51..f72475fdc34 100644
--- a/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx
+++ b/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx
@@ -5,7 +5,7 @@ import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
import { useOpenRecordInSidePanel } from '@/side-panel/hooks/useOpenRecordInSidePanel';
import { AvatarOrIcon } from '@/ui/field/display/components/internal/AvatarOrIcon/AvatarOrIcon';
import { LinkChip } from '@/ui/navigation/link/components/LinkChip/LinkChip';
-import { type TriggerEventType } from '@/ui/navigation/utils/types/TriggerEventType';
+import { type TriggerEventType } from '@/ui/navigation/types/TriggerEventType';
import { t } from '@lingui/core/macro';
import { type MouseEvent } from 'react';
import { CoreObjectNameSingular, OpenRecordIn } from 'twenty-shared/types';
diff --git a/packages/twenty-front/src/modules/object-record/record-aggregate/utils/transformAggregateRawValueIntoAggregateDisplayValue.ts b/packages/twenty-front/src/modules/object-record/record-aggregate/utils/transformAggregateRawValueIntoAggregateDisplayValue.ts
index 6fc363aa752..eb42164b52e 100644
--- a/packages/twenty-front/src/modules/object-record/record-aggregate/utils/transformAggregateRawValueIntoAggregateDisplayValue.ts
+++ b/packages/twenty-front/src/modules/object-record/record-aggregate/utils/transformAggregateRawValueIntoAggregateDisplayValue.ts
@@ -4,8 +4,8 @@ import { type DateFormat } from '@/localization/constants/DateFormat';
import { type NumberFormat } from '@/localization/constants/NumberFormat';
import { type TimeFormat } from '@/localization/constants/TimeFormat';
import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';
-import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions';
-import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions';
+import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions';
+import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions';
import { type ExtendedAggregateOperations } from '@/object-record/record-table/types/ExtendedAggregateOperations';
import { FieldMetadataType, type Nullable } from 'twenty-shared/types';
diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldContext.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldContext.ts
index e28faf69bc7..48e707bed17 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldContext.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldContext.ts
@@ -2,7 +2,7 @@ import { createContext, type MouseEvent } from 'react';
import { type FieldDefinition } from '@/object-record/record-field/ui/types/FieldDefinition';
import { type FieldMetadata } from '@/object-record/record-field/ui/types/FieldMetadata';
-import { type TriggerEventType } from '@/ui/navigation/utils/types/TriggerEventType';
+import { type TriggerEventType } from '@/ui/navigation/types/TriggerEventType';
export type RecordUpdateHookParams = {
variables: {
diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/types/guards/isDateFIeldCustomDisplayFormat.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/types/guards/isDateFieldCustomDisplayFormat.ts
similarity index 100%
rename from packages/twenty-front/src/modules/object-record/record-field/ui/types/guards/isDateFIeldCustomDisplayFormat.ts
rename to packages/twenty-front/src/modules/object-record/record-field/ui/types/guards/isDateFieldCustomDisplayFormat.ts
diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownContent.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownContent.tsx
index abb0388c7fe..d4e88fd2dc2 100644
--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownContent.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownContent.tsx
@@ -4,9 +4,9 @@ import { RecordGroupAggregateDropdownMenuContent } from '@/object-record/record-
import { RecordGroupAggregateDropdownOptionsContent } from '@/object-record/record-group/components/RecordGroupAggregateDropdownOptionsContent';
import { RecordGroupAggregateDropdownContext } from '@/object-record/record-group/states/context/RecordGroupAggregateDropdownContext';
import { DateAggregateOperations } from '@/object-record/record-table/constants/DateAggregateOperations';
-import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions';
-import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/nonStandardAggregateOperationsOptions';
-import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions';
+import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions';
+import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/NonStandardAggregateOperationsOptions';
+import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions';
import { type AvailableFieldsForAggregateOperation } from '@/object-record/types/AvailableFieldsForAggregateOperation';
import { getAvailableFieldsIdsForAggregationFromObjectFields } from '@/object-record/utils/getAvailableFieldsIdsForAggregationFromObjectFields';
import { t } from '@lingui/core/macro';
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterDropdownContent.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterDropdownContent.tsx
index 0e710c871ea..178f1959d26 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterDropdownContent.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterDropdownContent.tsx
@@ -3,14 +3,13 @@ import { type DateAggregateOperations } from '@/object-record/record-table/const
import { RecordTableColumnAggregateFooterDropdownSubmenuContent } from '@/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateDropdownSubmenuContent';
import { RecordTableColumnAggregateFooterDropdownContext } from '@/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterDropdownContext';
import { RecordTableColumnAggregateFooterMenuContent } from '@/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent';
-import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions';
-import { DATE_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/dateAggregateOperationOptions';
-import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions';
-import { STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/standardAggregateOperationOptions';
+import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions';
+import { DATE_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/DateAggregateOperationOptions';
+import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions';
+import { STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/StandardAggregateOperationOptions';
import { getAvailableAggregateOperationsForFieldMetadataType } from '@/object-record/record-table/record-table-footer/utils/getAvailableAggregateOperationsForFieldMetadataType';
import { useContext } from 'react';
import { Dropdown } from 'twenty-ui/components/navigation';
-
import { useLingui } from '@lingui/react/macro';
export const RecordTableColumnAggregateFooterDropdownContent = () => {
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx
index e39223b01ac..05e5c4e0051 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx
@@ -1,7 +1,7 @@
import { type AggregateOperations } from '@/object-record/record-table/constants/AggregateOperations';
import { useRecordTableContextOrThrow } from '@/object-record/record-table/contexts/RecordTableContext';
import { RecordTableColumnAggregateFooterDropdownContext } from '@/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterDropdownContext';
-import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/nonStandardAggregateOperationsOptions';
+import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/NonStandardAggregateOperationsOptions';
import { useViewFieldAggregateOperation } from '@/object-record/record-table/record-table-footer/hooks/useViewFieldAggregateOperation';
import { getAvailableAggregateOperationsForFieldMetadataType } from '@/object-record/record-table/record-table-footer/utils/getAvailableAggregateOperationsForFieldMetadataType';
import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions.ts
similarity index 100%
rename from packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions.tsx
rename to packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions.ts
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/dateAggregateOperationOptions.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/DateAggregateOperationOptions.ts
similarity index 100%
rename from packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/dateAggregateOperationOptions.tsx
rename to packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/DateAggregateOperationOptions.ts
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/nonStandardAggregateOperationsOptions.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/NonStandardAggregateOperationsOptions.ts
similarity index 100%
rename from packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/nonStandardAggregateOperationsOptions.tsx
rename to packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/NonStandardAggregateOperationsOptions.ts
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions.ts
similarity index 100%
rename from packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions.tsx
rename to packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions.ts
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/standardAggregateOperationOptions.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/StandardAggregateOperationOptions.ts
similarity index 70%
rename from packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/standardAggregateOperationOptions.tsx
rename to packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/StandardAggregateOperationOptions.ts
index 7f16154d1ec..aeb5b5dea8f 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/standardAggregateOperationOptions.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/constants/StandardAggregateOperationOptions.ts
@@ -1,5 +1,5 @@
-import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions';
-import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions';
+import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions';
+import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions';
export const STANDARD_AGGREGATE_OPERATION_OPTIONS = [
...COUNT_AGGREGATE_OPERATION_OPTIONS,
diff --git a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleDoubleTextInput.tsx b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleDoubleTextInput.tsx
index 6d348c28ccc..7e9a8e03177 100644
--- a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleDoubleTextInput.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleDoubleTextInput.tsx
@@ -10,7 +10,7 @@ import { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useLis
import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';
import { isDefined } from 'twenty-shared/utils';
import { themeCssVariables } from 'twenty-ui/theme';
-import { splitFullName } from '~/utils/format/spiltFullName';
+import { splitFullName } from '~/utils/format/splitFullName';
import { turnIntoEmptyStringIfWhitespacesOnly } from '~/utils/string/turnIntoEmptyStringIfWhitespacesOnly';
const StyledContainer = styled.div`
diff --git a/packages/twenty-front/src/modules/object-record/utils/__tests__/getAvailableFieldsIdsForAggregationFromObjectFields.test.ts b/packages/twenty-front/src/modules/object-record/utils/__tests__/getAvailableFieldsIdsForAggregationFromObjectFields.test.ts
index 6242bbc2339..3641e8e6328 100644
--- a/packages/twenty-front/src/modules/object-record/utils/__tests__/getAvailableFieldsIdsForAggregationFromObjectFields.test.ts
+++ b/packages/twenty-front/src/modules/object-record/utils/__tests__/getAvailableFieldsIdsForAggregationFromObjectFields.test.ts
@@ -1,8 +1,8 @@
import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';
import { AggregateOperations } from '@/object-record/record-table/constants/AggregateOperations';
-import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions';
-import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/nonStandardAggregateOperationsOptions';
-import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions';
+import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions';
+import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/NonStandardAggregateOperationsOptions';
+import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions';
import { getAvailableFieldsIdsForAggregationFromObjectFields } from '@/object-record/utils/getAvailableFieldsIdsForAggregationFromObjectFields';
import { FieldMetadataType } from '~/generated-metadata/graphql';
diff --git a/packages/twenty-front/src/modules/object-record/utils/__tests__/initializeAvailableFieldsForAggregateOperationMap.test.ts b/packages/twenty-front/src/modules/object-record/utils/__tests__/initializeAvailableFieldsForAggregateOperationMap.test.ts
index 83e77f3efce..cfea86a00cc 100644
--- a/packages/twenty-front/src/modules/object-record/utils/__tests__/initializeAvailableFieldsForAggregateOperationMap.test.ts
+++ b/packages/twenty-front/src/modules/object-record/utils/__tests__/initializeAvailableFieldsForAggregateOperationMap.test.ts
@@ -1,7 +1,7 @@
import { AggregateOperations } from '@/object-record/record-table/constants/AggregateOperations';
import { FIELD_TYPES_AVAILABLE_FOR_NON_STANDARD_AGGREGATE_OPERATION } from '@/object-record/record-table/constants/FieldTypesAvailableForNonStandardAggregateOperation';
-import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/countAggregateOperationOptions';
-import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/percentAggregateOperationOptions';
+import { COUNT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/CountAggregateOperationOptions';
+import { PERCENT_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/PercentAggregateOperationOptions';
import { type AggregateOperationsOmittingStandardOperations } from '@/object-record/types/AggregateOperationsOmittingStandardOperations';
import { initializeAvailableFieldsForAggregateOperationMap } from '@/object-record/utils/initializeAvailableFieldsForAggregateOperationMap';
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetFilesPreview.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetFilesPreview.tsx
index 55309f72313..b7d1c73aecb 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetFilesPreview.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetFilesPreview.tsx
@@ -1,4 +1,4 @@
-import { PREVIEWABLE_EXTENSIONS } from '@/activities/files/const/previewable-extensions.const';
+import { PREVIEWABLE_EXTENSIONS } from '@/activities/files/constants/PreviewableExtensions';
import { downloadFile } from '@/activities/files/utils/downloadFile';
import { type FieldFilesValue } from '@/object-record/record-field/ui/types/FieldMetadata';
import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/constants/fieldWidgetConfig.ts b/packages/twenty-front/src/modules/page-layout/widgets/field/constants/FieldWidgetConfig.ts
similarity index 100%
rename from packages/twenty-front/src/modules/page-layout/widgets/field/constants/fieldWidgetConfig.ts
rename to packages/twenty-front/src/modules/page-layout/widgets/field/constants/FieldWidgetConfig.ts
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/utils/getFieldWidgetDisplayModeConfig.ts b/packages/twenty-front/src/modules/page-layout/widgets/field/utils/getFieldWidgetDisplayModeConfig.ts
index 1a23ec27769..93bb7827fbe 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/field/utils/getFieldWidgetDisplayModeConfig.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/utils/getFieldWidgetDisplayModeConfig.ts
@@ -1,7 +1,6 @@
import { type FieldMetadataType } from 'twenty-shared/types';
import { FieldDisplayMode, RelationType } from '~/generated-metadata/graphql';
-
-import { FIELD_WIDGET_CONFIG } from '@/page-layout/widgets/field/constants/fieldWidgetConfig';
+import { FIELD_WIDGET_CONFIG } from '@/page-layout/widgets/field/constants/FieldWidgetConfig';
export const getFieldWidgetConfig = (fieldType: FieldMetadataType) =>
FIELD_WIDGET_CONFIG[fieldType];
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx
index 379a4ef1f97..631e65467d5 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx
@@ -1,6 +1,6 @@
import { useIsPageLayoutInEditMode } from '@/page-layout/hooks/useIsPageLayoutInEditMode';
import { GraphWidgetLegendDot } from '@/page-layout/widgets/graph/components/GraphWidgetLegendDot';
-import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.constant';
+import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity';
import { LEGEND_ITEM_ESTIMATED_WIDTH } from '@/page-layout/widgets/graph/constants/LegendItemEstimatedWidth';
import { LEGEND_LABEL_MAX_WIDTH } from '@/page-layout/widgets/graph/constants/LegendLabelMaxWidth';
import { LEGEND_PAGINATION_CONTROLS_WIDTH } from '@/page-layout/widgets/graph/constants/LegendPaginationControlsWidth';
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.constant.ts b/packages/twenty-front/src/modules/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.ts
similarity index 100%
rename from packages/twenty-front/src/modules/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.constant.ts
rename to packages/twenty-front/src/modules/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.ts
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-bar-chart/utils/renderBars.ts b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-bar-chart/utils/renderBars.ts
index ab7c1754e16..2ea2125fd5d 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-bar-chart/utils/renderBars.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-bar-chart/utils/renderBars.ts
@@ -1,4 +1,4 @@
-import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.constant';
+import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity';
import { type BarPosition } from '@/page-layout/widgets/graph/graph-widget-bar-chart/types/BarPosition';
import {
drawHorizontalRoundedRect,
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/CustomLinesLayer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/CustomLinesLayer.tsx
index 6a7823e07e2..41e58add753 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/CustomLinesLayer.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/CustomLinesLayer.tsx
@@ -1,4 +1,4 @@
-import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.constant';
+import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity';
import { graphWidgetHighlightedLegendIdComponentState } from '@/page-layout/widgets/graph/states/graphWidgetHighlightedLegendIdComponentState';
import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
import { useAnimatedPath } from '@nivo/core';
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/LineAnimatedAreaPath.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/LineAnimatedAreaPath.tsx
index e528e52f695..927561f6ade 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/LineAnimatedAreaPath.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-line-chart/components/LineAnimatedAreaPath.tsx
@@ -1,4 +1,4 @@
-import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.constant';
+import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity';
import { graphWidgetHighlightedLegendIdComponentState } from '@/page-layout/widgets/graph/states/graphWidgetHighlightedLegendIdComponentState';
import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
import { useAnimatedPath } from '@nivo/core';
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/components/CustomArcsLayer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/components/CustomArcsLayer.tsx
index 4cef03be318..06b2f541792 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/components/CustomArcsLayer.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/components/CustomArcsLayer.tsx
@@ -1,4 +1,4 @@
-import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity.constant';
+import { LEGEND_HIGHLIGHT_DIMMED_OPACITY } from '@/page-layout/widgets/graph/constants/LegendHighlightDimmedOpacity';
import { type PieChartDataItemWithColor } from '@/page-layout/widgets/graph/graph-widget-pie-chart/types/PieChartDataItem';
import { graphWidgetHighlightedLegendIdComponentState } from '@/page-layout/widgets/graph/states/graphWidgetHighlightedLegendIdComponentState';
import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/constants/PieChartMaximumNumberOfSlices.constant.ts b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/constants/PieChartMaximumNumberOfSlices.ts
similarity index 100%
rename from packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/constants/PieChartMaximumNumberOfSlices.constant.ts
rename to packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-pie-chart/constants/PieChartMaximumNumberOfSlices.ts
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/utils/getChartValueFormatOptions.ts b/packages/twenty-front/src/modules/page-layout/widgets/graph/utils/getChartValueFormatOptions.ts
index 75a06053abf..37aa53bd57b 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/utils/getChartValueFormatOptions.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/utils/getChartValueFormatOptions.ts
@@ -1,6 +1,6 @@
import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';
import { type AggregateOperations } from '@/object-record/record-table/constants/AggregateOperations';
-import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/nonStandardAggregateOperationsOptions';
+import { NON_STANDARD_AGGREGATE_OPERATION_OPTIONS } from '@/object-record/record-table/record-table-footer/constants/NonStandardAggregateOperationsOptions';
import { getChartValueDisplayType } from '@/page-layout/widgets/graph/utils/getChartValueDisplayType';
import { type GraphValueFormatOptions } from '@/page-layout/widgets/graph/utils/graphFormatters';
import { FieldMetadataType } from 'twenty-shared/types';
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/utils/getWidgetCardVariant.ts b/packages/twenty-front/src/modules/page-layout/widgets/utils/getWidgetCardVariant.ts
index 5e88a999723..b9d87ce56f0 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/utils/getWidgetCardVariant.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/utils/getWidgetCardVariant.ts
@@ -1,5 +1,5 @@
import { PageLayoutType } from '~/generated-metadata/graphql';
-import { type WidgetCardVariant } from '~/modules/page-layout/widgets/types/WidgetCardVariant';
+import { type WidgetCardVariant } from '@/page-layout/widgets/types/WidgetCardVariant';
type GetWidgetCardVariantParams = {
isSideColumnContext: boolean;
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsx
index 549e63612cb..14f6f70c2e5 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsx
@@ -1,7 +1,7 @@
import { styled } from '@linaria/react';
import { isDefined } from 'twenty-shared/utils';
import { themeCssVariables } from 'twenty-ui/theme';
-import { type WidgetCardVariant } from '~/modules/page-layout/widgets/types/WidgetCardVariant';
+import { type WidgetCardVariant } from '@/page-layout/widgets/types/WidgetCardVariant';
import { isWidgetCardFlushInViewMode } from '@/page-layout/widgets/utils/isWidgetCardFlushInViewMode';
type WidgetCardStyledProps = {
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsx
index 0ab81705c23..bcd6515cda0 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsx
@@ -2,7 +2,7 @@ import { type WidgetContentPadding } from '@/page-layout/widgets/utils/getWidget
import { isWidgetCardFlushInViewMode } from '@/page-layout/widgets/utils/isWidgetCardFlushInViewMode';
import { styled } from '@linaria/react';
import { themeCssVariables } from 'twenty-ui/theme';
-import { type WidgetCardVariant } from '~/modules/page-layout/widgets/types/WidgetCardVariant';
+import { type WidgetCardVariant } from '@/page-layout/widgets/types/WidgetCardVariant';
const VERTICAL_LIST_IFRAME_HEIGHT = '40rem';
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx
index d69ffbdde49..7c4c3bacfc3 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx
@@ -9,7 +9,7 @@ import { Section } from 'twenty-ui/components/layout';
import { IconUserPlus } from 'twenty-ui/icon';
import { Card } from 'twenty-ui/primitives/surfaces';
import { themeCssVariables } from 'twenty-ui/theme';
-import { type CalendarChannelVisibility } from '~/generated/graphql';
+import { type CalendarChannelVisibility } from '~/generated-metadata/graphql';
const StyledDetailsContainer = styled.div`
display: flex;
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsx
index e1ad0773c72..2f4c22a5b73 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarVisibilitySettingsCard.tsx
@@ -3,8 +3,8 @@ import { styled } from '@linaria/react';
import { SettingsAccountsVisibilityIcon } from '@/settings/accounts/components/SettingsAccountsVisibilityIcon';
import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';
import { msg } from '@lingui/core/macro';
-import { CalendarChannelVisibility } from '~/generated/graphql';
import { themeCssVariables } from 'twenty-ui/theme';
+import { CalendarChannelVisibility } from '~/generated-metadata/graphql';
type SettingsAccountsEventVisibilitySettingsCardProps = {
onChange: (nextValue: CalendarChannelVisibility) => void;
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx
index 67d4486c6ae..cdadadcf890 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx
@@ -18,7 +18,7 @@ import { SettingsAccountsMessageFolderCard } from '@/settings/accounts/component
import { SettingsAccountsMessageVisibilityCard } from '@/settings/accounts/components/SettingsAccountsMessageVisibilityCard';
import { UPDATE_MESSAGE_CHANNEL } from '@/settings/accounts/graphql/mutations/updateMessageChannel';
import { SettingsOptionCardContentSwitch } from '@/settings/components/SettingsOptions/SettingsOptionCardContentSwitch';
-import { type MessageChannelVisibility } from '~/generated/graphql';
+import { type MessageChannelVisibility } from '~/generated-metadata/graphql';
type SettingsAccountsMessageChannelDetailsProps = {
messageChannel: Pick<
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsx
index f14777205e1..ab72a485a82 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageVisibilityCard.tsx
@@ -1,7 +1,7 @@
import { SettingsAccountsVisibilityIcon } from '@/settings/accounts/components/SettingsAccountsVisibilityIcon';
import { SettingsRadioSettingsCard } from '@/settings/components/SettingsRadioSettingsCard';
import { msg } from '@lingui/core/macro';
-import { MessageChannelVisibility } from '~/generated/graphql';
+import { MessageChannelVisibility } from '~/generated-metadata/graphql';
type SettingsAccountsMessageVisibilityCardProps = {
onChange: (nextValue: MessageChannelVisibility) => void;
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsx
index 3cd51a91159..806c7b6668d 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsx
@@ -29,7 +29,7 @@ import { Dropdown } from 'twenty-ui/components/navigation';
import { Link } from 'react-router-dom';
import { DELETE_CONNECTED_ACCOUNT } from '../graphql/mutations/deleteConnectedAccount';
import { DISCONNECT_CONNECTED_ACCOUNT } from '../graphql/mutations/disconnectConnectedAccount';
-import { isConnectedAccountEligibleForProviderReconnect } from '../constants/isConnectedAccountEligibleForProviderReconnect.const';
+import { isConnectedAccountEligibleForProviderReconnect } from '../utils/isConnectedAccountEligibleForProviderReconnect';
type SettingsAccountsRowDropdownMenuProps = {
account: ConnectedAccount;
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsCalendarChannelDetails.stories.tsx b/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsCalendarChannelDetails.stories.tsx
index 201a52b6ea8..22a7b1a95f8 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsCalendarChannelDetails.stories.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsCalendarChannelDetails.stories.tsx
@@ -2,9 +2,9 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';
import { SettingsAccountsCalendarChannelDetails } from '@/settings/accounts/components/SettingsAccountsCalendarChannelDetails';
import { ComponentDecorator } from 'twenty-ui/testing';
-import { CalendarChannelVisibility } from '~/generated/graphql';
import { ObjectMetadataItemsDecorator } from '~/testing/decorators/ObjectMetadataItemsDecorator';
import { ToastDecorator } from '~/testing/decorators/ToastDecorator';
+import { CalendarChannelVisibility } from '~/generated-metadata/graphql';
const meta: Meta<typeof SettingsAccountsCalendarChannelDetails> = {
title:
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsMessageChannelDetails.stories.tsx b/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsMessageChannelDetails.stories.tsx
index 84b8dd2aae6..5e4cd5ea4e4 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsMessageChannelDetails.stories.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/__stories__/SettingsAccountsMessageChannelDetails.stories.tsx
@@ -8,9 +8,9 @@ import {
MessageFolderImportPolicy,
} from 'twenty-shared/types';
import { ComponentDecorator } from 'twenty-ui/testing';
-import { MessageChannelVisibility } from '~/generated/graphql';
import { ObjectMetadataItemsDecorator } from '~/testing/decorators/ObjectMetadataItemsDecorator';
import { ToastDecorator } from '~/testing/decorators/ToastDecorator';
+import { MessageChannelVisibility } from '~/generated-metadata/graphql';
const mockedMessageChannel = {
id: '20202020-ef5a-4822-9e08-ce6e6a4dcb6a',
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/__stories__/mockedDropdownConnectedAccount.ts b/packages/twenty-front/src/modules/settings/accounts/components/__stories__/mockedDropdownConnectedAccount.ts
index 43be30f1501..272d4fe52bd 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/__stories__/mockedDropdownConnectedAccount.ts
+++ b/packages/twenty-front/src/modules/settings/accounts/components/__stories__/mockedDropdownConnectedAccount.ts
@@ -5,7 +5,7 @@ import {
CalendarChannelSyncStatus,
ConnectedAccountProvider,
} from 'twenty-shared/types';
-import { CalendarChannelVisibility } from '~/generated/graphql';
+import { CalendarChannelVisibility } from '~/generated-metadata/graphql';
export const mockedDropdownConnectedAccount: ConnectedAccount = {
id: 'connected-account',
diff --git a/packages/twenty-front/src/modules/settings/accounts/hooks/__tests__/useTriggerProviderReconnect.test.tsx b/packages/twenty-front/src/modules/settings/accounts/hooks/__tests__/useTriggerProviderReconnect.test.tsx
index 41ef5e74ba9..93c0ac8508f 100644
--- a/packages/twenty-front/src/modules/settings/accounts/hooks/__tests__/useTriggerProviderReconnect.test.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/hooks/__tests__/useTriggerProviderReconnect.test.tsx
@@ -1,11 +1,11 @@
-import {
- MessageChannelVisibility,
- CalendarChannelVisibility,
-} from '~/generated/graphql';
import { act, renderHook } from '@testing-library/react';
import { ConnectedAccountProvider, SettingsPath } from 'twenty-shared/types';
import { useTriggerProviderReconnect } from '@/settings/accounts/hooks/useTriggerProviderReconnect';
+import {
+ CalendarChannelVisibility,
+ MessageChannelVisibility,
+} from '~/generated-metadata/graphql';
const mockTriggerApisOAuth = jest.fn();
const mockNavigate = jest.fn();
diff --git a/packages/twenty-front/src/modules/settings/accounts/hooks/useTriggerApiOAuth.ts b/packages/twenty-front/src/modules/settings/accounts/hooks/useTriggerApiOAuth.ts
index f92fb1d8b2d..4d01e62a2eb 100644
--- a/packages/twenty-front/src/modules/settings/accounts/hooks/useTriggerApiOAuth.ts
+++ b/packages/twenty-front/src/modules/settings/accounts/hooks/useTriggerApiOAuth.ts
@@ -1,15 +1,15 @@
import { useMutation } from '@apollo/client/react';
-import {
- type MessageChannelVisibility,
- type CalendarChannelVisibility,
-} from '~/generated/graphql';
import { useCallback } from 'react';
import { type AppPath, ConnectedAccountProvider } from 'twenty-shared/types';
import { useRedirect } from '@/domain-manager/hooks/useRedirect';
import { CustomError } from 'twenty-shared/utils';
import { REACT_APP_SERVER_BASE_URL } from '~/config';
-import { GenerateTransientTokenDocument } from '~/generated-metadata/graphql';
+import {
+ type CalendarChannelVisibility,
+ GenerateTransientTokenDocument,
+ type MessageChannelVisibility,
+} from '~/generated-metadata/graphql';
const getProviderUrl = (provider: ConnectedAccountProvider) => {
switch (provider) {
diff --git a/packages/twenty-front/src/modules/settings/accounts/constants/isConnectedAccountEligibleForProviderReconnect.const.ts b/packages/twenty-front/src/modules/settings/accounts/utils/isConnectedAccountEligibleForProviderReconnect.ts
similarity index 100%
rename from packages/twenty-front/src/modules/settings/accounts/constants/isConnectedAccountEligibleForProviderReconnect.const.ts
rename to packages/twenty-front/src/modules/settings/accounts/utils/isConnectedAccountEligibleForProviderReconnect.ts
diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsx
index a8f7e4debea..448dbafb99c 100644
--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsx
+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsx
@@ -3,7 +3,7 @@ import { z } from 'zod';
import { validateCustomDateFormat } from '@/localization/utils/validateCustomDateFormat';
import { FieldDateDisplayFormat } from '@/object-record/record-field/ui/types/FieldMetadata';
-import { isDateFieldCustomDisplayFormat } from '@/object-record/record-field/ui/types/guards/isDateFIeldCustomDisplayFormat';
+import { isDateFieldCustomDisplayFormat } from '@/object-record/record-field/ui/types/guards/isDateFieldCustomDisplayFormat';
import { SettingsOptionCardContentSelect } from '@/settings/components/SettingsOptions/SettingsOptionCardContentSelect';
import { ADVANCED_SETTINGS_ANIMATION_DURATION } from '@/settings/constants/AdvancedSettingsAnimationDurations';
import { useDateSettingsFormInitialValues } from '@/settings/data-model/fields/forms/date/hooks/useDateSettingsFormInitialValues';
diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/tests/getRoleWithRemovedFieldPermission.spec.ts b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/__tests__/getRoleWithRemovedFieldPermission.test.ts
similarity index 100%
rename from packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/tests/getRoleWithRemovedFieldPermission.spec.ts
rename to packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/__tests__/getRoleWithRemovedFieldPermission.test.ts
diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/tests/getRoleWithUpsertedFieldPermission.spec.ts b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/__tests__/getRoleWithUpsertedFieldPermission.test.ts
similarity index 100%
rename from packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/tests/getRoleWithUpsertedFieldPermission.spec.ts
rename to packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/utils/__tests__/getRoleWithUpsertedFieldPermission.test.ts
diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsx
index 2ce64a4b6b8..1d19e0e638e 100644
--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsx
+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsx
@@ -1,6 +1,6 @@
import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
import { getToastOptionsFromError } from '@/error-handler/utils/getToastOptionsFromError';
-import { EDITABLE_PROFILE_FIELDS_DROPDOWN_ID } from '@/settings/security/constants/EditableProfileFields.constants';
+import { EDITABLE_PROFILE_FIELDS_DROPDOWN_ID } from '@/settings/security/constants/EditableProfileFields';
import { SelectControl } from '@/ui/input/components/SelectControl';
import { SelectOptionIcon } from '@/ui/input/components/SelectOptionIcon';
import { DropdownRoot } from '@/ui/layout/dropdown/components/DropdownRoot';
diff --git a/packages/twenty-front/src/modules/settings/security/constants/EditableProfileFields.constants.ts b/packages/twenty-front/src/modules/settings/security/constants/EditableProfileFields.ts
similarity index 100%
rename from packages/twenty-front/src/modules/settings/security/constants/EditableProfileFields.constants.ts
rename to packages/twenty-front/src/modules/settings/security/constants/EditableProfileFields.ts
diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/getChartLimitMessage.ts b/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/getChartLimitMessage.ts
index b12d4998e9e..87008a4b97f 100644
--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/getChartLimitMessage.ts
+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/getChartLimitMessage.ts
@@ -1,7 +1,7 @@
import { getDateGranularityPluralLabel } from '@/side-panel/pages/page-layout/utils/getDateGranularityPluralLabel';
import { BAR_CHART_CONSTANTS } from '@/page-layout/widgets/graph/graph-widget-bar-chart/constants/BarChartConstants';
import { LINE_CHART_CONSTANTS } from '@/page-layout/widgets/graph/graph-widget-line-chart/constants/LineChartConstants';
-import { PIE_CHART_MAXIMUM_NUMBER_OF_SLICES } from '@/page-layout/widgets/graph/graph-widget-pie-chart/constants/PieChartMaximumNumberOfSlices.constant';
+import { PIE_CHART_MAXIMUM_NUMBER_OF_SLICES } from '@/page-layout/widgets/graph/graph-widget-pie-chart/constants/PieChartMaximumNumberOfSlices';
import { t } from '@lingui/core/macro';
import { type ObjectRecordGroupByDateGranularity } from 'twenty-shared/types';
import { isDefined } from 'twenty-shared/utils';
diff --git a/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx
index 12f631e2964..40b8faeaa66 100644
--- a/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx
+++ b/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx
@@ -7,14 +7,13 @@ import {
type ClipboardEvent,
} from 'react';
import { Key } from 'ts-key-enum';
-
import { type FieldDoubleText } from '@/object-record/record-field/ui/types/FieldDoubleText';
import { FieldInputContainer } from '@/ui/field/input/components/FieldInputContainer';
import { useHotkeysOnFocusedElement } from '@/ui/utilities/hotkey/hooks/useHotkeysOnFocusedElement';
import { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside';
import { isDefined } from 'twenty-shared/utils';
-import { splitFullName } from '~/utils/format/spiltFullName';
+import { splitFullName } from '~/utils/format/splitFullName';
import { turnIntoEmptyStringIfWhitespacesOnly } from '~/utils/string/turnIntoEmptyStringIfWhitespacesOnly';
import { StyledTextInput } from './TextInput';
import { themeCssVariables } from 'twenty-ui/theme';
diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/utils/getDateMask.ts b/packages/twenty-front/src/modules/ui/input/components/internal/date/utils/getDateMask.ts
index 6f1fa5f85f8..2bcc236650c 100644
--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/utils/getDateMask.ts
+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/utils/getDateMask.ts
@@ -1,4 +1,4 @@
-import { DateFormat } from '~/modules/localization/constants/DateFormat';
+import { DateFormat } from '@/localization/constants/DateFormat';
export const getDateMask = (dateFormat: DateFormat): string => {
switch (dateFormat) {
diff --git a/packages/twenty-front/src/modules/ui/navigation/utils/hooks/useMouseDownNavigation.ts b/packages/twenty-front/src/modules/ui/navigation/hooks/useMouseDownNavigation.ts
similarity index 95%
rename from packages/twenty-front/src/modules/ui/navigation/utils/hooks/useMouseDownNavigation.ts
rename to packages/twenty-front/src/modules/ui/navigation/hooks/useMouseDownNavigation.ts
index a9fc5cc7ec4..17b50b7b253 100644
--- a/packages/twenty-front/src/modules/ui/navigation/utils/hooks/useMouseDownNavigation.ts
+++ b/packages/twenty-front/src/modules/ui/navigation/hooks/useMouseDownNavigation.ts
@@ -1,5 +1,5 @@
import { isNavigationModifierPressed } from '@/ui/navigation/utils/isNavigationModifierPressed';
-import { type TriggerEventType } from '@/ui/navigation/utils/types/TriggerEventType';
+import { type TriggerEventType } from '@/ui/navigation/types/TriggerEventType';
import { type MouseEvent } from 'react';
import { useNavigate } from 'react-router-dom';
import { isDefined } from 'twenty-ui/utilities';
diff --git a/packages/twenty-front/src/modules/ui/navigation/utils/hooks/useResetLocationHash.ts b/packages/twenty-front/src/modules/ui/navigation/hooks/useResetLocationHash.ts
similarity index 100%
rename from packages/twenty-front/src/modules/ui/navigation/utils/hooks/useResetLocationHash.ts
rename to packages/twenty-front/src/modules/ui/navigation/hooks/useResetLocationHash.ts
diff --git a/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/LinkChip.tsx b/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/LinkChip.tsx
index 0463a5e2a09..c45b0c133eb 100644
--- a/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/LinkChip.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/LinkChip.tsx
@@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
import { type LinkChipProps } from './types/LinkChipProps';
import { LINK_CHIP_CLICK_OUTSIDE_ID } from '@/ui/navigation/link/constants/LinkChipClickOutsideId';
-import { useMouseDownNavigation } from '@/ui/navigation/utils/hooks/useMouseDownNavigation';
+import { useMouseDownNavigation } from '@/ui/navigation/hooks/useMouseDownNavigation';
import { Chip } from 'twenty-ui/primitives/data-display';
const styles = {
diff --git a/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/types/LinkChipProps.ts b/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/types/LinkChipProps.ts
index 68718f31d28..6f9d254a01b 100644
--- a/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/types/LinkChipProps.ts
+++ b/packages/twenty-front/src/modules/ui/navigation/link/components/LinkChip/types/LinkChipProps.ts
@@ -1,4 +1,4 @@
-import { type TriggerEventType } from '@/ui/navigation/utils/types/TriggerEventType';
+import { type TriggerEventType } from '@/ui/navigation/types/TriggerEventType';
import { type ComponentPropsWithRef, type MouseEvent } from 'react';
import { type Link } from 'react-router-dom';
import { type ChipProps } from 'twenty-ui/primitives/data-display';
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx
index 66f122095a0..69fd4476bdf 100644
--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx
@@ -10,7 +10,7 @@ import { NAVIGATION_DRAWER_COLLAPSED_BUTTON_SIZE } from '@/ui/navigation/navigat
import { NavigationDrawerItemEditingContext } from '@/ui/navigation/navigation-drawer/contexts/NavigationDrawerItemEditingContext';
import { useNavigationDrawerTooltip } from '@/ui/navigation/navigation-drawer/hooks/useNavigationDrawerTooltip';
import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded';
-import { useMouseDownNavigation } from '@/ui/navigation/utils/hooks/useMouseDownNavigation';
+import { useMouseDownNavigation } from '@/ui/navigation/hooks/useMouseDownNavigation';
import { useIsMobile } from 'twenty-ui/utilities';
import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';
import { styled } from '@linaria/react';
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/types/NavigationDrawerItemProps.ts b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/types/NavigationDrawerItemProps.ts
index 75aefcfc603..70302ce78dd 100644
--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/types/NavigationDrawerItemProps.ts
+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/types/NavigationDrawerItemProps.ts
@@ -3,7 +3,7 @@ import { type IconComponent, type TablerIconsProps } from 'twenty-ui/icon';
import { type NavigationDrawerItemIndentationLevel } from './NavigationDrawerItemIndentationLevel';
import { type NavigationDrawerItemModifier } from './NavigationDrawerItemModifier';
import { type NavigationDrawerSubItemState } from './NavigationDrawerSubItemState';
-import { type TriggerEventType } from '@/ui/navigation/utils/types/TriggerEventType';
+import { type TriggerEventType } from '@/ui/navigation/types/TriggerEventType';
export type NavigationDrawerItemProps = {
className?: string;
diff --git a/packages/twenty-front/src/modules/ui/navigation/utils/types/TriggerEventType.ts b/packages/twenty-front/src/modules/ui/navigation/types/TriggerEventType.ts
similarity index 100%
rename from packages/twenty-front/src/modules/ui/navigation/utils/types/TriggerEventType.ts
rename to packages/twenty-front/src/modules/ui/navigation/types/TriggerEventType.ts
diff --git a/packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragement.ts b/packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragment.ts
similarity index 100%
rename from packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragement.ts
rename to packages/twenty-front/src/modules/users/graphql/fragments/currentBillingSubscriptionFragment.ts
diff --git a/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts b/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts
index 13a75c3620a..3ba98173549 100644
--- a/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts
+++ b/packages/twenty-front/src/modules/users/graphql/fragments/userQueryFragment.ts
@@ -7,7 +7,7 @@ import { ROLE_FRAGMENT } from '@/settings/roles/graphql/fragments/roleFragment';
import { ROW_LEVEL_PERMISSION_PREDICATE_FRAGMENT } from '@/settings/roles/graphql/fragments/rowLevelPermissionPredicateFragment';
import { ROW_LEVEL_PERMISSION_PREDICATE_GROUP_FRAGMENT } from '@/settings/roles/graphql/fragments/rowLevelPermissionPredicateGroupFragment';
import { BILLING_SUBSCRIPTION_FRAGMENT } from '@/users/graphql/fragments/billingSubscriptionsFragment';
-import { CURRENT_BILLING_SUBSCRIPTION_FRAGMENT } from '@/users/graphql/fragments/currentBillingSubscriptionFragement';
+import { CURRENT_BILLING_SUBSCRIPTION_FRAGMENT } from '@/users/graphql/fragments/currentBillingSubscriptionFragment';
import { WORKSPACE_URLS_FRAGMENT } from '@/users/graphql/fragments/workspaceUrlsFragment';
import { DELETED_WORKSPACE_MEMBER_QUERY_FRAGMENT } from '@/workspace-member/graphql/fragments/deletedWorkspaceMemberQueryFragment';
import { PARTIAL_WORKSPACE_MEMBER_QUERY_FRAGMENT } from '@/workspace-member/graphql/fragments/partialWorkspaceMemberQueryFragment';
diff --git a/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx b/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx
index 08b1f6ee004..7fc2892c1a4 100644
--- a/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx
+++ b/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx
@@ -21,13 +21,13 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomState
import { useLingui } from '@lingui/react/macro';
import { useCallback, useState } from 'react';
import { AppPath, ConnectedAccountProvider } from 'twenty-shared/types';
-import { PermissionFlagType } from '~/generated-metadata/graphql';
-import { IconGoogle, IconMicrosoft } from 'twenty-ui/icon';
-import { ImportContacts } from '~/pages/onboarding/ImportContacts';
import {
CalendarChannelVisibility,
MessageChannelVisibility,
-} from '~/generated/graphql';
+ PermissionFlagType,
+} from '~/generated-metadata/graphql';
+import { IconGoogle, IconMicrosoft } from 'twenty-ui/icon';
+import { ImportContacts } from '~/pages/onboarding/ImportContacts';
export const SyncEmails = () => {
const { t } = useLingui();
diff --git a/packages/twenty-front/src/pages/onboarding/__stories__/CreateProfile.stories.tsx b/packages/twenty-front/src/pages/onboarding/__stories__/CreateProfile.stories.tsx
index 26810566849..1bdf76766cb 100644
--- a/packages/twenty-front/src/pages/onboarding/__stories__/CreateProfile.stories.tsx
+++ b/packages/twenty-front/src/pages/onboarding/__stories__/CreateProfile.stories.tsx
@@ -5,7 +5,7 @@ import { within } from 'storybook/test';
import { AppPath } from 'twenty-shared/types';
import { OnboardingStatus } from '~/generated-metadata/graphql';
-import { GET_CURRENT_USER } from '~/modules/users/graphql/queries/getCurrentUser';
+import { GET_CURRENT_USER } from '@/users/graphql/queries/getCurrentUser';
import { CreateProfile } from '~/pages/onboarding/CreateProfile';
import {
PageDecorator,
diff --git a/packages/twenty-front/src/pages/onboarding/__stories__/InviteTeam.stories.tsx b/packages/twenty-front/src/pages/onboarding/__stories__/InviteTeam.stories.tsx
index 2afe05181e6..83dc8aaa389 100644
--- a/packages/twenty-front/src/pages/onboarding/__stories__/InviteTeam.stories.tsx
+++ b/packages/twenty-front/src/pages/onboarding/__stories__/InviteTeam.stories.tsx
@@ -5,7 +5,7 @@ import { expect, userEvent, waitFor, within } from 'storybook/test';
import { AppPath } from 'twenty-shared/types';
import { OnboardingStatus } from '~/generated-metadata/graphql';
-import { GET_CURRENT_USER } from '~/modules/users/graphql/queries/getCurrentUser';
+import { GET_CURRENT_USER } from '@/users/graphql/queries/getCurrentUser';
import { InviteTeam } from '~/pages/onboarding/InviteTeam';
import {
PageDecorator,
diff --git a/packages/twenty-front/src/pages/onboarding/__stories__/SyncEmails.stories.tsx b/packages/twenty-front/src/pages/onboarding/__stories__/SyncEmails.stories.tsx
index 67a586bbe6f..b7f2a6db03c 100644
--- a/packages/twenty-front/src/pages/onboarding/__stories__/SyncEmails.stories.tsx
+++ b/packages/twenty-front/src/pages/onboarding/__stories__/SyncEmails.stories.tsx
@@ -15,7 +15,7 @@ import {
OnboardingStatus,
PermissionFlagType,
} from '~/generated-metadata/graphql';
-import { GET_CURRENT_USER } from '~/modules/users/graphql/queries/getCurrentUser';
+import { GET_CURRENT_USER } from '@/users/graphql/queries/getCurrentUser';
import { SyncEmails } from '~/pages/onboarding/SyncEmails';
import {
PageDecorator,
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx
index f4e5ec1ab1a..6d224ada4eb 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx
@@ -11,7 +11,7 @@ import { Dropdown } from 'twenty-ui/components/navigation';
import { SettingsRow } from 'twenty-ui/components/settings';
import { IconSparkles } from 'twenty-ui/icon';
import { themeCssVariables } from 'twenty-ui/theme';
-import { useMarketplaceApps } from '~/modules/marketplace/hooks/useMarketplaceApps';
+import { useMarketplaceApps } from '@/marketplace/hooks/useMarketplaceApps';
import { SettingsAvailableApplicationCard } from '~/pages/settings/applications/components/SettingsAvailableApplicationCard';
const StyledSearchInputContainer = styled.div`
diff --git a/packages/twenty-front/src/pages/settings/members/roles/SettingsRoleEdit.tsx b/packages/twenty-front/src/pages/settings/members/roles/SettingsRoleEdit.tsx
index ce4008aa028..19bc039912f 100644
--- a/packages/twenty-front/src/pages/settings/members/roles/SettingsRoleEdit.tsx
+++ b/packages/twenty-front/src/pages/settings/members/roles/SettingsRoleEdit.tsx
@@ -5,7 +5,7 @@ import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAto
import { Navigate, useParams } from 'react-router-dom';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath, isDefined } from 'twenty-shared/utils';
-import { settingsPersistedRoleFamilyState } from '~/modules/settings/roles/states/settingsPersistedRoleFamilyState';
+import { settingsPersistedRoleFamilyState } from '@/settings/roles/states/settingsPersistedRoleFamilyState';
export const SettingsRoleEdit = () => {
const { roleId } = useParams();
diff --git a/packages/twenty-front/src/testing/decorators/PageDecorator.tsx b/packages/twenty-front/src/testing/decorators/PageDecorator.tsx
index ce341a659f1..2dc5ecdf734 100644
--- a/packages/twenty-front/src/testing/decorators/PageDecorator.tsx
+++ b/packages/twenty-front/src/testing/decorators/PageDecorator.tsx
@@ -15,7 +15,7 @@ import { DefaultLayout } from '@/ui/layout/page/components/DefaultLayout';
import { jotaiStore } from '@/ui/utilities/state/jotai/jotaiStore';
import { UserContextProvider } from '@/users/components/UserContextProvider';
import { type JSX, useState } from 'react';
-import { ClientConfigProvider } from '~/modules/client-config/components/ClientConfigProvider';
+import { ClientConfigProvider } from '@/client-config/components/ClientConfigProvider';
import { MockedMetadataLoadEffect } from '~/testing/decorators/MockedMetadataLoadEffect';
import { mockedApolloClient } from '~/testing/mockedApolloClient';
diff --git a/packages/twenty-front/src/modules/types/apollo-upload-client.d.ts b/packages/twenty-front/src/types/apollo-upload-client.d.ts
similarity index 100%
rename from packages/twenty-front/src/modules/types/apollo-upload-client.d.ts
rename to packages/twenty-front/src/types/apollo-upload-client.d.ts
diff --git a/packages/twenty-front/src/modules/types/global.d.ts b/packages/twenty-front/src/types/global.d.ts
similarity index 100%
rename from packages/twenty-front/src/modules/types/global.d.ts
rename to packages/twenty-front/src/types/global.d.ts
diff --git a/packages/twenty-front/src/utils/format/__tests__/spiltFullName.test.ts b/packages/twenty-front/src/utils/format/__tests__/splitFullName.test.ts
similarity index 97%
rename from packages/twenty-front/src/utils/format/__tests__/spiltFullName.test.ts
rename to packages/twenty-front/src/utils/format/__tests__/splitFullName.test.ts
index 3bfcaa8e7a8..5ba3bc36bac 100644
--- a/packages/twenty-front/src/utils/format/__tests__/spiltFullName.test.ts
+++ b/packages/twenty-front/src/utils/format/__tests__/splitFullName.test.ts
@@ -1,4 +1,4 @@
-import { splitFullName } from '~/utils/format/spiltFullName';
+import { splitFullName } from '~/utils/format/splitFullName';
describe('splitFullName', () => {
it('should split a full name with two parts', () => {
diff --git a/packages/twenty-front/src/utils/format/spiltFullName.ts b/packages/twenty-front/src/utils/format/splitFullName.ts
similarity index 100%
rename from packages/twenty-front/src/utils/format/spiltFullName.ts
rename to packages/twenty-front/src/utils/format/splitFullName.ts