You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ca0a3dd
Browse filesBrowse the repository at this point in the historyBrowse files
fix: preserve current page on browser refresh via URL hash routing
The SPA kept tab state only in JS memory, so refreshing reset to the main
dashboard. Add hash-based routing so the active page (and config sub-tab)
survives refresh and back/forward navigation.
- showPage() writes the page to location.hash
- showConfigPanel() persists the config sub-tab (#configuration/inverter)
- restoreFromHash() restores page + sub-tab on load and hashchange
0 commit comments