Skip to content

feat: ops-pulse admin dashboard — live float, queues, trend#47

Merged
islandbitcoin merged 1 commit into
mainfrom
feat/ops-pulse-dashboard
Jul 11, 2026
Merged

feat: ops-pulse admin dashboard — live float, queues, trend#47
islandbitcoin merged 1 commit into
mainfrom
feat/ops-pulse-dashboard

Conversation

@islandbitcoin

Copy link
Copy Markdown
Contributor

Implements the approved Flash Ops Pulse concept (live mock: https://claude.ai/code/artifact/c2df73f2-4305-416f-8912-272559cba359).

What changes

  • Pulse tiles above the fold: USDT float (Δ vs previous census + sparkline), funded accounts (Δ), cashouts needing action (oldest-age severity chip), pending upgrades — all deep-linked
  • USDT float trend chart over the last 20 census snapshots (crosshair + tooltip); sparkline + chart read scalar snapshot fields only, never rows_json
  • Needs-action queue with age-severity stripes (warn ≥6h, serious ≥24h; icon+label, never color alone)
  • Tools grid + the upgrade-requests table keep every existing flow (smart search, row → Account Hub via route_options, ad-* selectors preserved — existing contract tests pass unchanged)
  • New backend: pulse.get_dashboard_pulse (one fast call), admin-gated + shared error handler

Design receipts: single accent validated for both themes by the palette validator (dark uses snapped #1E9E75); desk theme tokens for surfaces/ink so light/dark come free; status palette reserved for urgency; prefers-reduced-motion respected; hero/tile specs per the stat-tile contract.

Gates: 34 passed (2 new pulse contract tests; all pre-existing dashboard/census selectors green), ruff + prettier + eslint clean. 8 pre-existing failures (5 bench-dependent transfer-requests + 3 stale account-hub tests documented in #41) unchanged.

🤖 Generated with Claude Code

Redesign per the approved Flash Ops Pulse concept. The dashboard now answers
'how's the money?' and 'who needs me?' above the fold:

- pulse tiles: USDT float (delta vs previous census + sparkline), funded
  accounts (delta), cashouts needing action (oldest-age chip), pending
  upgrade requests — each deep-linking to its workflow
- USDT float trend: area chart over the last 20 census snapshots with
  crosshair + tooltip (scalar snapshot fields only; rows payload never
  leaves the census page)
- needs-action queue: age-severity striped cashout + upgrade rows
- tools grid + upgrade-requests table keep their existing flows (smart
  search, Account Hub deep-links, ad-* selectors preserved for tests)

Backend: admin_panel/api/pulse.get_dashboard_pulse — one fast call (counts,
top queue rows, 20-snapshot history). Design system: desk theme tokens for
surfaces/ink; single validated accent (#007856 light / #1E9E75 dark — dark
step snapped by the palette validator); status colors reserved for urgency,
always icon+label; reduced-motion respected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@islandbitcoin
islandbitcoin merged commit 49bba0a into main Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant