Chronic recurrence "Titik Langganan" alert badge in inspection drawer #72

Closed
opened 2026-10-14 22:28:42 +00:00 by yuris · 0 comments
Owner

What to build

Build the UI alert badge component in src/components/drawer/recurrence-alert-badge.tsx to mount inside ClusterDetailDrawer, displaying an urgent warning when an active fire ignites on land that burned in 2015, 2019, or 2023.

Technical specifications

  1. Target files:
    • src/components/drawer/recurrence-alert-badge.tsx: Alert badge UI component.
    • src/components/drawer/cluster-detail-drawer.tsx: Mount badge.
  2. Visual appearance:
    • Pulsing crimson chip: 🔥 Titik Langganan Karhutla (Terbakar 2019, 2023).

Acceptance criteria

  • Renders alert badge only when active cluster intersects historical burn scars.
  • Displays exact historical fire years.

Blocked by

  • Issue 55: [Backend] Chronic burn recurrence spatial detector engine (src/lib/gis/burn-recurrence.ts).

Authoritative Specifications & Reference Documentation

### What to build Build the UI alert badge component in `src/components/drawer/recurrence-alert-badge.tsx` to mount inside `ClusterDetailDrawer`, displaying an urgent warning when an active fire ignites on land that burned in 2015, 2019, or 2023. ### Technical specifications 1. **Target files**: - `src/components/drawer/recurrence-alert-badge.tsx`: Alert badge UI component. - `src/components/drawer/cluster-detail-drawer.tsx`: Mount badge. 2. **Visual appearance**: - Pulsing crimson chip: `🔥 Titik Langganan Karhutla (Terbakar 2019, 2023)`. ### Acceptance criteria - [x] Renders alert badge only when active cluster intersects historical burn scars. - [x] Displays exact historical fire years. ### Blocked by - Issue 55: [Backend] Chronic burn recurrence spatial detector engine (`src/lib/gis/burn-recurrence.ts`). --- ### Authoritative Specifications & Reference Documentation - **Titik Gambut Architecture & Subsystem Contract**: [`docs/ARCHITECTURE.md`](https://git.nokopia.com/yuris/titik-gambut-next/src/branch/main/docs/ARCHITECTURE.md) - **Copernicus Sentinel-2 STAC API**: [Earth Search STAC API](https://earth-search.aws.element84.com/v1) — AWS Element84 Sentinel-2 L2A STAC catalog. - **Normalized Burn Ratio (NBR) Standard**: [USGS Landsat NBR](https://www.usgs.gov/landsat-missions/normalized-burn-ratio) — Formula: $(B8 - B12) / (B8 + B12)$. - **European Forest Fire Information System (EFFIS)**: [EFFIS Burn Severity Classification](https://effis.jrc.ec.europa.eu/) — Delta-NBR fire damage scoring.
yuris changed title from Issue 59: [Frontend] Chronic recurrence "Titik Langganan" alert badge in inspection drawer to [Frontend] Chronic recurrence "Titik Langganan" alert badge in inspection drawer 2026-10-14 22:31:24 +00:00
yuris changed title from [Frontend] Chronic recurrence "Titik Langganan" alert badge in inspection drawer to Chronic recurrence "Titik Langganan" alert badge in inspection drawer 2026-10-14 22:38:29 +00:00
yuris closed this issue 2026-10-15 06:38:31 +00:00
Sign in to join this conversation.
No labels
backend
frontend
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/titik-gambut-next#72
No description provided.