The open source coding agent.
TypeScript
wip: zen style byok
Frank593d0737b533
diff --git a/packages/console/app/src/routes/workspace/[id]/model-section.module.css b/packages/console/app/src/routes/workspace/[id]/model-section.module.cssindex 0c5b3a451ca..68408f78b7b 100644--- a/packages/console/app/src/routes/workspace/[id]/model-section.module.css+++ b/packages/console/app/src/routes/workspace/[id]/model-section.module.css@@ -150,6 +150,12 @@&:last-child td {border-bottom: none;}++ &[data-disabled="true"] {+ td[data-slot="model-name"] {+ color: var(--color-text-muted);+ }+ }}}diff --git a/packages/console/app/src/routes/workspace/[id]/model-section.tsx b/packages/console/app/src/routes/workspace/[id]/model-section.tsxindex f4f2f913c92..96d6950c939 100644--- a/packages/console/app/src/routes/workspace/[id]/model-section.tsx+++ b/packages/console/app/src/routes/workspace/[id]/model-section.tsx@@ -65,7 +65,7 @@ export function ModelSection() {{(modelId) => {const isEnabled = createMemo(() => !modelsInfo()!.disabled.includes(modelId))return (- <tr data-slot="model-row">+ <tr data-slot="model-row" data-disabled={!isEnabled()}><td data-slot="model-name">{modelId}</td><td data-slot="model-toggle"><form action={updateModel} method="post">diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.module.css b/packages/console/app/src/routes/workspace/[id]/provider-section.module.cssindex b009d1aa528..b693de77179 100644--- a/packages/console/app/src/routes/workspace/[id]/provider-section.module.css+++ b/packages/console/app/src/routes/workspace/[id]/provider-section.module.css@@ -32,9 +32,9 @@font-weight: 500;}- &[data-slot="provider-status"] {+ &[data-slot="provider-key"] {text-align: left;- color: var(--color-text);+ color: var(--color-text-secondary);width: 50%;[data-slot="edit-form"] {@@ -109,10 +109,6 @@}tbody tr {- &[data-enabled="false"] {- opacity: 0.6;- }-&:hover {[data-slot="provider-action"] [data-slot="delete-form"] {opacity: 1;diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx b/packages/console/app/src/routes/workspace/[id]/provider-section.tsxindex 2677b36d735..06820b32cdd 100644--- a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx+++ b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx@@ -84,12 +84,12 @@ function ProviderRow(props: { provider: Provider }) {}return (- <tr data-slot="provider-row" data-enabled={!!providerData()}>+ <tr data-slot="provider-row"><td data-slot="provider-name">{props.provider.name}</td>- <td data-slot="provider-status">+ <td data-slot="provider-key"><Showwhen={store.editing}- fallback={<span>{providerData() ? maskCredentials(providerData()!.credentials) : "Not Configured"}</span>}+ fallback={<span>{providerData() ? maskCredentials(providerData()!.credentials) : "--"}</span>}><form id={`provider-form-${props.provider.key}`} action={saveProvider} method="post" data-slot="edit-form"><div data-slot="input-wrapper">