Skip to content

Phase 9: Map — replace hover tooltips with stats-panel progress #158

@elfensky

Description

@elfensky

Summary

Disable hover cards on the galaxy map. Instead, show total and per-faction campaign progress in the stats panel.

Context

The current hover tooltip (Tooltip.jsx) shows per-sector progress on mousemove. This adds clutter — the progress data is more useful as a persistent stats display. The computeFrontier() function in EventCard.jsx already calculates per-faction progress.

Implementation

  • Remove or disable Tooltip.jsx hover behavior from the Galaxy map
  • Show total campaign progress (all factions combined) in stats area
  • Show per-faction progress breakdown (sectors captured, current frontier %)
  • Reuse computeFrontier() logic from EventCard

Key Files

  • src/components/h1/Galaxy/Tooltip.jsx
  • src/components/h1/Galaxy/Galaxy.jsx
  • src/components/h1/StatGrid/StatGrid.jsx
  • src/components/h1/Galaxy/EventCard.jsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementUpdate to an existing featurefrontendUI/UX and frontend work

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions