From 3e0360401bbbb0f640958998f6625495e5b3fdff Mon Sep 17 00:00:00 2001 From: Robin Seger Date: Tue, 10 Mar 2026 15:22:23 +0100 Subject: dashboard: dynamic dashboard tabs + fix performance settings updating (#1253) * [CI] chore: update flake * Dashboard perf settings save, visibility on none enabled * Dashboard heigh stutter fixed, persist current tab * restore binding * wrapper async=false * ScriptModel, centralized tabs/panes, individual toggle * fixes, missed mediaUpdateInterval, passing values --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- config/Config.qml | 3 ++- config/DashboardConfig.qml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/Config.qml b/config/Config.qml index 8c01014..fe07286 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -258,7 +258,8 @@ Singleton { return { enabled: dashboard.enabled, showOnHover: dashboard.showOnHover, - updateInterval: dashboard.updateInterval, + mediaUpdateInterval: dashboard.mediaUpdateInterval, + resourceUpdateInterval: dashboard.resourceUpdateInterval, dragThreshold: dashboard.dragThreshold, performance: { showBattery: dashboard.performance.showBattery, diff --git a/config/DashboardConfig.qml b/config/DashboardConfig.qml index e089550..0a16cc1 100644 --- a/config/DashboardConfig.qml +++ b/config/DashboardConfig.qml @@ -6,6 +6,10 @@ JsonObject { property int mediaUpdateInterval: 500 property int resourceUpdateInterval: 1000 property int dragThreshold: 50 + property bool showDashboard: true + property bool showMedia: true + property bool showPerformance: true + property bool showWeather: true property Sizes sizes: Sizes {} property Performance performance: Performance {} -- cgit v1.2.3-freya