Remove GlobalSidebar and implement auto-enter environment flow#1208
Merged
Remove GlobalSidebar and implement auto-enter environment flow#1208
Conversation
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/88dcfe26-ab72-4c22-86fb-3bd482a172e9 Co-authored-by: os-zhuang <277994282+os-zhuang@users.noreply.github.com>
Claude created this pull request from a session on behalf of
os-zhuang
April 21, 2026 15:55
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Removes the redundant GlobalSidebar navigation layer and implements Power Platform-style auto-entry into environments, eliminating the generic home page in favor of pushing users directly into their working context.
Changes
Navigation Flow
/and/loginnow auto-redirect based on session state:/orgs/environmentslist/environments/:lastOrFirstEnvId(respects localStorage cache)DeveloperOverviewhome pageSidebar Rendering
__root.tsx: RemovedGlobalSidebarandisGlobalShellPath()helper; authenticated layout now renders onlyTopBar+ contentenvironments.$environmentId.tsx:AppSidebarnow renders for all routes under/environments/:envId/*except/packagesAppSidebarreceivesselectedPackage: nulland fetches environment-wide metadata (existing behavior fromclient.meta.getItems(type, packageId ? { packageId } : undefined))Preserved
global-sidebar.tsxkept on disk for potential future reuse/api-console,/orgs, and/environmentslist pages remain sidebar-freeResult
//environments/:id/environments/:id/:pkg/environments/:id/packages