Skip to content

feat(tooltips): add collapsible Historical Profile section for nuclear/conflict markers #3840

@211052110

Description

@211052110

Feature area

Map / Globe / Data layers

Description

Add a collapsible Historical Profile section inside
marker tooltips for nuclear sites, conflict zones,
and military bases.

Problem it solves

Current tooltips show what and where but not why
or since when.

A nuclear site in Iran vs Switzerland tells
completely different strategic stories but current
tooltips cannot differentiate historically.

Users see isolated dots on a map with no context
about how long a conflict has been running, what
treaties apply to a nuclear site, or when a
military base was established.

Alternatives considered

Linking to external Wikipedia pages breaks the
unified dashboard experience.

Showing all data by default makes tooltips too
cluttered. A collapsible section solves this.

Additional context

Proposed tooltip structure:

Nuclear Sites:
┌─────────────────────────────────┐
│ ☢ BUSHEHR NUCLEAR PLANT [×] │
├─────────────────────────────────┤
│ Status: Operational │
│ Type: Power Reactor │
├─────────────────────────────────┤
│ 📜 HISTORICAL PROFILE ▼ │
│ Operational Since: 2011 │
│ Treaties: NPT (1970) │
│ IAEA: Limited access │
│ 2021: IAEA access restricted │
└─────────────────────────────────┘

Conflict Zones:
┌─────────────────────────────────┐
│ ⚔ EASTERN GHOUTA, SYRIA [×] │
├─────────────────────────────────┤
│ Intensity: High │
│ Casualties (30d): 142 │
├─────────────────────────────────┤
│ 📜 HISTORICAL PROFILE ▼ │
│ Conflict Since: 2012 │
│ Peace Agreements: 2018 (broken) │
│ Total Fatalities: ~8,000 │
└─────────────────────────────────┘

Files to touch:

  • src/components/GlobeMap.ts (~968-1165)
  • src/services/ (data fetching)
  • src/config/geo.ts

Data sources already integrated:

  • ACLED (conflict history)
  • UCDP (conflict start dates)
  • IAEA (nuclear facility data)

UI changes:

  • Tooltip width: 240px → 280-300px
  • Auto-hide: 3500ms → 5000ms for rich tooltips
  • Collapsible section (closed by default)

Start with nuclear sites as pilot then expand.
I am willing to implement this as a PR
upon approval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions