Repository navigation
feat(desktop): hide sidebar agent chips unless multiple agents are running - #5445
Conversation
|
Ready to review this PR? Stage has broken it down into 2 individual chapters for you:
Chapters generated by Stage for commit f5c676f on Jul 3, 2026 9:13pm UTC. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe workspace details agent chips rendering logic was updated so chips display only when the workspace agents row feature is enabled and multiple agents are running, rather than for any single running agent. Inline documentation was updated to reflect this behavior. ChangesAgent Chips Visibility
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
No issues found across 2 files
Architecture diagram
sequenceDiagram
participant Client as React Renderer
participant Comp as DashboardSidebarWorkspaceDetails
participant Data as Workspace Data Store
Note over Client,Data: PR: Agent chips only when multiple agents running
Client->>Comp: Render with workspaceId, workspaceAgentsRowEnabled
Comp->>Data: Get runningAgents (from store / real-time)
Data-->>Comp: Array of running agent objects
alt workspaceAgentsRowEnabled? (feature flag)
alt runningAgents.length > 1
Comp->>Comp: agents = runningAgents (show chips)
else runningAgents.length <= 1
Comp->>Comp: agents = [] (hide chips)
end
else feature flag off
Comp->>Comp: agents = [] (always hide)
end
alt ports.length === 0 and agents.length === 0
Comp-->>Client: render null (no strip)
else
Comp-->>Client: render port pills + (conditionally) agent chips
end
🚀 Preview Deployment🔗 Preview Links
Preview updates automatically with new commits |
Summary
hasMultipleAgents,showAgentChips) inDashboardSidebarWorkspaceDetailsand documented in the component JSDoc.bun.lockwith the 1.13.0 / host-service 0.8.23 version bumps from main.Test Plan
bunx biome checkpasses on the touched fileSummary by cubic
Show agent chips in the sidebar only when a workspace has multiple running agents. This reduces noise; ports behave the same, and the strip hides when there are no ports and no visible agents.
New Features
hasMultipleAgentsandshowAgentChipsinDashboardSidebarWorkspaceDetails.Dependencies
bun.lockwith@superset/desktop@1.13.0and@superset/host-service@0.8.23.Written for commit f5c676f. Summary will update on new commits.
Summary by CodeRabbit