diff --git a/packages/twenty-front/public/images/placeholders/background/loading_accounts_bg.png b/packages/twenty-front/public/images/placeholders/background/loading_accounts_bg.png new file mode 100644 index 000000000..a7230c59c Binary files /dev/null and b/packages/twenty-front/public/images/placeholders/background/loading_accounts_bg.png differ diff --git a/packages/twenty-front/public/images/placeholders/moving-image/loading_accounts.png b/packages/twenty-front/public/images/placeholders/moving-image/loading_accounts.png new file mode 100644 index 000000000..f24734e30 Binary files /dev/null and b/packages/twenty-front/public/images/placeholders/moving-image/loading_accounts.png differ diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsx index cfaaab37b..f49734460 100644 --- a/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsx +++ b/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsx @@ -1,17 +1,19 @@ import { Loader } from '@/ui/feedback/loader/components/Loader'; import AnimatedPlaceholder from '@/ui/layout/animated-placeholder/components/AnimatedPlaceholder'; import { - StyledEmptyContainer, - StyledEmptyTextContainer, - StyledEmptyTitle, + AnimatedPlaceholderEmptyContainer, + AnimatedPlaceholderEmptyTextContainer, + AnimatedPlaceholderEmptyTitle, } from '@/ui/layout/animated-placeholder/components/EmptyPlaceholderStyled'; export const EmailLoader = ({ loadingText }: { loadingText?: string }) => ( - + - - {loadingText || 'Loading emails'} + + + {loadingText || 'Loading emails'} + - - + + ); diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsx index f4edce412..e72bd7f3e 100644 --- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsx +++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsx @@ -20,10 +20,10 @@ import { import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar'; import AnimatedPlaceholder from '@/ui/layout/animated-placeholder/components/AnimatedPlaceholder'; import { - StyledEmptyContainer, - StyledEmptySubTitle, - StyledEmptyTextContainer, - StyledEmptyTitle, + AnimatedPlaceholderEmptyContainer, + AnimatedPlaceholderEmptySubTitle, + AnimatedPlaceholderEmptyTextContainer, + AnimatedPlaceholderEmptyTitle, } from '@/ui/layout/animated-placeholder/components/EmptyPlaceholderStyled'; import { Card } from '@/ui/layout/card/components/Card'; import { Section } from '@/ui/layout/section/components/Section'; @@ -155,15 +155,17 @@ export const EmailThreads = ({ if (!firstQueryLoading && !timelineThreads?.length) { return ( - + - - Empty Inbox - + + + Empty Inbox + + No email exchange has occurred with this record yet. - - - + + + ); } diff --git a/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx b/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx index 2f61f1c1e..d13871b40 100644 --- a/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx +++ b/packages/twenty-front/src/modules/activities/files/components/Attachments.tsx @@ -11,10 +11,10 @@ import { IconPlus } from '@/ui/display/icon'; import { Button } from '@/ui/input/button/components/Button'; import AnimatedPlaceholder from '@/ui/layout/animated-placeholder/components/AnimatedPlaceholder'; import { - StyledEmptyContainer, - StyledEmptySubTitle, - StyledEmptyTextContainer, - StyledEmptyTitle, + AnimatedPlaceholderEmptyContainer, + AnimatedPlaceholderEmptySubTitle, + AnimatedPlaceholderEmptyTextContainer, + AnimatedPlaceholderEmptyTitle, } from '@/ui/layout/animated-placeholder/components/EmptyPlaceholderStyled'; const StyledAttachmentsContainer = styled.div` @@ -66,14 +66,16 @@ export const Attachments = ({ onUploadFile={onUploadFile} /> ) : ( - + - - No Files - + + + No Files + + There are no associated files with this record. - - + + - + )} ); diff --git a/packages/twenty-front/src/modules/activities/notes/components/Notes.tsx b/packages/twenty-front/src/modules/activities/notes/components/Notes.tsx index 1b6e0010d..c55bd2fb7 100644 --- a/packages/twenty-front/src/modules/activities/notes/components/Notes.tsx +++ b/packages/twenty-front/src/modules/activities/notes/components/Notes.tsx @@ -8,10 +8,10 @@ import { IconPlus } from '@/ui/display/icon'; import { Button } from '@/ui/input/button/components/Button'; import AnimatedPlaceholder from '@/ui/layout/animated-placeholder/components/AnimatedPlaceholder'; import { - StyledEmptyContainer, - StyledEmptySubTitle, - StyledEmptyTextContainer, - StyledEmptyTitle, + AnimatedPlaceholderEmptyContainer, + AnimatedPlaceholderEmptySubTitle, + AnimatedPlaceholderEmptyTextContainer, + AnimatedPlaceholderEmptyTitle, } from '@/ui/layout/animated-placeholder/components/EmptyPlaceholderStyled'; const StyledNotesContainer = styled.div` @@ -33,14 +33,16 @@ export const Notes = ({ if (notes?.length === 0) { return ( - + - - No notes - + + + No notes + + There are no associated notes with this record. - - + +