summaryrefslogtreecommitdiffhomepage
path: root/packages/console/app/src/routes/workspace
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-11-06 13:03:02 -0500
committerDax Raad <[email protected]>2025-11-06 13:03:12 -0500
commit1ea3a8eb9beeb7d510fd29164ea741acec1ee04d (patch)
tree22c35a0003c6c2cfb998431f8e5180879cbab9d3 /packages/console/app/src/routes/workspace
parent8729edc5e059a9a29346044b016a6e05d9aca835 (diff)
downloadopencode-1ea3a8eb9beeb7d510fd29164ea741acec1ee04d.tar.gz
opencode-1ea3a8eb9beeb7d510fd29164ea741acec1ee04d.zip
big format
Diffstat (limited to 'packages/console/app/src/routes/workspace')
-rw-r--r--packages/console/app/src/routes/workspace/[id]/billing/billing-section.module.css2
-rw-r--r--packages/console/app/src/routes/workspace/[id]/billing/monthly-limit-section.module.css2
-rw-r--r--packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx5
-rw-r--r--packages/console/app/src/routes/workspace/[id]/billing/reload-section.module.css1
-rw-r--r--packages/console/app/src/routes/workspace/[id]/keys/key-section.module.css9
-rw-r--r--packages/console/app/src/routes/workspace/[id]/keys/key-section.tsx10
-rw-r--r--packages/console/app/src/routes/workspace/[id]/members/member-section.tsx7
-rw-r--r--packages/console/app/src/routes/workspace/[id]/members/role-dropdown.css2
-rw-r--r--packages/console/app/src/routes/workspace/[id]/new-user-section.module.css2
-rw-r--r--packages/console/app/src/routes/workspace/[id]/new-user-section.tsx15
-rw-r--r--packages/console/app/src/routes/workspace/[id]/provider-section.module.css3
-rw-r--r--packages/console/app/src/routes/workspace/[id]/provider-section.tsx20
-rw-r--r--packages/console/app/src/routes/workspace/[id]/settings/settings-section.module.css6
13 files changed, 57 insertions, 27 deletions
diff --git a/packages/console/app/src/routes/workspace/[id]/billing/billing-section.module.css b/packages/console/app/src/routes/workspace/[id]/billing/billing-section.module.css
index aef008a48..24b405391 100644
--- a/packages/console/app/src/routes/workspace/[id]/billing/billing-section.module.css
+++ b/packages/console/app/src/routes/workspace/[id]/billing/billing-section.module.css
@@ -182,4 +182,4 @@
padding: var(--space-4);
min-width: 150px;
}
-} \ No newline at end of file
+}
diff --git a/packages/console/app/src/routes/workspace/[id]/billing/monthly-limit-section.module.css b/packages/console/app/src/routes/workspace/[id]/billing/monthly-limit-section.module.css
index 4f0f8b2e6..a45bbf1a6 100644
--- a/packages/console/app/src/routes/workspace/[id]/billing/monthly-limit-section.module.css
+++ b/packages/console/app/src/routes/workspace/[id]/billing/monthly-limit-section.module.css
@@ -93,4 +93,4 @@
margin: 0;
line-height: 1.4;
}
-} \ No newline at end of file
+}
diff --git a/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx b/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx
index 0fb2a0df6..a7218546d 100644
--- a/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/billing/payment-section.tsx
@@ -89,7 +89,10 @@ export function PaymentSection() {
<td data-slot="payment-receipt">
<button
onClick={async () => {
- const receiptUrl = await downloadReceiptAction(params.id, payment.paymentID!)
+ const receiptUrl = await downloadReceiptAction(
+ params.id,
+ payment.paymentID!,
+ )
if (receiptUrl) {
window.open(receiptUrl, "_blank")
}
diff --git a/packages/console/app/src/routes/workspace/[id]/billing/reload-section.module.css b/packages/console/app/src/routes/workspace/[id]/billing/reload-section.module.css
index 11ab789b2..e37bad696 100644
--- a/packages/console/app/src/routes/workspace/[id]/billing/reload-section.module.css
+++ b/packages/console/app/src/routes/workspace/[id]/billing/reload-section.module.css
@@ -259,4 +259,3 @@
}
}
}
-
diff --git a/packages/console/app/src/routes/workspace/[id]/keys/key-section.module.css b/packages/console/app/src/routes/workspace/[id]/keys/key-section.module.css
index 1066b7f09..5705549e3 100644
--- a/packages/console/app/src/routes/workspace/[id]/keys/key-section.module.css
+++ b/packages/console/app/src/routes/workspace/[id]/keys/key-section.module.css
@@ -171,7 +171,6 @@
}
@media (max-width: 40rem) {
-
th,
td {
padding: var(--space-2) var(--space-3);
@@ -181,8 +180,7 @@
th {
&:nth-child(3)
- /* Date */
- {
+ /* Date */ {
display: none;
}
}
@@ -190,11 +188,10 @@
td {
&:nth-child(3)
- /* Date */
- {
+ /* Date */ {
display: none;
}
}
}
}
-} \ No newline at end of file
+}
diff --git a/packages/console/app/src/routes/workspace/[id]/keys/key-section.tsx b/packages/console/app/src/routes/workspace/[id]/keys/key-section.tsx
index 565981c7f..e1c2c00cf 100644
--- a/packages/console/app/src/routes/workspace/[id]/keys/key-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/keys/key-section.tsx
@@ -146,14 +146,20 @@ export function KeySection() {
title="Copy API key"
>
<span>{key.keyDisplay}</span>
- <Show when={copied()} fallback={<IconCopy style={{ width: "14px", height: "14px" }} />}>
+ <Show
+ when={copied()}
+ fallback={<IconCopy style={{ width: "14px", height: "14px" }} />}
+ >
<IconCheck style={{ width: "14px", height: "14px" }} />
</Show>
</button>
</Show>
</td>
<td data-slot="key-user-email">{key.email}</td>
- <td data-slot="key-last-used" title={key.timeUsed ? formatDateUTC(key.timeUsed) : undefined}>
+ <td
+ data-slot="key-last-used"
+ title={key.timeUsed ? formatDateUTC(key.timeUsed) : undefined}
+ >
{key.timeUsed ? formatDateForTable(key.timeUsed) : "-"}
</td>
<td data-slot="key-actions">
diff --git a/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx b/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx
index 5aa1b969e..4b2a12fdc 100644
--- a/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/members/member-section.tsx
@@ -85,7 +85,12 @@ const updateMember = action(async (form: FormData) => {
)
}, "member.update")
-function MemberRow(props: { member: any; workspaceID: string; actorID: string; actorRole: string }) {
+function MemberRow(props: {
+ member: any
+ workspaceID: string
+ actorID: string
+ actorRole: string
+}) {
const submission = useSubmission(updateMember)
const isCurrentUser = () => props.actorID === props.member.id
const isAdmin = () => props.actorRole === "admin"
diff --git a/packages/console/app/src/routes/workspace/[id]/members/role-dropdown.css b/packages/console/app/src/routes/workspace/[id]/members/role-dropdown.css
index 29f55a977..7a64fd9c7 100644
--- a/packages/console/app/src/routes/workspace/[id]/members/role-dropdown.css
+++ b/packages/console/app/src/routes/workspace/[id]/members/role-dropdown.css
@@ -69,4 +69,4 @@
}
}
}
-} \ No newline at end of file
+}
diff --git a/packages/console/app/src/routes/workspace/[id]/new-user-section.module.css b/packages/console/app/src/routes/workspace/[id]/new-user-section.module.css
index aaad823ab..bb58df79b 100644
--- a/packages/console/app/src/routes/workspace/[id]/new-user-section.module.css
+++ b/packages/console/app/src/routes/workspace/[id]/new-user-section.module.css
@@ -140,4 +140,4 @@
}
}
}
-} \ No newline at end of file
+}
diff --git a/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx b/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx
index 65edc6847..7b949c661 100644
--- a/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/new-user-section.tsx
@@ -43,15 +43,24 @@ export function NewUserSection() {
<div data-component="feature-grid">
<div data-slot="feature">
<h3>Tested & Verified Models</h3>
- <p>We've benchmarked and tested models specifically for coding agents to ensure the best performance.</p>
+ <p>
+ We've benchmarked and tested models specifically for coding agents to ensure the best
+ performance.
+ </p>
</div>
<div data-slot="feature">
<h3>Highest Quality</h3>
- <p>Access models configured for optimal performance - no downgrades or routing to cheaper providers.</p>
+ <p>
+ Access models configured for optimal performance - no downgrades or routing to cheaper
+ providers.
+ </p>
</div>
<div data-slot="feature">
<h3>No Lock-in</h3>
- <p>Use Zen with any coding agent, and continue using other providers with opencode whenever you want.</p>
+ <p>
+ Use Zen with any coding agent, and continue using other providers with opencode
+ whenever you want.
+ </p>
</div>
</div>
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.css
index 1a450d3dc..1dc7085b7 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
@@ -128,7 +128,6 @@
}
@media (max-width: 40rem) {
-
th,
td {
padding: var(--space-2) var(--space-3);
@@ -136,4 +135,4 @@
}
}
}
-} \ No newline at end of file
+}
diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx
index 6ec8477b4..67314fbdc 100644
--- a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx
+++ b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx
@@ -22,7 +22,9 @@ const removeProvider = action(async (form: FormData) => {
if (!provider) return { error: "Provider is required" }
const workspaceID = form.get("workspaceID")?.toString()
if (!workspaceID) return { error: "Workspace ID is required" }
- return json(await withActor(() => Provider.remove({ provider }), workspaceID), { revalidate: listProviders.key })
+ return json(await withActor(() => Provider.remove({ provider }), workspaceID), {
+ revalidate: listProviders.key,
+ })
}, "provider.remove")
const saveProvider = action(async (form: FormData) => {
@@ -53,7 +55,10 @@ const listProviders = query(async (workspaceID: string) => {
function ProviderRow(props: { provider: Provider }) {
const params = useParams()
const providers = createAsync(() => listProviders(params.id))
- const saveSubmission = useSubmission(saveProvider, ([fd]) => fd.get("provider")?.toString() === props.provider.key)
+ const saveSubmission = useSubmission(
+ saveProvider,
+ ([fd]) => fd.get("provider")?.toString() === props.provider.key,
+ )
const removeSubmission = useSubmission(
removeProvider,
([fd]) => fd.get("provider")?.toString() === props.provider.key,
@@ -89,9 +94,16 @@ function ProviderRow(props: { provider: Provider }) {
<td data-slot="provider-key">
<Show
when={store.editing}
- fallback={<span>{providerData() ? maskCredentials(providerData()!.credentials) : "-"}</span>}
+ fallback={
+ <span>{providerData() ? maskCredentials(providerData()!.credentials) : "-"}</span>
+ }
>
- <form id={`provider-form-${props.provider.key}`} action={saveProvider} method="post" data-slot="edit-form">
+ <form
+ id={`provider-form-${props.provider.key}`}
+ action={saveProvider}
+ method="post"
+ data-slot="edit-form"
+ >
<div data-slot="input-wrapper">
<input
ref={(r) => (input = r)}
diff --git a/packages/console/app/src/routes/workspace/[id]/settings/settings-section.module.css b/packages/console/app/src/routes/workspace/[id]/settings/settings-section.module.css
index 058fbe301..6764a0534 100644
--- a/packages/console/app/src/routes/workspace/[id]/settings/settings-section.module.css
+++ b/packages/console/app/src/routes/workspace/[id]/settings/settings-section.module.css
@@ -31,7 +31,7 @@
margin: 0;
}
- >button {
+ > button {
align-self: flex-start;
}
}
@@ -80,7 +80,7 @@
}
}
- >button[type="reset"] {
+ > button[type="reset"] {
align-self: flex-start;
}
@@ -91,4 +91,4 @@
margin-top: calc(var(--space-1) * -1);
}
}
-} \ No newline at end of file
+}