Programs page: deployment-kind filter chips (opt-in)

ProgramList gains a filterable prop; the Programs page enables it. Chips filter by
whether a program has a deployment of that kind (membership over program.deployments),
so a tool-and-job program shows under both Tool and Job. Counts are programs-per-kind.
Tools page stays unfiltered (already scoped).
This commit is contained in:
2026-07-01 13:10:13 -07:00
parent 05031a1395
commit 60cbb8a844
2 changed files with 80 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ export function Programs() {
{isLoading ? (
<p className="text-[var(--muted)]">Loading...</p>
) : programs && programs.length > 0 ? (
<ProgramList programs={programs} />
<ProgramList programs={programs} filterable />
) : (
<p className="text-[var(--muted)]">No programs yet.</p>
)}