From 9516857d44fa70b4fd5add142dff5d9ef493c288 Mon Sep 17 00:00:00 2001 From: grabowski Date: Tue, 11 Aug 2026 15:52:40 +0700 Subject: [PATCH] feat: date-range picker on the station history panel; drop PostgreSQL naming MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /measurements/history/{code} accepts optional start/end date params that override the hours window (end date inclusive). The dashboard history card gains from/to date inputs beside the quick-range dropdown — explicit dates win, changing the dropdown clears them. All user-facing 'PostgreSQL history' labels renamed to 'Station history'. --- src/static/dashboard.html | 30 +++++++++++++++++++++++------- src/web_api.py | 19 ++++++++++++++----- tests/test_dashboard.py | 8 ++++++-- 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/src/static/dashboard.html b/src/static/dashboard.html index 8da489a..b8cf5a2 100644 --- a/src/static/dashboard.html +++ b/src/static/dashboard.html @@ -234,7 +234,7 @@