Skip to content

feat: add 7 scary/satirical dashboard features (PRDs 1–7)#43

Merged
nitrocode merged 3 commits into
mainfrom
copilot/add-satirical-dashboard-features
Apr 23, 2026
Merged

feat: add 7 scary/satirical dashboard features (PRDs 1–7)#43
nitrocode merged 3 commits into
mainfrom
copilot/add-satirical-dashboard-features

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 23, 2026

Implements all seven satirical engagement features designed to make the dashboard more viscerally alarming and comedically damning.

Features

  • PRD 1 — Doomsday Clock Strip: Sticky SVG clock below the header; minute hand advances from 11:55→midnight as cumulative tokens approach the final milestone. Full-width red "EMERGENCY BULLETIN" overlay fires (6s, dismissible) on each milestone crossing.

  • PRD 2 — Apology Generator: 20 rotating corporate non-apologies auto-cycle every 30s. "Copy & Send to Your AI Vendor" + manual next button. (AI did not write this.)

  • PRD 3 — Wanted Poster Calculator: updateCalcResults() now renders a sepia/western WANTED poster — charges framing per impact metric, a bail line, global scale note. Replaces the plain metric grid.

  • PRD 4 — "Your Tab (Running)": Live strip below counters translating session tokens into human-scale equivalences (coffee water, tree offsets, phone charges, metres driven) updated every second.

  • PRD 5 — Prompt Hall of Shame: Scrolling feed of 20 absurd fake prompts with per-prompt energy cost estimates; auto-appends every 7s. User submit rendered via textContent (no innerHTML).

  • PRD 6 — Villain Arc Leaderboard: Inside the Accelerator — 7 rank tiers (Innocent Bystander → Extinction Level Event) with a fake global table anchored by Elon M., Sam A., Jensen H. et al. at astronomical DP scores. Congratulations flash on surpassing the bottom fake entry.

  • PRD 7 — The Intervention: Exit-intent modal (fires on mouseleave with clientY ≤ 0) showing session time + CO₂ emitted. "Stay (For the Planet)" / "Leave (Monster)"; sessionStorage flag prevents repeat.

Implementation notes

  • All milestone doom thresholds cached at init (not recomputed per RAF frame).
  • Emergency broadcast timer uses clearTimeout on re-trigger; manual ✕ dismiss wired in initDoomsdayClock.
  • Intervention button listeners set up once in initIntervention; showIntervention only populates content and shows the modal.
  • User-submitted shame prompts assigned to textContent, never innerHTML.
  • No changes to death-clock-core.js; all 242 tests continue to pass at 100% coverage.

Copilot AI and others added 2 commits April 23, 2026 15:48
…, listener cleanup, dismissible broadcast)

Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/1d421afb-b48e-410d-8717-2e9ff4f0f486

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
@nitrocode
Copy link
Copy Markdown
Owner

@copilot resolve the merge conflicts in this pull request

@nitrocode nitrocode marked this pull request as ready for review April 23, 2026 15:56
@nitrocode nitrocode self-requested a review as a code owner April 23, 2026 15:56
…-dashboard-features

# Conflicts:
#	index.html
#	styles.css

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 23, 2026

@copilot resolve the merge conflicts in this pull request

Merge conflicts resolved in commit 674b9db. Both conflicting files had straightforward non-overlapping additions:

  • index.html: kept our emergency broadcast overlay + intervention modal alongside main's new grim reaper SVG and changelog-data.js script tag
  • styles.css: kept our PRD 1–7 CSS alongside main's grim reaper styles

All 252 tests pass (100% coverage).

@nitrocode nitrocode enabled auto-merge (squash) April 23, 2026 16:05
@github-actions
Copy link
Copy Markdown
Contributor

👁️ PR Preview

🚀 Open Preview

Deployed from commit 674b9db · Updates on every push to this PR
(Preview is removed automatically when the PR is closed.)

@nitrocode nitrocode merged commit b31e2db into main Apr 23, 2026
3 checks passed
@nitrocode nitrocode deleted the copilot/add-satirical-dashboard-features branch April 23, 2026 16:07
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.

2 participants