Atlas Operations Analytics Review Dashboard
Inspect stage bottlenecks, compare reporting windows and export a local review snapshot with this complete free prompt and working example.
AI-reviewed exampleExample overview
Open interactive previewPrompt
Build the following working, self-contained product analytics dashboard. Return a complete single HTML file containing semantic HTML, CSS and plain JavaScript. Do not return another design brief. Extend the useful workflow-atlas visual idea into an honest, usable operations review tool.
BUYER JOB
An operations lead must identify the stage with the most overdue work in a selected reporting window, record a reasoned next action, and take a portable review snapshot to a weekly meeting. The result must support inspection and handoff; it must not fabricate predictive improvement, send work or claim connection to a real analytics service.
INPUTS AND CUSTOMIZATION
Product: Atlas / Operations review. Organization: Meridian Works (fictional). Accent: forest green. Reporting windows: Last 24 hours and Last 7 days. Snapshot date: 26 October 2026. All figures below are fictional demo data, not live telemetry. Use a small on-page notice explaining this and that edits reset on reload. Customize product name, organization, colors, stage definitions and the fixture matrix in clearly labeled constants. Do not add a real integration or a new dependency. Production adoption requires replacing fixtures with authorized data and defining persistence separately.
Stage IDs / labels / owners / fixed interpretation:
intake / Intake / RevOps / Check incomplete submissions before reassignment.
review / Eligibility review / Ops QA / Inspect amendments missing eligibility tags.
specialist / Specialist queue / Care Ops / Review coverage against the oldest cases.
fulfillment / Fulfillment / Delivery / Check release prerequisites before handoff.
Each stage has completed, overdue and medianMinutes for two windows:
24h: intake 240, 6, 8; review 120, 24, 38; specialist 80, 10, 26; fulfillment 160, 4, 12.
7d: intake 1440, 18, 9; review 840, 70, 32; specialist 560, 42, 23; fulfillment 1120, 14, 11.
Overdue is a subset of completed. Explicitly label that definition. These are counts of completed items that exceeded their target, not a current queue. Overdue share = overdue / completed * 100, formatted to one decimal. Overall counts sum all four stages in the selected window. Overall share uses summed counts, never an average of stage percentages. Do not combine medians into a fake global median. Highest-overdue stage derives from the window, with fixture order breaking ties. For 24h: 600 completed, 44 overdue, 7.3%; for 7d: 3960 completed, 144 overdue, 3.6%. Use honest descriptive observations, no claimed cause or forecast.
LAYOUT AND VISUAL SYSTEM
Keep the existing enterprise operations workflow-map direction, but improve its clarity. Use an off-white canvas, deep green narrow navigation rail on desktop, restrained green accents, dark ink, generous 24px section gaps and crisp borders. Use local system sans-serif; numeric metrics use tabular figures. No remote font, image, icon or analytics requests. An inline brand mark and simple inline SVG icons are sufficient; avoid decoration that obscures data.
Desktop: compact top bar with brand, organization and Demo badge. Main title 'Find the handoff that needs attention.' with short supporting copy. A segmented native-button window selector precedes three clearly labeled aggregate metrics. A wide left panel lists the four connected stage cards with label, completed, overdue and share; arrange as a 2x2 or horizontal workflow only when readable. Selected stage uses border plus text/pressed state. A right detail panel shows selected stage, owner, median duration, descriptive interpretation and a small accessible overdue-share bar accompanied by actual numbers. Below it, a useful review form and snapshot output. Keep the first viewport legible, not crammed. Avoid sticky overlays and giant marketing headers.
At 768px stack the workflow and detail; below 480px use one stage card per row or compact selectable list, retain the window selector and aggregate context, and make all form controls full width. The review output should remain easy to reach. Support 320,390,768,1024,1440 widths without horizontal page overflow or clipped text. Do not hide meaningful controls. Provide clear keyboard focus, touch targets at least 44px, explicit labels, status announcements and sensible heading order. Use reduced-motion-safe minimal transitions; never rely on animation/color alone.
FUNCTIONAL BEHAVIOR
1. Initial window is 24h and initial selected stage is review. Window buttons use aria-pressed and update ALL stage counts, aggregate metrics, detail numbers and descriptive observation consistently. Selection buttons are native buttons using aria-pressed. Preserve the selected stage across window changes. Use a case-insensitive labeled 'Find a stage' search on stage labels and owner names. The search only filters visible stage cards; aggregate metrics remain explicitly labeled 'All stages'. Show 'No matching stages' and a real Clear search action for no matches. Selection/detail remains explicit and unchanged when filtered out, with a visible notice if needed, never silently selects an invisible replacement.
2. Provide a labeled 'Next action' textarea, required trimmed length 10 to 240, and 'Review owner' select with placeholder plus RevOps, Ops QA, Care Ops, Delivery. Start blank, no precompleted success. Store draft text/owner separately for each window+stage pair in memory. Changing stage or window restores that context's draft. Search does not change the active review context. Explain drafts are local and not shared. Use textContent/value for all user-supplied rendering. Counter and validation must agree with trimmed length.
3. 'Prepare review snapshot' validates inline, focuses the first invalid control and preserves entries. Valid submission captures the chosen window, stage, current fixture metrics, action and owner into an immutable request snapshot. Show a short actual pending state (~400ms) labeled 'Preparing local snapshot…', disable stage/window/search/form controls while pending, and provide enabled 'Cancel preparation'. Cancel restores controls and leaves drafts unchanged; no delayed completion may appear. Prevent double submission. A visible details section 'Demo recovery controls' includes 'Fail next preparation' and 'Fail next download' one-shot checkboxes. Failure consumes only that request's checkbox, preserves draft/previous snapshot, offers an enabled Retry preparation action and announces error. Retry must capture the intended current form context. Reset invalidates pending callbacks and clears all drafts, outputs, faults, validation and filters, restoring initial window/stage. Reset is available while pending and after completion.
4. Successful preparation shows an actual JSON text area, readonly, explicitly labeled 'Prepared review JSON', and compact human summary identifying window/stage/action/owner. The JSON uses schemaVersion:1, demo:true, snapshotDate:'2026-10-26', window:'24h' or '7d', stageId, stageLabel, metrics:{completed,overdue,overdueSharePercent,medianMinutes}, review:{owner,nextAction}. Use plain numeric share rounded to one decimal. Do not include a fake timestamp, ticket ID, real customer or API claim. Name it 'Local snapshot ready', never submitted/sent/saved remotely. Changing draft, selection or window MUST NOT mutate a prepared snapshot; make retained snapshot context explicit. A new successful preparation replaces it. A failed/cancelled preparation keeps the prior snapshot clearly readable. Reset clears it.
5. 'Download JSON' creates and activates an actual Blob object URL with download filename atlas-review-<window>-<stageId>.json. Bytes exactly match the visible JSON. Revoke URL after browser consumption, not before. Only enable with a prepared snapshot. On success say 'Download requested — check your browser downloads'; do not claim durable filesystem success. On thrown error or simulated one-shot failure announce the failure, keep JSON and expose 'Retry download' plus 'Select JSON' for manual copy. Select JSON focuses and selects the readonly text; never falsely announce clipboard success. No fake PDF or remote export action. All output controls must refer to the immutable prepared snapshot, not the changed draft.
6. Keyboard operation must work without mouse: selectors, all form inputs, validation focus, pending cancellation, failure retry, and manual selection. When rendering a retry control disappears, move focus to its persistent counterpart or the new result heading; never leave focus in a removed subtree. Use role=status for ordinary progress and role=alert for errors. Ensure sufficient text contrast; small muted copy must remain readable.
CONSTRAINTS AND HONESTY
No backend, fetch, localStorage, external library, API, real billing, authentication, sending, customer activity, testimonials, guarantees or performance predictions. Keep code simple: one explicit data matrix, a few state variables and straightforward render/handler functions. Omit decorative controls without useful behavior. Data are fictional and volatile; describe the actual local implementation. No claim that GPT, Lovable or any other tool executed this until independently recorded outside the artifact. Do not embed tested badges in the generated UI.
ACCEPTANCE CHECKLIST
- Both windows recalculate all four cards and the exact aggregate totals above; stage selection updates correct metrics and labels.
- Search supports label/owner, clears to restore all four, and shows honest empty state without corrupting selection or aggregates.
- Two stage/window contexts retain distinct drafts. All-whitespace/short/overlong input and missing owner fail without losing content; valid trimmed input succeeds.
- Pending blocks duplicate/changed-context submission; cancellation and reset prevent stale snapshots. One-shot failure/retry is usable by keyboard.
- Prepared JSON accurately reflects the submitted fixture context and action, stays immutable after editing/switching, and is replaced only on success.
- Real downloaded bytes match JSON, including punctuation, quotes and Unicode in action; recovery selects exact manual text and retry works.
- Loading, empty, invalid, success, error, cancelled and reset states are reachable and truthful.
- Desktop and mobile are readable with no page overflow; 200% zoom/reduced motion preserve access; no console errors or external network requests.
- Return only the working HTML implementation and retain this input as the execution record. Testing evidence must record the actual tool/model/date and any remaining limits separately.Share a result example
Paste a public image URL from a result this prompt helped create. Submissions stay private until reviewed.