Canal proximity risk penalty & mitigation credit breakdown in drawer #59

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

What to build

Add a canal hydrology breakdown row to RiskFactorBreakdown in ClusterDetailDrawer, displaying canal proximity penalty (+15 pts) or sekat kanal mitigation credit (-10 pts).

Technical specifications

  1. Target files:
    • src/components/drawer/risk-factor-breakdown.tsx: Add canal proximity factor item.
    • src/components/drawer/cluster-detail-drawer.tsx: Mount breakdown row.

Acceptance criteria

  • Displays exact distance to nearest drainage canal and sekat kanal.
  • Clearly labels whether nearby canal increases risk or is mitigated by canal blocking.

Blocked by

  • Issue 43: [Backend] Drainage canal and canal block proximity risk factor engine (danger-score.ts).

Authoritative Specifications & Reference Documentation

  • Titik Gambut Architecture & Subsystem Contract: docs/ARCHITECTURE.md
  • BRGM PRIMS (Peatland Restoration Information & Monitoring System): prims.brgm.go.id — Peat drainage canals, canal blocks (sekat kanal), and deep wells (sumur bor).
  • Pantau Gambut Canal Network: pantaugambut.id — Field verification data on drainage canal degradation.
### What to build Add a canal hydrology breakdown row to `RiskFactorBreakdown` in `ClusterDetailDrawer`, displaying canal proximity penalty (+15 pts) or sekat kanal mitigation credit (-10 pts). ### Technical specifications 1. **Target files**: - `src/components/drawer/risk-factor-breakdown.tsx`: Add canal proximity factor item. - `src/components/drawer/cluster-detail-drawer.tsx`: Mount breakdown row. ### Acceptance criteria - [x] Displays exact distance to nearest drainage canal and sekat kanal. - [x] Clearly labels whether nearby canal increases risk or is mitigated by canal blocking. ### Blocked by - Issue 43: [Backend] Drainage canal and canal block proximity risk factor engine (`danger-score.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) - **BRGM PRIMS (Peatland Restoration Information & Monitoring System)**: [prims.brgm.go.id](https://prims.brgm.go.id/) — Peat drainage canals, canal blocks (*sekat kanal*), and deep wells (*sumur bor*). - **Pantau Gambut Canal Network**: [pantaugambut.id](https://pantaugambut.id/) — Field verification data on drainage canal degradation.
yuris changed title from Issue 46: [Frontend] Canal proximity risk penalty & mitigation credit breakdown in drawer to [Frontend] Canal proximity risk penalty & mitigation credit breakdown in drawer 2026-10-14 22:31:26 +00:00
yuris changed title from [Frontend] Canal proximity risk penalty & mitigation credit breakdown in drawer to Canal proximity risk penalty & mitigation credit breakdown in drawer 2026-10-14 22:38:31 +00:00
yuris closed this issue 2026-10-16 01:27:14 +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#59
No description provided.