- Notifications
You must be signed in to change notification settings - Fork1k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.stories.tsxShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
1bb6714
tobcb7faa
CompareThere was a problem hiding this 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
There was a problem hiding this 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 thestyle
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]
.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/LicensesSettingsPageView.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/LicensesSettingsPageView.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsxShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.tsxShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…entFeature param- added managedAgentFeature validation and stories for various failed states
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'd still like it if over-usage was yellow but I won't block on it
d2a56d0
tof44e42f
Compare36d2e01
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Customers with licenses not supporting managed AI agents will receive the following information:

Customers with active licenes for managed AI agents will see:

Closescoder/internal#813