Skip to content

Add loader on workspace creation #12806

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

Merged
merged 2 commits into from
Jun 23, 2025
Merged

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Jun 23, 2025

Not my most brillant design but it should work!

Enregistrement.de.l.ecran.2025-06-23.a.23.17.02.mov

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

Added a multi-step loading animation to improve user experience during workspace creation, using framer-motion for smooth transitions.

  • Created PendingCreationLoaderStep enum to manage sequential loading states (database setup → schema creation → data prefilling)
  • Implemented StyledPendingCreationLoader with framer-motion animations to provide visual feedback during workspace setup
  • Added error handling to reset loader state if workspace creation fails
  • Modified the existing CreateWorkspace component to conditionally render either the loader or form

The enhancement provides better visual feedback during the workspace creation process, making the setup experience more polished and informative.

1 file reviewed, 2 comments
Edit PR Review Bot Settings | Greptile

@charlesBochet charlesBochet merged commit d8f4e7e into main Jun 23, 2025
37 checks passed
@charlesBochet charlesBochet deleted the workspace-creation-loader branch June 23, 2025 21:23
Copy link
Contributor

github-actions bot commented Jun 23, 2025

🚀 Preview Environment Ready!

Your preview environment is available at: http://bore.pub:12248

This environment will automatically shut down when the PR is closed or after 5 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant