Add export case menu (#24997)
CI / AMD64 Build (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s

* add kebab menu to export cases

* disable download while case exports are still encoding

* stop case menu clicks from opening the case

* check case download readiness against jobs on every camera
This commit is contained in:
Josh Hawkins
2026-11-17 08:57:33 -07:00
committed by GitHub
parent 640ae1058a
commit 97f2096534
5 changed files with 450 additions and 28 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Export } from "@/types/export";
export function isCaseDownloadReady(
exports: Export[],
hasPendingJobs: boolean,
): boolean {
return (
exports.length > 0 &&
!hasPendingJobs &&
!exports.some((exp) => exp.in_progress)
);
}