import { AppPage, PageContainer } from "@/ui"; import { TableSkeleton } from "@/features/recipes/recipes-content/catalog-table-shell"; const pulse = "animate-pulse rounded bg-(--ui-surface-2)"; const MODEL_COLUMNS = [ "Model", "Requests", "Tokens", "Avg/req", "Prefill", "Decode", "TTFT", "Latency", "Success", ] as const; /** * The loading state is the loaded page with the ink removed. * * Header, tab bar, tab heading, context strip, six-up stat strip, then the * Models table with its nine real column labels — every band lands at the * height it will occupy once the data arrives, so nothing on the page moves * when it does. */ export function UsageSkeleton() { return (
{[64, 68, 84, 60].map((width) => (
))}
{Array.from({ length: 6 }, (_, index) => (
))}
); }