UI Overhaul
Profiles now in popup
Current profile always on screen
Hidden columns only when edit neeeded
Add pulldowns in to profile config
Customised the day tabs for vehicle, indoor and pet
This commit is contained in:
fraxle
2026-07-18 15:45:20 +01:00
parent f92e191a44
commit 916efca55e
13 changed files with 1594 additions and 610 deletions
+6
View File
@@ -367,6 +367,11 @@ export function useAppState() {
const openRestore = () => setRestoreOpen(true);
const closeRestore = () => setRestoreOpen(false);
// Profile & config flyout panel (right-side drawer).
const [panelOpen, setPanelOpen] = useState(false);
const openPanel = () => setPanelOpen(true);
const closePanel = () => setPanelOpen(false);
const [showUnits, setShowUnits] = useState(() => {
try {
const s = localStorage.getItem('sunscope_show_units');
@@ -660,6 +665,7 @@ export function useAppState() {
showDecimals, toggleShowDecimals,
welcomeOpen, closeWelcome, openWelcome,
restoreOpen, openRestore, closeRestore,
panelOpen, openPanel, closePanel,
showUnits, toggleShowUnits,
tableInterval, setTableInterval,
forecastView, setForecastView,