Document multi-warning Brīdinājumi selection and chip restyle
This commit is contained in:
@@ -110,15 +110,15 @@ 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. Matching newsroom practice, the exported map always shows exactly one warning at a time rather than compositing every active warning together.
|
||||
Purpose: prepare a newsroom map from the current LVĢMC open hydrometeorological-warning dataset without tracing warning areas manually. The operator checks as many or as few warnings as should appear together on one export; newsroom practice is to combine multiple severity levels of the *same kind* of warning (e.g. a yellow and an orange wind warning) but never different phenomena (e.g. wind and rain) on one map — the tool does not currently enforce that boundary, so keeping selections to one phenomenon at a time is an operator responsibility.
|
||||
|
||||
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. Each warning card has its own checkbox and is independently clickable. The checkbox chooses which single warning is drawn on the map, without opening anything. Clicking the card itself opens that warning's full detail — intensity, regions, validity period, description, and risk text — in a popup dialog above a dimmed, blurred background, without changing which warning is selected for the map. Closing the popup (✕, backdrop click, or Escape) leaves the map selection untouched.
|
||||
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.
|
||||
4. Each warning card has its own checkbox and is independently clickable. The checkbox adds or removes that warning from the map (any number can be checked at once; at least one is auto-checked so the map is never empty). Clicking the card itself opens that warning's full detail — intensity, regions, validity period, description, and risk text — in a popup dialog above a dimmed, blurred background, without changing the map selection. Closing the popup (✕, backdrop click, or Escape) leaves the selection untouched.
|
||||
5. The title field is pre-filled as "Brīdinājums: {phenomenon}" (e.g. "Brīdinājums: vējš") from the first checked warning and remains manually editable — useful since a combined-severity selection needs one title regardless of how many checkboxes are on; 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. 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.
|
||||
|
||||
Reference in New Issue
Block a user