You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Workspace sidebar's agent roster has three defects that compound on any real fleet: (1) the initial roster load is slow on a large fleet and renders no loading state, so the page looks hung rather than loading; (2) the agents block renders the entire roster as one long list; (3) each row shows the slug as the title and the description as the subtitle, instead of the human-facing display label.
Context
Part of the Workspace polish pass following the ent#357–ent#361 wave (sidebar IA landed in ent#359 / PR #2149). The roster payload (PortalAgentCard in src/backend/client_portal/models.py) currently carries name (slug) + description but no display_label, so the frontend cannot render the business name the dashboard tiles show (ent#181/#1640) without a backend addition.
Acceptance Criteria
While the roster is loading, the sidebar shows an explicit loading state (per the design-system data-loading motion standard, docs/memory/design-system-contract.md) — a large fleet never looks like a hung page
The agents block shows the top 5 agents by default, with a "Show all (N)" affordance that expands the full roster in place (no scroll/state reset)
Row title = the agent's display label (fallback to slug when unset); row subtitle = the slug — the description no longer appears in the row
PortalAgentCard carries display_label, populated in the roster builder (src/backend/client_portal/service.py); older payloads without the field degrade to slug-only rendering
Roster fetch latency on a large fleet is measured and any per-agent N+1 in the roster/briefing assembly is identified (fix may land here or split out if large)
Backend: src/backend/client_portal/models.py::PortalAgentCard, service.py roster + _agent_briefing (the briefing ladder is resolved best-effort at sign-in — a likely contributor to slow roster loads on large fleets; consider deferring briefing hydration off the roster's critical path)
Activity
fix(workspace): sidebar roster — loading state, top 5, label not slug (…
Merge dev into fix/2160-agent-page-load
fix(workspace): "Sign out" signs out — end the live credential, not a…
perf(workspace): the roster stops waiting for the slowest agent — bri…
fix(workspace): code blocks read as code, the thread can be copied, a…
feat(workspace): the backend half of the model dropdown — payload, la…
feat(workspace): the backend half of the model dropdown — payload, la…
feat(workspace): the backend half of the model dropdown — payload, la…
feat(workspace): a user-friendly model dropdown in the chat composer (A…
fix(workspace): the ask badge said 2 and gave you no way to find them (…
Release: v0.9.5 (#2872)