You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cloud): redirect to tasks when initial login (#3064)
### TL;DR
Added custom error handling, 404 pages, and improved the onboarding flow with organization selection.
### What changed?
- Added a custom 404 page with a "Go home" button
- Created a centralized `RouteError` component for consistent error handling across routes
- Added an onboarding flow with organization selection
- Removed the standalone organizations index page in favor of the new onboarding flow
- Enhanced the `FullscreenLoading` component to accept children
- Fixed UI issues in the user dropdown by adding truncation to long usernames
- Added fallback text for unknown projects and namespaces
- Added Clerk task URLs for organization selection
- Improved the project selection UI with better layout and styling
### How to test?
1. Test the 404 page by navigating to a non-existent route
2. Test error handling by triggering API errors
3. Test the onboarding flow by signing up as a new user
4. Verify that long usernames are properly truncated in the user dropdown
5. Check that the organization selection flow works correctly
6. Verify that the "Unknown Project" and "Unknown Namespace" fallbacks appear when appropriate
### Why make this change?
These changes improve the user experience by providing better error handling and a more streamlined onboarding process. The custom 404 page and error components create a more consistent and user-friendly experience when errors occur. The new onboarding flow with organization selection makes it easier for new users to get started with the platform. UI improvements like text truncation and fallback text enhance usability and prevent layout issues.
0 commit comments