Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to twenty-ui - layout/animated-placeholder #7794

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Conversation

gitstart-app[bot]
Copy link
Contributor

@gitstart-app gitstart-app bot commented Oct 17, 2024

This PR was created by GitStart to address the requirements from this ticket: TWNTY-7531.


Description

  • Migrate the animated-placeholder to twenty-ui and update all imports.

    Fixes twentyhq/private-issues#87

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This pull request migrates the animated-placeholder components from the twenty-front package to the twenty-ui library, updating import statements across multiple files.

  • Moved AnimatedPlaceholder and related components to packages/twenty-ui/src/layout/animated-placeholder/
  • Updated import statements in various files to use twenty-ui instead of local imports
  • Created new index files in twenty-ui to export the migrated components and constants
  • Maintained existing functionality of components while improving import structure
  • Ensured consistent naming conventions for exported styled components (e.g., prefixing with 'AnimatedPlaceholder')

20 file(s) reviewed, 19 comment(s)
Edit PR Review Bot Settings | Greptile

AnimatedPlaceholderEmptyContainer,
AnimatedPlaceholderEmptyTextContainer,
AnimatedPlaceholderEmptyTitle,
} from '@/ui/layout/animated-placeholder/components/EmptyPlaceholderStyled';
} from 'twenty-ui';

export const EmailLoader = ({ loadingText }: { loadingText?: string }) => (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Consider adding a type definition for the loadingText prop

@charlesBochet
Copy link
Member

@gitstart-twenty could you rebase this one? :)

@charlesBochet charlesBochet self-assigned this Oct 21, 2024
Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@charlesBochet charlesBochet merged commit dfcf3ef into main Oct 22, 2024
15 checks passed
@charlesBochet charlesBochet deleted the TWNTY-7531 branch October 22, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants