1
+ import { InformationCircleIcon } from "@heroicons/react/20/solid" ;
1
2
import type { LoaderFunctionArgs } from "@remix-run/server-runtime" ;
2
3
import { redirect , typedjson , useTypedLoaderData } from "remix-typedjson" ;
3
4
import { Header1 } from "~/components/primitives/Headers" ;
5
+ import { InfoPanel } from "~/components/primitives/InfoPanel" ;
4
6
import { Paragraph } from "~/components/primitives/Paragraph" ;
5
7
import { requireUser } from "~/services/session.server" ;
6
8
import { concurrencyTracker } from "~/v3/services/taskRunConcurrencyTracker.server" ;
@@ -23,16 +25,22 @@ export default function AdminDashboardRoute() {
23
25
return (
24
26
< main
25
27
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"
27
29
>
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 >
35
39
</ 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 >
36
44
</ main >
37
45
) ;
38
46
}
0 commit comments