Commit Graph

152 Commits

Author SHA1 Message Date
b0txec e446f1ff09 Consolidate the weather-icon-picker CSS into one file, no !important
.symbolPalette/.selectedPreview/.currentSymbol are used by both
Faktiskā's IconInputs.tsx and Brīdinājumi's Warnings.tsx, but were
only defined in mapGraphics.css (Faktiskā's own stylesheet, twice,
with a fully dead first version) and then size-patched for both
consumers via !important overrides in weatherIcons.css. Moved the one
real definition into weatherIcons.css, the file both pages actually
import, and removed the dead/duplicate/!important versions.

No visual change intended — verified via headless-browser screenshot
on Faktiskā and computed-style checks on both pages. One incidental
fix: .currentSymbol.empty's Inter font was silently losing to the
!important rule; normal cascade now applies it correctly again.
2026-08-23 14:17:20 +03:00
b0txec d7439a2bd5 Translate WindInputs to Latvian on Faktiskā, remove dead CSS
Found by a fresh-eyes review after today's design pass: WindInputs
had no productionTemplate branching, so it kept showing "Wind
direction"/"Wind speed"/"Gusts" in English right under the freshly-
translated "Temperatūra un vējš" heading. Threaded the same
productionTemplate flag MapView.tsx already uses for its other
labels. Also removed .assignedSymbol, an unreferenced CSS rule the
same review flagged as dead.
2026-08-23 13:41:02 +03:00
b0txec 59bb4996ff Promote Brīdinājumi to the visible header nav, add icons throughout
Brīdinājumi was tucked in the "Vairāk" overflow menu despite being a
primary newsroom workflow. Moved it into the always-visible nav
alongside Stacijas/Kartes/Faktiskā/Ūdens, and gave every visible nav
item a small icon (reusing the same icons as their Home cards) so the
header matches the icon treatment the overflow menu already had.
2026-08-23 13:31:22 +03:00
b0txec 5c00e48bdd Fix temperature numbers sitting visually high on the map badges
canvas textBaseline "middle" centers on font em-box metrics, not
visible ink — digits have no descenders, so they read as sitting too
high in their boxes. Center on the actual glyph bounds instead,
matching the technique already used correctly in Ūdens's drawRanges.
Shared by Faktiskā and the older Kartes comparison map.
2026-08-23 13:31:17 +03:00
b0txec a1c2fd5d7d Declutter Faktiskā: collapse stations and map settings by default
Both "Jaunākās temperatūras" and "Kartes noformējums" dumped their
full content on load, forcing a scroll past both just to reach the
map/export on every visit. Both now collapse by default (Faktiskā
only; the older non-production Kartes overlay panel keeps its current
always-open behavior) behind a toggle that still surfaces a manual-
override count so nothing is silently hidden.

Also fixed a real bug found in the process: Faktiskā's resolution
buttons carried both "resolutionChoices" and "faktiskaResolutionChoices"
classes, and the former (defined in waterTemperature.css for a narrow
sidebar layout) was winning the cascade in this wide-content context,
forcing full-width, left-aligned buttons instead of the intended
compact pair.

