Document the Brīdinājumi icon-chip and popup redesign

This commit is contained in:
b0txec
2026-08-22 21:27:17 +03:00
parent cafc75abeb
commit 94dffd6c59
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -117,11 +117,11 @@ 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 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.
4. Click a warning card to select it for the map and open its full detail — intensity, regions, validity period, description, and risk text — in a popup dialog above a dimmed, blurred background. Closing the popup (✕, backdrop click, or Escape) keeps the selection; only that warning's polygons are drawn on the map.
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. There is no on-canvas severity-color legend; severity color and the warning name are shown on the card itself.
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. Each warning card is a compact chip showing only its phenomenon icon, name, and severity color (left border); the full text lives in the detail popup so it stays readable regardless of length.
## Apskats