fix: show no budget instead of unlimited for empty group AI budget - #27993
Merged
Conversation
…or empty AI budget
Contributor
Documentation CheckUpdates Needed
Automated review via Coder Agents |
Contributor
Author
…cost-controls doc
Contributor
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
Contributor
Author
|
Note, this PR doesn't address any doc changes. That is being tracked elsewhere. |
…budget helper text
…pty and zero states
…I budget helper text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

An empty per-member AI budget on the group settings page previously displayed "unlimited budget" with a "Members in this group have no spending cap." alert. Unlimited spend only applies when the everyone group is the sole group, so this messaging was misleading everywhere else.
Changes
docs()helper.unlimitedtono budget.AIBudgetUncappedstory expectations to match.Unchanged
$0still shows the "A $0 limit disables AI access for this group." alert, as before.nullto the budget API; backend semantics are untouched.Story tests pass:
pnpm test:storybook src/pages/GroupsPage/GroupSettingsPageView.stories.tsx(7/7).This PR was generated by Coder Agents on behalf of @tracyjohnsonux.