mirror of
https://github.com/coder/coder.git
synced 2026-06-06 14:38:23 +00:00
62704eb858
Closes [#1246](https://github.com/coder/internal/issues/1246) This PR adds a new component to display AI Governance user entitlements in the Licenses Settings page. The implementation includes: - New `AIGovernanceUsersConsumptionChart` component that shows the number of entitled users for AI Governance features - Storybook stories for various states (default, disabled, error states) - Integration with the existing license settings page - Collapsible "Learn more" section with links to relevant documentation - Updated the ManagedAgentsConsumption component with clearer terminology ("Agent Workspace Builds" instead of "Managed AI Agents") The chart displays the number of users entitled to use AI features like AI Bridge, Boundary, and Tasks, with a note that additional analytics are coming soon. ### Preview <img width="3516" height="2390" alt="CleanShot 2026-01-27 at 22 44 25@2x" src="https://github.com/user-attachments/assets/cb97a215-f054-45cb-a3e7-3055c249ef04" /> <img width="3516" height="2390" alt="CleanShot 2026-01-27 at 22 45 04@2x" src="https://github.com/user-attachments/assets/d2534189-cffb-4ad2-b2e2-67eb045572e8" /> --------- Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com>