feat: ops-pulse admin dashboard — live float, queues, trend#47
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the approved Flash Ops Pulse concept (live mock: https://claude.ai/code/artifact/c2df73f2-4305-416f-8912-272559cba359).
What changes
rows_jsonroute_options,ad-*selectors preserved — existing contract tests pass unchanged)pulse.get_dashboard_pulse(one fast call), admin-gated + shared error handlerDesign 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-motionrespected; 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