Commit Graph

322 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 ec2d43e0e9 Record the d7439a2b VPS release (WindInputs fix, dead CSS cleanup) 2026-08-23 13:43:31 +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 90f65d76e6 Record the f78b0a26 VPS release (today's frontend design pass)
Application-only release: no database or scheduler changes.
2026-08-23 13:37:31 +03:00
b0txec f78b0a265f Document today's frontend design pass in the roadmap changelog
References 744d706, a1c2fd5, 5c00e48, 59bb499.
2026-08-23 13:31:53 +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 e19f4899b7 Wipe Rocky's synthetic weather rows too, matching the VPS
Backed up locally via pg_dump before truncating; both environments now
hold only real open-data observations.
2026-08-23 12:39:33 +03:00
b0txec 4a104c18dd Record the 138f57c8 full go-live VPS release
Deployed everything since 6185dbf (Brīdinājumi draggable symbols, real
open-data station/water-temperature ingestion, synthetic-data removal,
scheduler split, METEO_* deletion, real per-zone water-temperature
ranges), flipped ENABLE_SCHEDULED_JOBS=true on the VPS, and wiped the
VPS weather table's synthetic rows after a PostgreSQL backup.
2026-08-23 12:17:27 +03:00
b0txec 138f57c808 Enable real scheduled data ingestion on the VPS
Flips ENABLE_SCHEDULED_JOBS on for the VPS release: the open-data
station and water-temperature paths are proven safe on Rocky.
ENABLE_LEGACY_PROVIDER_JOBS stays off pending real FTP/HARMONIE
credentials.
2026-08-23 12:09:41 +03:00
b0txec 69a5260e5f Bring architecture/workflow docs current with real-data ingestion
ARCHITECTURE.md, PRODUCT_WORKFLOWS.md, DEVELOPMENT_AND_STAGING.md, and
README.md still described the removed synthetic-seed staging setup and
Ūdens as pure manual entry. Updates this session (open-data station
ingestion, the scheduler split, water-temperature auto-populate)
weren't reflected outside UPDATE_ROADMAP.md's changelog.
2026-08-23 12:03:57 +03:00
b0txec 81b41d4ee3 Document the real per-zone water-temperature range fix in the roadmap
References 9eca9eb.
2026-08-23 11:49:27 +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 ed768fc6af Document water temperature backend and frontend work in the roadmap
References 4036d24-4b92272 (backend) and 5a92465 (frontend).
2026-08-23 11:27:57 +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 4b92272e64 Fix Latgale water-temperature station: Daugavpils only reports water level, not temperature 2026-08-23 11:17:30 +03:00
b0txec 4036d2477f Add real-time water temperature backend (Ūdens), fetch-on-demand like warnings 2026-08-23 11:15:33 +03:00
b0txec ea1c563ff3 Document scheduler split and METEO_* removal 2026-08-23 10:50:08 +03:00
b0txec 39fcb3ed6b Remove the dead METEO_* fetch path
Confirmed via git history it's not a separate vendor: the very first
commit (2023-04-13) included real sample CSVs from it with a Latvian
header identical to the LVGMC/open-data fields — same underlying LVĢMC
data, just an earlier delivery mechanism superseded by the FTP feed and
never removed. Never wired into anything that runs (Server.scala's
import was already commented out).
2026-08-23 10:49:26 +03:00
b0txec 6ddfe73ca0 Split scheduled jobs so the working open-data fetch can run without the credential-less FTP/Harmonie jobs crash-looping the app 2026-08-23 10:34:44 +03:00
b0txec 82d9e0ba6e Log the synthetic-data-generation removal 2026-08-23 10:24:38 +03:00
b0txec cb25316cdf Stop generating synthetic weather data 2026-08-23 10:24:23 +03:00
b0txec a22872a328 Document the real open-data station ingestion path (Phase 1) 2026-08-23 10:09:51 +03:00
b0txec 893a09a4d3 Add real open-data station observations alongside the synthetic/FTP feed 2026-08-23 10:08:58 +03:00
b0txec 29f4212901 Document draggable per-warning symbol placement in Brīdinājumi 2026-08-23 09:33:45 +03:00
b0txec c97875d6fe Add draggable, resizable weather-symbol placement to Brīdinājumi 2026-08-23 09:32:47 +03:00
b0txec 65f761fc8c Record the 6185dbf warning-hardening VPS release 2026-08-22 22:55:11 +03:00
b0txec 6185dbfdb0 Harden LVĢMC warning fetching against partial failures and type drift 2026-08-22 22:41:35 +03:00
b0txec 0882a52f78 Record the b5150ab VPS release across the docs 2026-08-22 22:23:43 +03:00
b0txec b5150abd46 Document multi-warning Brīdinājumi selection and chip restyle 2026-08-22 21:52:25 +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 c563012df7 Document the decoupled Brīdinājumi selection/detail interaction 2026-08-22 21:42:24 +03:00
b0txec 6fbf672c50 Separate Brīdinājumi map selection from viewing warning detail 2026-08-22 21:41:52 +03:00
b0txec 57f5f96896 Log the Brīdinājumi chip hover-capsule polish 2026-08-22 21:36:47 +03:00
b0txec 70fd24cf83 Give Brīdinājumi chips a hover-expanding severity capsule 2026-08-22 21:36:31 +03:00
b0txec 94dffd6c59 Document the Brīdinājumi icon-chip and popup redesign 2026-08-22 21:27:17 +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 da146b01ed Document the single-selection Brīdinājumi workflow 2026-08-22 21:14:56 +03:00
b0txec 924e4105b1 Focus Brīdinājumi on one selected warning with templated titles 2026-08-22 21:14:20 +03:00
b0txec f53b27d386 Document the Brīdinājumi workflow and projection calibration 2026-08-22 21:05:27 +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 218ca2fa85 Document localized workflows and water map calibration 2026-08-22 16:51:32 +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 f3197bf340 Return API responses as JSON 2026-08-22 14:22:15 +03:00
b0txec df911f14eb Fix authenticated City Analysis queries 2026-08-22 12:32:27 +03:00