From b6e344e7be673c0d463e0288836a4beda9159e38 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Wed, 9 Apr 2025 01:03:43 +0200 Subject: [PATCH] Various fixes (#11448) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Scrollbar fix Fixes https://github.com/twentyhq/twenty/issues/11403 image --------- Co-authored-by: Félix Malfait --- packages/twenty-front/index.html | 2 +- ...sePageChangeEffectNavigateLocation.test.ts | 28 ++--- .../usePageChangeEffectNavigateLocation.ts | 8 +- .../components/UserOrMetadataLoader.tsx | 7 +- .../app/components/AppRouterProviders.tsx | 43 ++++--- .../effect-components/PageChangeEffect.tsx | 23 +++- .../auth/hooks/__tests__/useAuth.test.tsx | 20 +-- .../src/modules/auth/hooks/useAuth.ts | 20 +-- .../src/modules/auth/hooks/useVerifyLogin.ts | 9 -- .../components/SignInUpWorkspaceScopeForm.tsx | 3 +- .../hooks/useWorkspaceFromInviteHash.ts | 11 +- .../components/MainContextStoreProvider.tsx | 4 +- .../MainContextStoreProviderEffect.tsx | 9 +- .../components/ObjectMetadataItemsGater.tsx | 19 --- .../ObjectMetadataItemsProvider.tsx | 11 +- .../hooks/useRefreshObjectMetadataItem.ts | 3 +- .../useLazyLoadRecordIndexTable.test.tsx | 11 ++ .../components/RecordIndexPageHeader.tsx | 17 ++- .../hooks/useLazyLoadRecordIndexTable.ts | 13 +- .../RecordTableNoRecordGroupBodyEffect.tsx | 19 ++- .../RecordTableRecordGroupBodyEffect.tsx | 13 +- .../components/RecordTableCellContainer.tsx | 12 +- .../RecordTableCellFieldContextWrapper.tsx | 4 +- .../RecordTableCellSoftFocusMode.tsx | 117 ------------------ .../PrefetchRunFavoriteQueriesEffect.tsx | 18 +-- .../SignInBackgroundMockContainerEffect.tsx | 19 +-- .../ui/input/components/InputErrorHelper.tsx | 2 - .../hooks/__tests__/useShowAuthModal.test.tsx | 38 +++--- .../ui/layout/hooks/useShowAuthModal.ts | 41 ++---- .../ui/layout/modal/components/Modal.tsx | 1 + .../layout/page/components/DefaultLayout.tsx | 6 +- .../isDefaultLayoutAuthModalVisibleState.ts | 5 - .../scroll/components/ScrollWrapper.tsx | 4 +- .../src/pages/auth/PasswordReset.tsx | 13 +- .../src/pages/auth/SignInUpLoading.tsx | 92 +------------- .../pages/object-record/RecordIndexPage.tsx | 26 ++-- .../src/pages/onboarding/CreateWorkspace.tsx | 13 +- .../src/testing/decorators/PageDecorator.tsx | 6 +- .../email/email.module-factory.ts | 8 +- .../engine/core-modules/email/email.module.ts | 9 +- .../email/interfaces/email.interface.ts | 8 +- 41 files changed, 265 insertions(+), 470 deletions(-) delete mode 100644 packages/twenty-front/src/modules/object-metadata/components/ObjectMetadataItemsGater.tsx delete mode 100644 packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellSoftFocusMode.tsx delete mode 100644 packages/twenty-front/src/modules/ui/layout/states/isDefaultLayoutAuthModalVisibleState.ts diff --git a/packages/twenty-front/index.html b/packages/twenty-front/index.html index 99ae9850d..11818903d 100644 --- a/packages/twenty-front/index.html +++ b/packages/twenty-front/index.html @@ -60,7 +60,7 @@ } - +