Skip to content

feat(site): add group member AI spend columns#26574

Draft
EhabY wants to merge 1 commit into
mainfrom
feat/site-aigov-291-group-members-spend-view
Draft

feat(site): add group member AI spend columns#26574
EhabY wants to merge 1 commit into
mainfrom
feat/site-aigov-291-group-members-spend-view

Conversation

@EhabY

@EhabY EhabY commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Adds gated AI spend columns to the group members table for AIGOV-291, displayed only when aibridge and ai-gateway-cost-control are enabled. The table now shows per-member current spend, limit, and budget source from GET /api/v2/groups/{group}/members/ai/spend, with Storybook coverage for regular and effective-group mismatch states.

The endpoint is not available yet, so this uses a local GroupMemberAISpend frontend type with a TODO to swap to generated types when the backend lands. If a member's effective group does not match the current group, the row shows only current spend and - for budget type to avoid attributing another group's limit.

Refs AIGOV-291.

Generated by Coder Agents.

@linear-code

linear-code Bot commented Jun 22, 2026

Copy link
Copy Markdown

AIGOV-291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant