Persist dashboard layer, filter, style, and panel UI preferences in localStorage.

Hydrate saved toggles after client mount so SSR does not reset operator layer layouts on refresh, and store map style, filters, and section expand state alongside layer visibility.
This commit is contained in:
BigBodyCobain
2026-08-05 10:33:24 -06:00
parent 4c461a2ccd
commit f81cf88ecb
8 changed files with 422 additions and 87 deletions
+1
View File
@@ -147,6 +147,7 @@
"clearMeasure": "Clear measurement"
},
"layers": {
"resetToDefaults": "Reset layers to defaults",
"aircraft": "Aircraft",
"commercialFlights": "Commercial Flights",
"privateAircraft": "Private Aircraft",
+1
View File
@@ -147,6 +147,7 @@
"clearMeasure": "پاک کردن اندازه‌گیری"
},
"layers": {
"resetToDefaults": "بازنشانی لایه‌ها به پیش‌فرض",
"aircraft": "هواپیما",
"commercialFlights": "پروازهای تجاری",
"privateAircraft": "هواپیماهای خصوصی",
+1
View File
@@ -147,6 +147,7 @@
"clearMeasure": "Effacer la mesure"
},
"layers": {
"resetToDefaults": "Réinitialiser les couches par défaut",
"aircraft": "Aéronefs",
"commercialFlights": "Vols commerciaux",
"privateAircraft": "Aéronefs privés",
@@ -147,6 +147,7 @@
"clearMeasure": "清除测量"
},
"layers": {
"resetToDefaults": "将图层重置为默认",
"aircraft": "航空器",
"commercialFlights": "商业航班",
"privateAircraft": "私人飞机",