Skip to content

Conversation

ThomasCode92
Copy link
Owner

✨ Home Page & Onboarding Flow

This PR introduces a new home page and a user onboarding experience, including account-specific drive creation. When a user logs in, a root folder is automatically created for them (if it doesn't exist), enabling a seamless redirection to their personal drive.

🔧 What’s Included

  • 🚪 Home Page UI: Added a visually simple landing page as the app’s entry point.
  • 🧭 Onboarding Flow:
    • When a user signs in for the first time, a root folder is created in the database.
    • On subsequent logins, the app fetches the existing root folder.
    • Users are redirected to their drive after successful onboarding.
  • 🗃️ Database Integrations:
    • Mutation to create a root folder for new users.
    • Query to fetch the root folder by user ID.

📝 Notes

  • This sets the foundation for a multi-user environment.
  • Future improvements could include loading states and error handling for onboarding.

Copy link

netlify bot commented Jul 26, 2025

Deploy Preview for t4s-drive-tutorial ready!

Name Link
🔨 Latest commit c6251ff
🔍 Latest deploy log https://app.netlify.com/projects/t4s-drive-tutorial/deploys/6884e03165639a0008520327
😎 Deploy Preview https://deploy-preview-12--t4s-drive-tutorial.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ThomasCode92 ThomasCode92 merged commit 424c75a into main Jul 28, 2025
5 checks passed
@ThomasCode92 ThomasCode92 deleted the onboarding branch July 28, 2025 20:19
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