Files
OpenFrontIO/src/client/components
Zixer1 2a1381b41e feat(doomsday-clock): show the zone readout to spectators and replay viewers (#4497)
## Description:
Follow-up to #4469.

The Doomsday Clock panel hides itself unless the viewer has a living
player, so spectators, replay viewers, and eliminated or not-yet-spawned
players see nothing, even though the clock is the most useful thing to
watch in those cases.

This shows the panel whenever the mode is on and there's no winner yet:

- **Live player:** unchanged. Full personal readout (your-share line,
Stable/Unstable/Collapsing status, danger pulse).
- **Spectator / replay / eliminated / not-spawned:** zone-only readout.
The rising threshold bar and the wave countdown ("Rising to X%", "Final
X%", "Next wave X% in mm:ss"), with no personal line and no false danger
pulse.

One gate drives it: `live = me && me.isAlive()`. The zone math was
already player-independent, so nothing new there.

Tested: `tsc --noEmit`, ESLint, Prettier, the `DoomsdayClockExecution`
suite (28/28), and `build-prod`, all clean.
2026-07-03 15:00:32 -07:00
..
2026-07-01 14:12:37 -07:00
2026-06-29 13:24:09 -07:00
2026-04-09 21:07:07 -07:00
2026-01-09 20:26:34 -08:00
2026-06-12 12:22:03 -07:00
2026-06-12 12:22:03 -07:00
2026-01-09 20:26:34 -08:00
2026-04-09 21:07:07 -07:00
2026-06-29 13:24:09 -07:00