Data: Stations and pumping (the tracked stations, their position, pump.sh from the app); the weather of the station at Load
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eaa124f9f5
commit
c8c8c1587a
8 files changed
+261
-14
No files matched your search
+2
-1
@@ -113,7 +113,8 @@ export default function App() {
|
||||
return () => removeEventListener("hashchange", follow);
|
||||
}, []);
|
||||
|
||||
const choose = s => { location.hash = address(page, s); };
|
||||
// the same address again (Load, the end of a pumping): read again, a new selection loads the data again
|
||||
const choose = s => { const a = address(page, s); if (location.hash === a) setPlace(readAddress()); else location.hash = a; };
|
||||
// An analysis of the sidebar: Data on its station, days that cover its range (unless the range shown already covers them)
|
||||
function openAnalysis(a) {
|
||||
const s = selection, covers = s.station === a.station && s.start <= a.start.slice(0, 10) && a.end < s.end;
|
||||
|
||||
Reference in new issue
Block a user