Skip to content

chore: add managed ai usage consumption to license view #18934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ibetitsmike
Copy link
Contributor

@ibetitsmike ibetitsmike commented Jul 21, 2025

Customers with licenses not supporting managed AI agents will receive the following information:
image

Customers with active licenes for managed AI agents will see:
image

Closes coder/internal#813

@ibetitsmike ibetitsmike force-pushed the mike/add-managed-ai-usage-to-license-view branch from 1bb6714 to bcb7faa Compare July 22, 2025 13:05
@ibetitsmike ibetitsmike requested a review from deansheather July 22, 2025 13:55
Copy link
Member

@deansheather deansheather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Video looks great! Deferring to a frontend person to approve, though

Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The "Disabled" story shows NaN on the page which seems like a bug
  • I would expect the "near limit" bar to not be green anymore. Maybe yellow or orange instead.
  • You've got a mixture of Tailwind styles and Emotion styles in the ManagedAgentsConsumption component. New use of Emotion is discouraged, please just use Tailwind (but using the style prop for the percentage math is correct)
  • It feels weird the have the bar "full" when it's only visually 50% filled. I wonder if the usage bar should be non-linear. For example the first 80% could always be in the range [0, softLimit] and the last 20% could be in the range [softLimit, hardLimit].

…entFeature param

- added managedAgentFeature validation and stories for various failed states
@ibetitsmike ibetitsmike requested a review from aslilac July 28, 2025 10:48
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.

Managed agent license usage frontend
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy