Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

refactor(control-ui): drop the three style-hook classnames that carry no CSS rule (R1-L3)

Diego Zacariase78e9c6cb62f
diff --git a/control-ui/components/LlmModelsSurface/CatalogAttentionBanner.tsx b/control-ui/components/LlmModelsSurface/CatalogAttentionBanner.tsx
index e5ef95929..22105b841 100644
--- a/control-ui/components/LlmModelsSurface/CatalogAttentionBanner.tsx
+++ b/control-ui/components/LlmModelsSurface/CatalogAttentionBanner.tsx
@@ -63,7 +63,7 @@ export function CatalogAttentionBanner({ refreshSignal }: CatalogAttentionBanner
const hostCount = item.hostsAffected.length
const grantCount = item.grantsAffected.length
return (
- <li key={`${item.provider}/${item.model}`} className="cu-model-attention__item">
+ <li key={`${item.provider}/${item.model}`}>
<span className="cu-model-attention__head">
<span className="cu-model-attention__name">{label}</span>{' '}
<span className="cu-model-attention__meta">
diff --git a/control-ui/components/ModelReferences/index.tsx b/control-ui/components/ModelReferences/index.tsx
index a51727bec..bb0deb30b 100644
--- a/control-ui/components/ModelReferences/index.tsx
+++ b/control-ui/components/ModelReferences/index.tsx
@@ -15,14 +15,14 @@ export function ModelReferences({ hostsAffected, grantsAffected }: ModelReferenc
return (
<div className="cu-model-refs">
{hostsAffected.length > 0 ? (
- <div className="cu-model-refs__group">
+ <div>
<span className="cu-model-refs__label">
{hostsAffected.length} Host{hostsAffected.length === 1 ? '' : 's'}
</span>
<ul className="cu-model-refs__list">
{hostsAffected.map(host => (
<li key={`${host.namespace}/${host.name}`} className="cu-model-refs__item">
- <span className="cu-model-refs__ref">
+ <span>
{host.namespace}/{host.name}
</span>
{host.roles.length > 0 ? (
@@ -34,14 +34,14 @@ export function ModelReferences({ hostsAffected, grantsAffected }: ModelReferenc
</div>
) : null}
{grantsAffected.length > 0 ? (
- <div className="cu-model-refs__group">
+ <div>
<span className="cu-model-refs__label">
{grantsAffected.length} grant{grantsAffected.length === 1 ? '' : 's'}
</span>
<ul className="cu-model-refs__list">
{grantsAffected.map(grant => (
<li key={grant.id} className="cu-model-refs__item">
- <span className="cu-model-refs__ref">
+ <span>
{grant.recipeNamespace}/{grant.recipeName}
</span>
<span className="cu-model-refs__meta"> · {grant.capabilityFamily}</span>
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 042b36d76..8a0d6564b 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.426",
+ "version": "0.1.427",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.426",
+ "version": "0.1.427",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index 0edfb7234..7024d9f74 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.426",
+ "version": "0.1.427",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",