Commit 933eb0d
feat(ambient-ui): Dashboard, agent detail, multi-session sidebar, responsive layout (#1647)
## Summary
Major ambient-ui feature batch: Dashboard landing page, agent detail
page with CRUD, enhanced sessions table, keyboard navigation, unified
multi-session chat sidebar, and responsive layout.
### Dashboard (default landing page)
- Attention banner surfacing failed sessions, needs-review, needs-input
- Active work cards grouped by Jira/PR annotations
- Recent activity feed with last 10 completed sessions
- Sidebar badge count for items needing attention
- Container-query responsive layout for narrow widths
### Agent detail page
- Full page at `/{projectId}/agents/{agentId}` with Manifest + Run
History tabs
- Manifest tab: editable config form + live YAML preview + annotations
- Run History: compact table, click opens session in sidebar
- Agent CRUD: create, update, delete with lifecycle badges
(Unmanaged/GitOps)
- "Run Test Session" popover creates session and opens in sidebar
### Multi-session chat sidebar
- Unified chat sidebar replaces broken test session pane
- Tab strip with phase-colored dots, session names, close-per-tab
- Always-visible tabs even with single session
- "+" button opens agent picker popover for quick session creation
- Test mode toolbar (re-run, save, delete) when session has test
annotation
- Collapsed state: vertical dot stack with tooltips
- Cap at 8 concurrent sessions
### Sessions table enhancements
- Work Item column (Jira/PR/MR/Gerrit chips)
- Review Status column (colored badges)
- Bulk operations (stop/delete with confirmation)
- Timestamp toggle (relative/absolute)
- Test session "test" badge
- Agent name as clickable link to agent detail
- "Show test runs" toggle (hidden by default)
### Other
- Sidebar restructured into Operate/Build nav groups
- Keyboard navigation: j/k row nav, Cmd+K command palette, Escape-back
- Centralized model options matching runner's VERTEX_MODEL_MAP
- Git commit SHA in sidebar footer
- API server fix: agent PATCH now persists all fields (display_name,
repo_url, llm_model, description, llm_temperature, llm_max_tokens)
## Test plan
- [ ] Dashboard renders attention banner for failed/needs-input sessions
- [ ] Agent detail page: edit config, save, verify YAML updates
- [ ] Run Test Session creates session and opens in sidebar
- [ ] Multiple sessions open as tabs in sidebar, switching works
- [ ] "+" button lists agents, creates session on click
- [ ] Sessions table: Work Item and Review columns render
- [ ] Bulk select + stop/delete works
- [ ] Test sessions filtered from main Sessions page by default
- [ ] Cmd+K opens command palette
- [ ] Dashboard responsive when sidebar is open
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Full project-scoped agent CRUD UI (create sheet, detail page with
Manifest/Overview/Config/Sessions tabs), agent YAML export/download,
test-session flows, command palette, multi-session chat sidebar,
dashboard widgets (Attention, Active Work, Recent Activity)
* **Improvements**
* Bulk session actions, richer fleet/agents tables (work-item, agent
links, review badges, test-run toggle, time-format toggle), keyboard
table navigation, session creation accepts annotations, agent metadata
and LLM settings are surfaced and patchable
* **Chores**
* UI displays short git commit hash from build environment
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>1 parent 859caa7 commit 933eb0d
55 files changed
Lines changed: 6882 additions & 806 deletions
File tree
- components
- ambient-api-server/plugins/agents
- ambient-ui
- src
- adapters
- app/(dashboard)
- [projectId]
- _components
- agents
- [agentId]
- _components
- _components
- sessions
- [sessionId]
- _components
- _components
- components
- __tests__
- ui
- domain
- hooks
- ports
- queries
- runners/ambient-runner/ambient_runner/bridges/claude
- specs/ambient-ui
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
27 | 45 | | |
28 | 46 | | |
29 | 47 | | |
| |||
37 | 55 | | |
38 | 56 | | |
39 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
40 | 81 | | |
41 | 82 | | |
42 | 83 | | |
43 | 84 | | |
| 85 | + | |
44 | 86 | | |
| 87 | + | |
45 | 88 | | |
46 | 89 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
80 | 98 | | |
81 | 99 | | |
82 | 100 | | |
| |||
0 commit comments