/** * dashboard-client/src/components/LegendCard.tsx — "What these numbers mean" legend. * * Collapsible
with the legend list (verbatim from html.ts). * Full-width card (grid-column: 1 / -1). */ import type React from "react"; import { Card, CardContent } from "../components/ui/card"; const LEGEND_ITEMS: ReadonlyArray = [
  • Original (dropped) — everything compacted away (including duplicates caught by dedup). The "in."
  • ,
  • Kept (summaries) — compact summaries still held as "memory" (the "out").
  • ,
  • Freed = dropped − kept — tokens saved so far (higher = better).
  • ,
  • Compression % — Freed ÷ Dropped — the headline efficiency number. Higher = more space reclaimed.
  • ,
  • Storage dedup % — how often new content matched something already saved, so no duplicate copy was written.
  • ,
  • Data safety — every compacted region is kept verbatim (compressed). Nothing is permanently deleted; you can restore any of it.
  • , ]; export function LegendCard(): React.ReactElement { return (
    What these numbers mean
      {LEGEND_ITEMS}

    Hover any label above for a quick explanation.

    ); }