Document the single-selection Brīdinājumi workflow

This commit is contained in:
b0txec
2026-08-22 21:14:56 +03:00
parent 924e4105b1
commit da146b01ed
3 changed files with 11 additions and 6 deletions
+6 -5
View File
@@ -110,17 +110,18 @@ Implementation status: both native exports are implemented and visually validate
## Brīdinājumi
Purpose: prepare a newsroom map from the current LVĢMC open hydrometeorological-warning dataset without tracing warning areas manually.
Purpose: prepare a newsroom map from the current LVĢMC open hydrometeorological-warning dataset without tracing warning areas manually. Matching newsroom practice, the exported map always shows exactly one warning at a time rather than compositing every active warning together.
Operator flow:
1. Open **Brīdinājumi**; warning metadata and ordered polygon coordinates load through the WeatherTool backend.
2. Select the independent 1920×1080 or 3840×1440 production canvas.
3. Optionally filter the current warning period by day and phenomenon.
4. Enter the editorial title. Warning geometry, severity colors, legend, source data, and validity information remain data-driven.
5. Preview and download the native-resolution PNG.
3. Optionally narrow the warning list by day and phenomenon.
4. Click a warning card to select it for the map. The selected card expands to show its full intensity, regions, validity period, description, and risk text; other cards stay collapsed to just their phenomenon name and severity color. Only the selected warning's polygons are drawn.
5. The title field is pre-filled as "Brīdinājums: {phenomenon}" (e.g. "Brīdinājums: vējš") from the selected warning and remains manually editable; the LVĢMC source mark stays fixed.
6. Preview and download the native-resolution PNG.
The two exports use separate geographic-to-pixel calibration and layout values. Neither output is produced by resizing the other. Upstream times are interpreted in the `Europe/Riga` timezone. Empty warning data is a valid state and produces an uncolored base map.
The two exports use separate geographic-to-pixel calibration and layout values. Neither output is produced by resizing the other. Upstream times are interpreted in the `Europe/Riga` timezone. Empty warning data is a valid state and produces an uncolored base map. There is no on-canvas severity-color legend; severity color and the warning name are shown on the card itself.
## Apskats