diff --git a/web/src/screens/dashboard/Stats.tsx b/web/src/screens/dashboard/Stats.tsx
index f066028..7d3b52e 100644
--- a/web/src/screens/dashboard/Stats.tsx
+++ b/web/src/screens/dashboard/Stats.tsx
@@ -1,12 +1,14 @@
import { useQuery } from "react-query";
import { APIClient } from "../../api/APIClient";
+import { classNames } from "../../utils";
interface StatsItemProps {
name: string;
value?: number;
+ placeholder?: string;
}
-const StatsItem = ({ name, value }: StatsItemProps) => (
+const StatsItem = ({ name, placeholder, value }: StatsItemProps) => (
(
{name}
+
+ {placeholder}
+
+
{value}
@@ -28,20 +34,16 @@ export const Stats = () => {
{ refetchOnWindowFocus: false }
);
- if (isLoading)
- return null;
-
return (
Stats
-
-
-
+
+
{/* */}
-
-
+
+
);
diff --git a/web/src/screens/releases/ReleaseTable.tsx b/web/src/screens/releases/ReleaseTable.tsx
index d8ac79f..985743b 100644
--- a/web/src/screens/releases/ReleaseTable.tsx
+++ b/web/src/screens/releases/ReleaseTable.tsx
@@ -196,7 +196,159 @@ export const ReleaseTable = () => {
return
Error
;
if (isLoading)
- return
Loading...
;
+ return (
+
+
+ {headerGroups.map((headerGroup) =>
+ headerGroup.headers.map((column) => (
+ column.Filter ? (
+ {column.render("Filter")}
+ ) : null
+ ))
+ )}
+
+
+
+
+
+
+
+
+ {/* Add a sort direction indicator */}
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+
+ Loading release table...
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+
+
+
+
+ {/* Pagination */}
+
+
+ previousPage()} disabled={!canPreviousPage}>Previous
+ nextPage()} disabled={!canNextPage}>Next
+
+
+
+
+ Page {pageIndex + 1} of {pageOptions.length}
+
+
+
+
+
+
+
+
+
+
+ );
if (!data)
return
;
@@ -281,7 +433,6 @@ export const ReleaseTable = () => {
})}
-
{/* Pagination */}