Skip to content

feat: replace header title/subtitle with live human extinction countdown#92

Merged
nitrocode merged 2 commits into
mainfrom
copilot/simplify-death-clock-countdown
Apr 26, 2026
Merged

feat: replace header title/subtitle with live human extinction countdown#92
nitrocode merged 2 commits into
mainfrom
copilot/simplify-death-clock-countdown

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 26, 2026

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 section
  • src/js/02-counter.jsupdateExtinctionCountdown() finds the extinctionMarker: true milestone (77 quadrillion tokens), computes remaining time via getCurrentTokens() + getDynamicRate(), and writes to the five counter elements; module-level constants avoid per-tick allocations
  • src/js/21-boot.js — Called once at init (no blank flash) and every second via the existing badge/alert interval
  • styles/hero-tabs.css — Orbitron monospace values in accent colour with glow, small uppercase unit labels, responsive down to 480 px; .site-subtitle removed
  • tests/e2e/death-clock.spec.js — Header test updated to assert the new title and that #extYears resolves to a positive integer

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 26, 2026

Warning

Rate limit exceeded

@nitrocode has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 1 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b8d2090-041c-4f54-b655-046fcbb7e268

📥 Commits

Reviewing files that changed from the base of the PR and between 6e676fb and 37188ea.

📒 Files selected for processing (5)
  • index.html
  • src/js/02-counter.js
  • src/js/21-boot.js
  • styles/hero-tabs.css
  • tests/e2e/death-clock.spec.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch copilot/simplify-death-clock-countdown

Comment @coderabbitai help to get the list of available commands and usage tips.

@nitrocode nitrocode marked this pull request as ready for review April 26, 2026 18:51
@nitrocode nitrocode self-requested a review as a code owner April 26, 2026 18:51
@github-actions
Copy link
Copy Markdown
Contributor

👁️ PR Preview

🚀 Open Preview

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (99df9d1) to head (37188ea).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #92   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          242       242           
  Branches       109       109           
=========================================
  Hits           242       242           
Flag Coverage Δ
unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99df9d1...37188ea. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nitrocode nitrocode merged commit e403cd9 into main Apr 26, 2026
10 checks passed
@nitrocode nitrocode deleted the copilot/simplify-death-clock-countdown branch April 26, 2026 18:56
github-actions Bot added a commit that referenced this pull request Apr 26, 2026
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