feat: replace header title/subtitle with live human extinction countdown#92
Conversation
Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/d8997d6f-7afb-403f-932f-2e5d78e80105 Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
…evel Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/d8997d6f-7afb-403f-932f-2e5d78e80105 Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 3 minutes and 1 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
👁️ PR Preview
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #92 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 242 242
Branches 109 109
=========================================
Hits 242 242
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
The static header ("AI DEATH CLOCK" + subtitle) is replaced with a live ticking countdown to the human extinction milestone — an immediate visceral hook that contextualises the rest of the dashboard.
What changed
index.html— Header now contains<h1>HUMAN EXTINCTION COUNTDOWN</h1>and a 5-unit countdown widget (YRS : DAYS : HRS : MINS : SECS) with a caption linking to the milestones sectionsrc/js/02-counter.js—updateExtinctionCountdown()finds theextinctionMarker: truemilestone (77 quadrillion tokens), computes remaining time viagetCurrentTokens()+getDynamicRate(), and writes to the five counter elements; module-level constants avoid per-tick allocationssrc/js/21-boot.js— Called once at init (no blank flash) and every second via the existing badge/alert intervalstyles/hero-tabs.css— Orbitron monospace values in accent colour with glow, small uppercase unit labels, responsive down to 480 px;.site-subtitleremovedtests/e2e/death-clock.spec.js— Header test updated to assert the new title and that#extYearsresolves to a positive integer