feat(files): add file management UI for scenarios and runs

- add scenario upload and download UI with typed file API helpers
- show run artifacts on run detail pages after polling completes
- handle multipart uploads and absolute file paths for downloads
This commit is contained in:
ars9 committed 2026-04-21 15:58:04 +03:00
1 parent 6a91ce30e3
commit 86f9ac5603
20 files changed
+1237 -96

No files matched your search

+1 -6
View File
@@ -47,12 +47,7 @@ export function AllRunsPage() {
const [page, setPage] = useState(1);
const [pageSize, setPageSize] = useState(20);
const {
data,
isLoading,
error,
refetch,
} = useQuery({
const { data, isLoading, error, refetch } = useQuery({
queryKey: ['runs', sortBy, sortDir, page, pageSize],
queryFn: () =>
runs.listAll(page, pageSize, undefined, sortBy, sortDir === 'asc' ? 'ASC' : 'DESC'),