feat: implement Favorites feature with persistent storage and sidebar integration and update lake data.

This commit is contained in:
David Fencl
2026-06-05 23:57:17 +02:00
parent b660f0f6c3
commit 27551f9183
16 changed files with 569 additions and 74 deletions
+31 -31
View File
@@ -14,8 +14,6 @@
"lat": 48.6322,
"lng": 14.2215,
"sparkline": [
1.49,
13.76,
34.78,
37.78,
33.61,
@@ -25,6 +23,8 @@
1.51,
1.51,
1.51,
1.51,
1.51,
1.51
]
},
@@ -33,9 +33,9 @@
"name": "Lipno II",
"river": "Vltava",
"priority": false,
"level": "559.89",
"level": "559.87",
"capacity": 100,
"storageDiff": 48.39,
"storageDiff": 48.37,
"inflow": "3.7",
"outflow": "0.0",
"volume": 0.68,
@@ -43,8 +43,6 @@
"lat": 48.625,
"lng": 14.318,
"sparkline": [
7.31,
7.34,
7.48,
7.29,
7.27,
@@ -52,6 +50,8 @@
0,
0,
0,
7.18,
7.18,
0,
0,
0
@@ -72,8 +72,6 @@
"lat": 49.183,
"lng": 14.444,
"sparkline": [
14.18,
14.18,
18.46,
14.28,
5,
@@ -83,6 +81,8 @@
1.25,
1.25,
1.25,
1.25,
1.25,
1.25
]
},
@@ -91,9 +91,9 @@
"name": "Kořensko",
"river": "Vltava",
"priority": false,
"level": "352.43",
"capacity": 28.7,
"storageDiff": -0.17,
"level": "352.42",
"capacity": 28,
"storageDiff": -0.18,
"inflow": "14.1",
"outflow": "19.0",
"volume": 2.74,
@@ -120,9 +120,9 @@
"name": "Orlík",
"river": "Vltava",
"priority": true,
"level": "345.27",
"level": "345.26",
"capacity": 63.6,
"storageDiff": -4.63,
"storageDiff": -4.64,
"inflow": "23.8",
"outflow": "0.0",
"volume": 522.12,
@@ -130,8 +130,6 @@
"lat": 49.606,
"lng": 14.17,
"sparkline": [
186.83,
454.38,
444.3,
370.39,
381.47,
@@ -141,6 +139,8 @@
432.41,
377.67,
137.48,
0,
0,
0
]
},
@@ -178,9 +178,9 @@
"name": "Slapy",
"river": "Vltava",
"priority": true,
"level": "269.83",
"capacity": 77.3,
"storageDiff": -0.77,
"level": "269.84",
"capacity": 77.5,
"storageDiff": -0.76,
"inflow": "46.5",
"outflow": "0.0",
"volume": 260.21,
@@ -188,8 +188,6 @@
"lat": 49.822,
"lng": 14.436,
"sparkline": [
119.44,
137.14,
310.27,
308.35,
304.36,
@@ -199,6 +197,8 @@
287.91,
217.32,
79.38,
0,
0,
0
]
},
@@ -207,9 +207,9 @@
"name": "Štěchovice",
"river": "Vltava",
"priority": false,
"level": "218.64",
"capacity": 65.6,
"storageDiff": -0.76,
"level": "218.72",
"capacity": 68.8,
"storageDiff": -0.68,
"inflow": "19.9",
"outflow": "25.3",
"volume": 9.68,
@@ -217,8 +217,6 @@
"lat": 49.845,
"lng": 14.412,
"sparkline": [
25.32,
70.8,
150.41,
150.43,
120.77,
@@ -228,7 +226,9 @@
85.34,
85.17,
52.56,
25.32
25.32,
25.39,
25.33
]
},
{
@@ -310,11 +310,11 @@
0.7,
0.7,
0.7,
0.7,
0.7,
0,
0.7,
0.7,
0.7,
0.7,
0
]
},
@@ -327,13 +327,12 @@
"capacity": 0,
"storageDiff": -1.25,
"inflow": "1.5",
"outflow": "0.0",
"outflow": "2.5",
"volume": 32.37,
"maxVolume": 56.7,
"lat": 49.789,
"lng": 13.155,
"sparkline": [
2.52,
2.52,
2.53,
2.53,
@@ -344,7 +343,8 @@
2.53,
2.53,
2.53,
0
2.53,
2.53
]
}
]