Sidebar: Fix Providers & MCP stuck on loading #38
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_aibroker#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In the left sidebar, both Providers and MCP sections are perpetually stuck in a loading state and never display data.
Expected Behavior
Acceptance Criteria
Already Implemented
All acceptance criteria are met:
config.getRPCmcp.healthRPC.catch(() => null)fallback. Shows "Failed to load", "No providers", or "Not configured" as appropriate.Root cause & fix
The original
loadSidebar()usedPromise.all— if any one RPC failed (e.g.mcp.healthbefore the handler existed), ALL sections stayed on "Loading...". Fixed by giving each RPC its own.catch(() => null)and null-checking results individually.🤖 Generated with Claude Code