1+ import { InformationCircleIcon } from "@heroicons/react/20/solid" ;
12import type { LoaderFunctionArgs } from "@remix-run/server-runtime" ;
23import { redirect , typedjson , useTypedLoaderData } from "remix-typedjson" ;
34import { Header1 } from "~/components/primitives/Headers" ;
5+ import { InfoPanel } from "~/components/primitives/InfoPanel" ;
46import { Paragraph } from "~/components/primitives/Paragraph" ;
57import { requireUser } from "~/services/session.server" ;
68import { concurrencyTracker } from "~/v3/services/taskRunConcurrencyTracker.server" ;
@@ -23,16 +25,22 @@ export default function AdminDashboardRoute() {
2325 return (
2426 < main
2527 aria-labelledby = "primary-heading"
26- className = "flex h-full min-w-0 flex-1 flex-col gap-6 overflow-y-auto px-4 pb-4 lg:order-last"
28+ className = "flex h-full w-fit min-w-0 flex-1 flex-col gap-4 overflow-y-auto px-4 pb-4 lg:order-last"
2729 >
28- < div >
29- < Header1 spacing > Dev</ Header1 >
30- < Paragraph spacing > { devConcurrency } </ Paragraph >
31- </ div >
32- < div >
33- < Header1 spacing > Deployed</ Header1 >
34- < Paragraph spacing > { deployedConcurrency } </ Paragraph >
30+ < div className = "flex items-center divide-x divide-grid-bright rounded border border-grid-bright" >
31+ < div className = "w-1/2 p-3" >
32+ < Paragraph spacing > Dev</ Paragraph >
33+ < Header1 > { devConcurrency } </ Header1 >
34+ </ div >
35+ < div className = "w-1/2 p-3" >
36+ < Paragraph spacing > Deployed</ Paragraph >
37+ < Header1 > { deployedConcurrency } </ Header1 >
38+ </ div >
3539 </ div >
40+ < InfoPanel icon = { InformationCircleIcon } >
41+ This refers to the number of 'Dequeued' runs, which are either currently executing or about
42+ to begin execution.
43+ </ InfoPanel >
3644 </ main >
3745 ) ;
3846}
0 commit comments