feat(sidebar): new icon-rail sidebar with workspace navigation#2831
Open
feat(sidebar): new icon-rail sidebar with workspace navigation#2831
Conversation
Replaces the old nav-based sidebar with a compact two-column layout: icon rail (workspace icons + "+") and a session/task list panel. Includes AgentCatalogPopover for creating workspaces from agent templates, CreateWorkspaceDialog for typed workspace creation (slides/website/blank), WorkspaceTabs for pinned views, and per-workspace sidebar item hooks. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…o SDK - Fix sidebar to import from use-projects (plural) instead of non-existent use-project - Replace ProjectWithBindings with VirtualMCPEntity from mesh-sdk - Remove stale agentIconBySlug map; use icon directly from VirtualMCPEntity - Add ORG_ADMIN_PROJECT_SLUG constant to mesh-sdk/lib/constants and export it - Simplify AgentCatalogPopover to a plain NewWorkspaceButton navigating to org-admin Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
🧪 BenchmarkShould we run the Virtual MCP strategy benchmark for this PR? React with 👍 to run the benchmark.
Benchmark will run on the next push after you react. |
Contributor
Release OptionsSuggested: Minor ( React with an emoji to override the release type:
Current version:
|
Keep icon-rail sidebar design from branch, merge import additions from main. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
What is this contribution about?
Replaces the old sidebar with a new icon-rail layout. The rail shows a Studio icon (org-admin), a "+" button to navigate to a new workspace, and project icons fetched via
useProjects()(virtual MCPs withsubtype = \"project\"). Removes theAgentCatalogPopoverin favor of a simpleNewWorkspaceButton. Also adds acreate-workspace-dialog, workspace tabs, new sidebar hooks, and acreate-workspace-with-agentutility for guided workspace creation. AddsORG_ADMIN_PROJECT_SLUGconstant tomesh-sdkso it can be shared across the app.Screenshots/Demonstration
How to Test
bun run devand log inReview Checklist
Summary by cubic
Replaced the old sidebar with a compact icon-rail for faster workspace switching and a cleaner layout. Unified routing to
/$org/$projectand reservedorg-adminfor Studio to simplify navigation and setup.New Features
useProjects(), a Settings button, and a user avatar menu.CreateWorkspaceDialog: two-step flow (Slides, Website, Blank). Sets color and auto-creates/attaches an agent viacreate-workspace-with-agent, installing required connections and surfacing OAuth when needed.WorkspaceTabs: pinned views show as top-level tabs inside a workspace.use-slide-sidebar-itemsanduse-website-sidebar-itemsselected byProjectUI.workspaceType.ORG_ADMIN_PROJECT_SLUGfrommesh-sdk.Migration
/$org/$projectfor navigation; Studio is/$org/org-adminviaORG_ADMIN_PROJECT_SLUG.metadata.projectSlug) instead of Virtual MCP ID.Written for commit 13f721b. Summary will update on new commits.