feat: add 7 scary/satirical dashboard features (PRDs 1–7)#43
Merged
Conversation
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>
…, 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>
Copilot created this pull request from a session on behalf of
nitrocode
April 23, 2026 15:56
View session
Owner
|
@copilot resolve the merge conflicts in this pull request |
…-dashboard-features # Conflicts: # index.html # styles.css Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Contributor
Author
Merge conflicts resolved in commit
All 252 tests pass (100% coverage). |
Contributor
👁️ PR Preview
|
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 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(noinnerHTML).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
mouseleavewithclientY ≤ 0) showing session time + CO₂ emitted. "Stay (For the Planet)" / "Leave (Monster)";sessionStorageflag prevents repeat.Implementation notes
clearTimeouton re-trigger; manual ✕ dismiss wired ininitDoomsdayClock.initIntervention;showInterventiononly populates content and shows the modal.textContent, neverinnerHTML.death-clock-core.js; all 242 tests continue to pass at 100% coverage.