feat: promote system routes to top-level and improve no-app empty state UX#898
Draft
feat: promote system routes to top-level and improve no-app empty state UX#898
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Always show Create App button in empty state (even on error) - Add System Settings link to empty state pages - Add top-level /system/* and /create-app routes for access without app context - Modify AppSidebar to show system navigation when no apps configured - Update SystemHubPage and AppManagementPage to handle missing appName Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Validates: create-app button always visible, system settings link present, system routes accessible when no active app exists. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
- Simplify tooltip and label rendering for fallback nav items - Reduce test timeouts from 10000ms to 5000ms - Update ROADMAP.md with P1.12.1 empty state improvements Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve backend management system empty state and menu usability
feat: promote system routes to top-level and improve no-app empty state UX
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After tenant creation with no apps, users were stuck on an empty state with no way to access system settings, and the "Create App" button was hidden when config loading failed.
Changes
Route promotion (
App.tsx)/system/*and/create-approutes (wrapped inAuthGuard + ConnectedShell) so they're reachable without any app contextAppContent: allow system routes to render when no active app exists instead of early-returning to empty stateEmpty state always actionable (
App.tsx)RootRedirect: always render both "Create App" and "System Settings" buttons — removes the{!error && ...}gate that hid the CTA on config failureAppContent: same dual-button treatment with descriptive guidance textSidebar fallback navigation (
AppSidebar.tsx)activeAppis falsy, render asystemFallbackNavigationarray (Settings, Apps, Users, Orgs, Roles, Create App) instead of the app switcher + NavigationRenderer tree/systeminstead of/apps/:appName/systemSystem pages handle missing
appName(SystemHubPage.tsx,AppManagementPage.tsx)Tests
EmptyStateSystemRoutes.test.tsx: 5 tests covering empty-state buttons, system hub rendering at/apps/_new/system, and create-app rendering without an active appOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.