feat(ui): Multi Attack stat label + footer server-status indicator#167
Merged
Conversation
- 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>
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.
Two small UX items:
STAT_GROUPSconfig.game_server_statusfeed, 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". NewGET /api/census/server-statusreturns 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