mc-dashboard/components
hurkicorgi 19d66c2de6 Pass 3 next slice: snapshot polish, analytics depth, player drawer
- Snapshots now include recursive sizeBytes (lib/snapshots.ts dirSize),
  rendered as a badge next to mod count.
- Snapshot restore/delete is now type-to-confirm: click Restore/Delete,
  type the literal snapshot name, press Enter or click Confirm. Esc
  cancels, matches the existing wizard Esc handler.
- Analytics card:
  - Uptime ring showing % of datapoints with tps>0 (color-graded
    green/amber/red) + numeric % over selected range.
  - Peak-player marker dot on the Players sparkline + peak caption.
  - "Online now" player list (up to 8) with small PlayerAvatar badges,
    sourced from the latest analytics entry's players[] array.
- Player profile drawer (new):
  - Slide-in right panel opened by clicking any PlayerAvatar.
  - Shows Online / Op / Whitelisted / Banned badges, UUID, ban reason.
  - Quick toggles for op/deop, whitelist add/remove, ban (with reason
    input) and pardon — reuses /api/players POST contract.
  - Global event bus (lib/events.ts) decouples avatars from drawer.
  - Esc / backdrop / close-button dismiss.
- PlayerAvatar now renders as a <button> by default (stopPropagation on
  click, focus-visible ring); pass interactive={false} to opt out (used
  inside the drawer itself).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 05:39:32 -06:00
..
ui Initial commit: Minecraft dashboard 2026-04-13 00:46:58 -06:00
AdminTabs.tsx Pass 3 first slice: mod update action, error boundaries, a11y, palette 2026-04-13 05:30:23 -06:00
Analytics.tsx Pass 3 next slice: snapshot polish, analytics depth, player drawer 2026-04-13 05:39:32 -06:00
BackupManager.tsx UX polish pass 2: toasts, optimistic updates, mod update detection 2026-04-13 05:11:17 -06:00
ChatBridge.tsx UX/UI/perf pass: admin tabs, theme toggle, log polish, mod search, JAR cache 2026-04-13 04:58:25 -06:00
ClientOnly.tsx Initial commit: Minecraft dashboard 2026-04-13 00:46:58 -06:00
CommandPalette.tsx Pass 3 first slice: mod update action, error boundaries, a11y, palette 2026-04-13 05:30:23 -06:00
DownloadCard.tsx Initial commit: Minecraft dashboard 2026-04-13 00:46:58 -06:00
LogViewer.tsx Pass 3 first slice: mod update action, error boundaries, a11y, palette 2026-04-13 05:30:23 -06:00
ModList.tsx UX/UI/perf pass: admin tabs, theme toggle, log polish, mod search, JAR cache 2026-04-13 04:58:25 -06:00
ModManager.tsx Pass 3 next slice: snapshot polish, analytics depth, player drawer 2026-04-13 05:39:32 -06:00
Navbar.tsx Pass 3 first slice: mod update action, error boundaries, a11y, palette 2026-04-13 05:30:23 -06:00
PlayerAvatar.tsx Pass 3 next slice: snapshot polish, analytics depth, player drawer 2026-04-13 05:39:32 -06:00
PlayerDrawer.tsx Pass 3 next slice: snapshot polish, analytics depth, player drawer 2026-04-13 05:39:32 -06:00
PlayerManager.tsx UX polish pass 2: toasts, optimistic updates, mod update detection 2026-04-13 05:11:17 -06:00
ServerControls.tsx UX polish pass 2: toasts, optimistic updates, mod update detection 2026-04-13 05:11:17 -06:00
StatusBadge.tsx Initial commit: Minecraft dashboard 2026-04-13 00:46:58 -06:00
StatusCard.tsx Performance: RCON pooling, route caching, parallel status probe 2026-04-13 00:59:10 -06:00
ThemeToggle.tsx UX/UI/perf pass: admin tabs, theme toggle, log polish, mod search, JAR cache 2026-04-13 04:58:25 -06:00