Skip to content

feat(ui): Multi Attack stat label + footer server-status indicator#167

Merged
VortexUK merged 1 commit into
mainfrom
fix/multi-attack-server-status
Jul 14, 2026
Merged

feat(ui): Multi Attack stat label + footer server-status indicator#167
VortexUK merged 1 commit into
mainfrom
fix/multi-attack-server-status

Conversation

@VortexUK

Copy link
Copy Markdown
Owner

Two small UX items:

  • Multi Attack: the character sheet stat previously labelled "Double Attack" now reads Multi Attack, matching what items actually say. The compare page inherits the fix via the shared STAT_GROUPS config.
  • Server status in the footer: a per-world indicator next to the Census one — "Wuoshi server online" with a green/orange/red dot. Backed by Daybreak's game_server_status feed, fetched by the existing census-health 5-minute loop (one extra call; skipped while Census is down, and fetch failures keep the previous map so the footer never flickers to unknown). The tooltip distinguishes population from status: low/medium/high are population levels on an up server → "online — current population: low"; locked → "locked — not accepting logins"; down → "down". New GET /api/census/server-status returns the in-focus world's state (verified live against the real feed).

4 new backend tests (feed parsing incl. non-EQ2 filtering + bad timestamps, case-insensitive lookup, endpoint unknown state + world scoping). Full gates green.

🤖 Generated with Claude Code

- Character sheet (and compare, via the shared STAT_GROUPS config): the
  'Double Attack' stat label becomes 'Multi Attack' to match item text.
- Footer gains a per-world server-status dot next to the Census
  indicator, fed by Daybreak's game_server_status feed on the same
  5-minute cadence as the census-health probe (skipped while Census is
  down — stale-but-labelled beats churn; failures keep the previous
  map). low/medium/high are treated as population levels on an up
  server (green, tooltip "online — current population: low"); locked is
  orange ("not accepting logins"); down is red; grey until the first
  report. World-aware via the active-server context.
- New endpoint GET /api/census/server-status returns the in-focus
  world's state + report time.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VortexUK
VortexUK merged commit f08717d into main Jul 14, 2026
5 of 6 checks passed
@VortexUK
VortexUK deleted the fix/multi-attack-server-status branch July 14, 2026 10:17
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.

1 participant