Restructured "Kartes noformējums" into distinct bordered cards instead
of one continuous flow, translated the still-English "Weather symbols"
/"City assignments" block to Latvian ("Laikapstākļu simboli"/"Mākoņi
pilsētām"), and collapsed the city list to show only active exceptions
by default with a "Rādīt pārējās pilsētas" button to reveal the rest.
2026-08-23 13:31:12 +03:00
b0txec 744d706c83 Rework the visual palette: muted blue-gray backdrop, bright accent kept
Replaced the flat near-white page background with a layered blue-gray
gradient (from a sampled palette) for actual visual depth, while
keeping buttons/icons/links on the original saturated accent blue so
interactive elements still stand out against the calmer backdrop.
Also removed the "Testa dati" badge on Home, a synthetic-data leftover
now that both Rocky and the VPS run on real data only.
2026-08-23 13:31:02 +03:00
b0txec 9eca9ebaf3 Show real regional water-temperature ranges, not one station duplicated as both bounds
Classify all 65 LVĢMC stations reporting water temperature (56 inland
WTEMD + 9 coastal SEDUT) into the six Ūdens zones by geography, and
report the real min/max across each zone's currently-reporting
stations instead of one hand-picked station's single value shown
twice. Drops readings older than 12h so a stuck sensor can't skew a
zone's range.
2026-08-23 11:45:43 +03:00
b0txec 5a924653af Auto-populate Ūdens temperatures from real LVĢMC data, with manual override
Mirrors the Faktiskā pattern: fetch on load, auto-fill min/max per zone,
track manual overrides, per-zone reset, loading/error states.
2026-08-23 11:27:26 +03:00
b0txec c97875d6fe Add draggable, resizable weather-symbol placement to Brīdinājumi 2026-08-23 09:32:47 +03:00
b0txec 56b871606f Support multi-warning Brīdinājumi selection with narrower, solid-color chips 2026-08-22 21:51:09 +03:00
b0txec 6fbf672c50 Separate Brīdinājumi map selection from viewing warning detail 2026-08-22 21:41:52 +03:00
b0txec 70fd24cf83 Give Brīdinājumi chips a hover-expanding severity capsule 2026-08-22 21:36:31 +03:00
b0txec cafc75abeb Redesign Brīdinājumi cards as icon chips with a detail popup 2026-08-22 21:26:13 +03:00
b0txec 924e4105b1 Focus Brīdinājumi on one selected warning with templated titles 2026-08-22 21:14:20 +03:00
b0txec 4395935788 Calibrate Brīdinājumi projection to validated city pixel positions 2026-08-22 21:04:39 +03:00
b0txec 13115f014d Add warning map border overlays and feathered fills 2026-08-22 20:31:04 +03:00
b0txec bc5bee171c Add LVGMC warning map workflow 2026-08-22 20:11:20 +03:00
b0txec 7f09181d47 Center water temperature labels in template boxes 2026-08-22 16:27:36 +03:00
b0txec 06088653b1 Localize navigation and production UI 2026-08-22 14:48:16 +03:00
b0txec df911f14eb Fix authenticated City Analysis queries 2026-08-22 12:32:27 +03:00
b0txec 36d094ebdc Refine primary header navigation 2026-08-22 12:14:31 +03:00
b0txec b22cedadf2 Fix browser timer typing 2026-08-21 10:21:42 +03:00
b0txec 9dbd2ff3a5 Establish frontend type checking 2026-08-21 10:18:52 +03:00
b0txec 16a8c685e7 Use approved production map and branding assets 2026-08-20 22:23:23 +03:00
b0txec 754415a60c Match title overlay production margins 2026-08-20 11:05:31 +03:00
b0txec 0d641bd38f Replace Daira glyphs with normalized weather icons 2026-08-20 10:46:26 +03:00
b0txec 6c9290bbfc Center water temperature nameplate title 2026-08-20 09:58:53 +03:00
b0txec e36ddbe9ad Fix broadcast overlay scaling 2026-08-20 09:52:58 +03:00
b0txec ffcf3a2595 Redraw map canvases after Monda loads 2026-08-19 22:07:16 +03:00
b0txec d72c3d3473 Bundle Monda fonts in frontend assets 2026-08-19 22:04:43 +03:00
b0txec 1868041aac Add water temperature production workspace 2026-08-19 22:01:42 +03:00
b0txec 3aba9b4a40 Fine tune Faktiska symbol alignment 2026-08-19 21:22:55 +03:00
b0txec 63d351df3c Align Faktiska symbols with badges 2026-08-19 17:53:05 +03:00
b0txec 340c370c46 Anchor Faktiska symbols to temperature badges 2026-08-19 17:44:46 +03:00
b0txec 632f377c2d Arrange wind controls horizontally 2026-08-19 17:34:04 +03:00
b0txec 59132179ef Add Valmiera synthetic observations 2026-08-19 17:29:03 +03:00
b0txec 01115936f5 Document Faktiska production contract 2026-08-19 17:23:07 +03:00
b0txec e726291bdb Build fixed Faktiska production workflow 2026-08-19 17:11:58 +03:00
b0txec d9a788376b Add responsive scrolling navigation header 2026-08-19 11:47:57 +03:00
b0txec a5b8aa651c Replace home symbols with Lucide icons 2026-08-19 11:31:49 +03:00
b0txec 6ee62a5ce0 Experiment with sculpted home workspace cards 2026-08-19 11:02:39 +03:00
b0txec 35d6f51899 Stabilize City Analysis result workflow 2026-08-19 10:54:53 +03:00
b0txec b1326fa311 Isolate City Analysis from legacy layout styles 2026-08-19 10:49:51 +03:00
b0txec f937557efb Fix City Analysis workspace geometry 2026-08-19 10:42:51 +03:00
b0txec fd1c0148b6 Refine production workspace layouts 2026-08-19 10:38:25 +03:00
b0txec 9147342686 Add blue visual theme and refined controls 2026-08-19 10:24:17 +03:00
b0txec 0c78d3c1b0 Optically center weather font glyphs 2026-08-18 23:01:07 +03:00
b0txec 82199b8a45 Separate Faktiska workflow and refine symbol picker 2026-08-18 22:45:14 +03:00
b0txec ffb89024f1 Add dedicated Faktiska map production workflow 2026-08-18 22:31:56 +03:00
b0txec 67decb330b Refine broadcast map labels and overlays 2026-08-18 22:14:40 +03:00