Skip to content
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

bring web ui in line with supported caps in IPA #91

Merged
merged 3 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact=true
2 changes: 1 addition & 1 deletion server/app/query/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function IPAForm({
<SelectMenu
id="per_user_credit_cap"
label="Per User Credit Cap"
options={["16", "32", "64", "128", "256"]}
options={["1", "2", "3", "4", "8", "16", "32", "64", "128"]}
defaultValue="64"
/>
<SelectMenu
Expand Down
4 changes: 2 additions & 2 deletions server/app/query/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ export default function Page() {
<>
<div className="md:flex md:items-center md:justify-between">
<div className="min-w-0 flex-1">
<h2 className="text-2xl font-bold leading-7 text-gray-900 dark:text-gray-100 sm:truncate sm:text-3xl sm:tracking-tight">
<h2 className="text-2xl font-bold leading-7 text-gray-900 sm:truncate sm:text-3xl sm:tracking-tight dark:text-gray-100">
Current Queries
</h2>

{Object.keys(dataByQuery).length == 0 && (
<h3 className="text-lg font-bold leading-7 text-gray-900 dark:text-gray-100 sm:truncate sm:text-xl sm:tracking-tight">
<h3 className="text-lg font-bold leading-7 text-gray-900 sm:truncate sm:text-xl sm:tracking-tight dark:text-gray-100">
None currently running.
</h3>
)}
Expand Down
2 changes: 1 addition & 1 deletion server/app/query/view/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export default function QueryPage({ params }: { params: { id: string } }) {
<dt className="text-sm font-medium leading-6 text-gray-900 dark:text-gray-100">
Params:
</dt>
<dd className="mt-2 text-sm text-gray-900 dark:text-gray-100 sm:col-span-2 sm:mt-0">
<dd className="mt-2 text-sm text-gray-900 sm:col-span-2 sm:mt-0 dark:text-gray-100">
<ul className="divide-y divide-gray-200 rounded-md border border-gray-200">
{queryParams.map(([key, value]) => {
return (
Expand Down
Loading