"use client" /** * Admin overview — is this workspace set up, and did the data land? * * A card stack on `PrimaryPageTemplate` rather than a hub, because there is no * list here to sort or filter; it is a status read that ends in a link to the * object that needs attention. Same shape as organization settings, which is * its neighbour in the user's head. * * The one thing it must not do is invent a health score. Counts and dates are * verifiable; a green tick that means nothing is worse than no tick. */ import * as React from "react" import { Link, useNavigate } from "react-router" import { PageHeader } from "@/components/page-header" import { PrimaryPageTemplate } from "@/components/templates/primary-page-template" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" import { LocalBanner } from "@/components/ui/banner" import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { ADMIN_IMPORT_HISTORY, adminObjectSummaries, type AdminObjectSummary, } from "@/lib/mock/admin-directory" function formatDay(iso: string) { return new Date(`${iso}T00:00:00`).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric", }) } function ObjectCard({ summary }: { summary: AdminObjectSummary }) { return (