Emergency dispatch drawer card with direct phone dialer (nearest-firefighters-card.tsx) #63

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

What to build

Build the "Unit Tanggap Darurat Terdekat" emergency contact card in src/components/drawer/nearest-firefighters-card.tsx to mount inside ClusterDetailDrawer, displaying the nearest Daops base, distance, radio channel, and direct tel: hotline dialer button.

Technical specifications

  1. Target files:
    • src/components/drawer/nearest-firefighters-card.tsx: Card UI component.
    • src/components/drawer/cluster-detail-drawer.tsx: Mount card.
  2. Card elements:
    • Nama Daops & Jarak Geodesik (km).
    • Estimasi Waktu Tiba (Jam) untuk medan gambut.
    • Tombol dialer darurat: <a href="tel:...">.
    • Badge VHF Radio Channel & Personel Siaga.

Acceptance criteria

  • Renders nearest base dynamically when a fire cluster is selected.
  • Tapping call button initiates device phone dialer.
  • Follows DESIGN.md dark tactical aesthetic.

Blocked by

  • Issue 48: [Backend] Nearest firefighter Haversine routing & transit time calculator (firefighters.ts).

Authoritative Specifications & Reference Documentation

  • Titik Gambut Architecture & Subsystem Contract: docs/ARCHITECTURE.md
  • KLHK SiPongi+ Hotspot & Karhutla Command: sipongi.menlhk.go.id — Official active fire detection, Manggala Agni DAOPS operational stations, and field suppression records.
  • Manggala Agni Daops Directory: Ditjen PPI KLHK — Directory of 37 operational regions across Sumatra and Kalimantan.
### What to build Build the "Unit Tanggap Darurat Terdekat" emergency contact card in `src/components/drawer/nearest-firefighters-card.tsx` to mount inside `ClusterDetailDrawer`, displaying the nearest Daops base, distance, radio channel, and direct `tel:` hotline dialer button. ### Technical specifications 1. **Target files**: - `src/components/drawer/nearest-firefighters-card.tsx`: Card UI component. - `src/components/drawer/cluster-detail-drawer.tsx`: Mount card. 2. **Card elements**: - Nama Daops & Jarak Geodesik (km). - Estimasi Waktu Tiba (Jam) untuk medan gambut. - Tombol dialer darurat: `<a href="tel:...">`. - Badge VHF Radio Channel & Personel Siaga. ### Acceptance criteria - [ ] Renders nearest base dynamically when a fire cluster is selected. - [ ] Tapping call button initiates device phone dialer. - [ ] Follows `DESIGN.md` dark tactical aesthetic. ### Blocked by - Issue 48: [Backend] Nearest firefighter Haversine routing & transit time calculator (`firefighters.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) - **KLHK SiPongi+ Hotspot & Karhutla Command**: [sipongi.menlhk.go.id](https://sipongi.menlhk.go.id/) — Official active fire detection, Manggala Agni DAOPS operational stations, and field suppression records. - **Manggala Agni Daops Directory**: [Ditjen PPI KLHK](http://ditjenppi.menlhk.go.id/) — Directory of 37 operational regions across Sumatra and Kalimantan.
yuris changed title from Issue 50: [Frontend] Emergency dispatch drawer card with direct phone dialer (nearest-firefighters-card.tsx) to [Frontend] Emergency dispatch drawer card with direct phone dialer (nearest-firefighters-card.tsx) 2026-10-14 22:31:25 +00:00
yuris changed title from [Frontend] Emergency dispatch drawer card with direct phone dialer (nearest-firefighters-card.tsx) to Emergency dispatch drawer card with direct phone dialer (nearest-firefighters-card.tsx) 2026-10-14 22:38:31 +00:00
yuris closed this issue 2026-10-15 04:53:35 +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#63
No description provided.