Let the News panel narrow the window to 12, 6, 3 or 1 hours

The panel's window label becomes a choice of the server's window and each
shorter one. The feed and map filter to it locally; the hotspot counts are
read again for it (/api/news/hotspots?hours=N, now on the allowlist). A
server names the longest window it serves as maxWindowHours.
This commit is contained in:
Denis Groshev committed 2026-11-06 00:45:28 +01:00
1 parent ee3593cfbd
commit 4817d2a648
22 files changed
+198 -21

No files matched your search

+1
View File
@@ -84,6 +84,7 @@
"Reading the news…": "جارٍ قراءة الأخبار…",
"News, last {hours} hours": "الأخبار، آخر {hours} ساعة",
"Last {hours} h": "آخر {hours} ساعة",
"Time window": "الفترة الزمنية",
"Hotspots": "بؤر ساخنة",
"Severity": "الخطورة",
"Category": "الفئة",
+1
View File
@@ -72,6 +72,7 @@
"Reading the news…": "Nachrichten werden gelesen…",
"News, last {hours} hours": "Nachrichten der letzten {hours} Stunden",
"Last {hours} h": "Letzte {hours} Std.",
"Time window": "Zeitraum",
"Hotspots": "Brennpunkte",
"Severity": "Schweregrad",
"Category": "Kategorie",
+1
View File
@@ -75,6 +75,7 @@
"Reading the news…": "Leyendo las noticias…",
"News, last {hours} hours": "Noticias de las últimas {hours} horas",
"Last {hours} h": "Últimas {hours} h",
"Time window": "Periodo",
"Hotspots": "Focos",
"Severity": "Gravedad",
"Category": "Categoría",
+1
View File
@@ -75,6 +75,7 @@
"Reading the news…": "Lecture des actualités…",
"News, last {hours} hours": "Actualités des dernières {hours} heures",
"Last {hours} h": "Dernières {hours} h",
"Time window": "Période",
"Hotspots": "Foyers",
"Severity": "Gravité",
"Category": "Catégorie",
+1
View File
@@ -75,6 +75,7 @@
"Reading the news…": "Lettura delle notizie…",
"News, last {hours} hours": "Notizie delle ultime {hours} ore",
"Last {hours} h": "Ultime {hours} h",
"Time window": "Periodo",
"Hotspots": "Focolai",
"Severity": "Gravità",
"Category": "Categoria",
+1
View File
@@ -69,6 +69,7 @@
"Reading the news…": "ニュースを読み込み中…",
"News, last {hours} hours": "直近{hours}時間のニュース",
"Last {hours} h": "直近{hours}時間",
"Time window": "期間",
"Hotspots": "ホットスポット",
"Severity": "深刻度",
"Category": "カテゴリ",
+1
View File
@@ -75,6 +75,7 @@
"Reading the news…": "Lendo as notícias…",
"News, last {hours} hours": "Notícias das últimas {hours} horas",
"Last {hours} h": "Últimas {hours} h",
"Time window": "Período",
"Hotspots": "Focos",
"Severity": "Gravidade",
"Category": "Categoria",
+1
View File
@@ -78,6 +78,7 @@
"Reading the news…": "Читаем новости…",
"News, last {hours} hours": "Новости за последние {hours} ч",
"Last {hours} h": "За {hours} ч",
"Time window": "Период",
"Hotspots": "Горячие точки",
"Severity": "Тяжесть",
"Category": "Категория",
+1
View File
@@ -78,6 +78,7 @@
"Reading the news…": "Читаємо новини…",
"News, last {hours} hours": "Новини за останні {hours} год",
"Last {hours} h": "За {hours} год",
"Time window": "Період",
"Hotspots": "Гарячі точки",
"Severity": "Тяжкість",
"Category": "Категорія",
+1
View File
@@ -69,6 +69,7 @@
"Reading the news…": "正在读取新闻…",
"News, last {hours} hours": "最近 {hours} 小时的新闻",
"Last {hours} h": "最近 {hours} 小时",
"Time window": "时间范围",
"Hotspots": "热点",
"Severity": "严重程度",
"Category": "类别",
+1
View File
@@ -69,6 +69,7 @@
"Reading the news…": "正在讀取新聞…",
"News, last {hours} hours": "最近 {hours} 小時的新聞",
"Last {hours} h": "最近 {hours} 小時",
"Time window": "時間範圍",
"Hotspots": "熱點",
"Severity": "嚴重程度",
"Category": "類別",