-
Notifications
You must be signed in to change notification settings - Fork 11
refactor(workspace): rearchitect shell, fix Zero lifecycle, etc #487
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
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a99f668
refactor(workspace): rearchitect shell, fix Zero lifecycle, kill prop…
urjitc 97fc5ff
fix(workspace): address CodeRabbit review on PR #487
urjitc 6de6f86
fix(zero/query): switch-based authz dispatch to satisfy CodeQL
urjitc ab9fb70
chore: trim over-defensive comments and route authz dispatch
urjitc 4d5d444
fix(zero/query): read workspaceId from unwrapped first arg in callback
urjitc ac1db70
fix(workspace-view): redirect expired sessions to sign-in instead of …
urjitc c50230c
refactor(zero): switch to managed ZeroProvider mode
urjitc c49d321
feat(workspace): unified shell skeleton (header + bento) for all load…
urjitc 82fa7c0
fix(workspace-loader): reserve chat panel slot to prevent layout snap
urjitc fadc18b
polish(workspace-loader): respect real grid min-height in bento skeleton
urjitc acdcea2
polish(workspace-loader): more varied bento layout (1/2/3 col widths,…
urjitc ba5bc51
polish(workspace-loader): uniform 4-col card grid skeleton
urjitc 24c1cf8
polish(chat-skeleton): match ThreadBody wrapper padding/inset for sea…
urjitc 41c413e
fix(workspace-layout): show header skeleton until workspace is ready,…
urjitc 076e365
fix(chat-panel): keep skeleton until workspace is ready (no stale cha…
urjitc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[🟡 Medium] [🔵 Bug]
The old code had a dedicated catch for
WORKSPACE_ACCESS_DENIED_ERRORthat returned a 403 response. The new code removed that branch — the outercatchnow converts all errors (including authz denials thathandleQueryRequestre-throws) into a generic 500. IfhandleQueryRequestpropagates the per-querythrow new Error(WORKSPACE_ACCESS_DENIED_ERROR)instead of swallowing it per-query, the client sees 500 instead of 403, which breaks retry/redirect logic on the client and masks a permissions problem as a server error.Re-add the
WORKSPACE_ACCESS_DENIED_ERRORcheck before the fallback 500 to preserve the 403 semantics.