feat(web): add Profiles tab to view agent profiles#222
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #222 +/- ##
=======================================
Coverage ? 92.77%
=======================================
Files ? 64
Lines ? 5188
Branches ? 0
=======================================
Hits ? 4813
Misses ? 375
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@patrick-muller Thanks for raising the PR. Clean, focused UI addition. Reuses the existing Blocking / should-fix1. No unit tests for the new component (P1)The web project already has vitest + Worth adding (following the existing pattern):
Low cost, high value — matches the bar the repo already holds. 2. Keyboard shortcut numbering shifts silently (P1)
The handler in Options:
Small call — pick one and make it deliberate. Polish3. Expanded row duplicates the name (P3)
4. Source-badge colors are binary (P3)
Could reuse the canonical Summary
No P0s. Happy to see the feature — (1) is the only one I'd consider a should-fix; the rest are polish. |
- Add vitest tests for ProfilesPanel in components.test.tsx - Remove redundant Name/Source from expanded row (keep Description only) - Use per-source badge colors via SOURCE_BADGE map - Align with project conventions: useStore for errors, reusable fetchProfiles
42f8fea to
20ac341
Compare
- Add vitest tests for ProfilesPanel in components.test.tsx - Remove redundant Name/Source from expanded row (keep Description only) - Use per-source badge colors via SOURCE_BADGE map - Align with project conventions: useStore for errors, reusable fetchProfiles
20ac341 to
c39644b
Compare
|
Thanks for the follow-up, @patrick-muller. Confirming what I see in Addressed ✅
Still open ❌(P1) Keyboard shortcut reshuffleProfiles is still inserted at position 3 ( Could you either:
Pick either — just want it deliberate. (P3) Binary badge colorsThe If you'd like to close this for real, keying the map by source and reusing Summary
2 of 4 resolved. Only No. 2 is a should-fix before merge; No. 4 is polish. |
Summary
Adds a new Profiles tab to the Web UI, allowing users to browse installed agent profiles directly from the dashboard.
Problem
The Web UI shows a profile count on the Home page but provides no way to view the actual list of profiles or their details. Users have to use the CLI (
cao install) to discover what profiles are available.Solution
Added a new Profiles tab between Agents and Flows with:
built-in(blue) andinstalled/kiro(green) profilesAlt+3to switch to the tabUses the existing
/agents/profilesAPI endpoint — no backend changes required.Changes
web/src/components/ProfilesPanel.tsx— New component for the Profiles tabweb/src/App.tsx— Added Profiles tab to navigation with Package iconTesting