perf(ui): optimize dashboard chart updates and rendering
Add debouncing to chart updates to prevent rapid flickering, implement checks to avoid redundant history processing and double renders, and disable quota chart animations to fix visual glitches.
This commit is contained in:
@@ -297,8 +297,8 @@ window.DashboardCharts.updateCharts = function (component) {
|
||||
title: { display: false },
|
||||
},
|
||||
animation: {
|
||||
animateScale: true,
|
||||
animateRotate: true,
|
||||
// Disable animation for quota chart to prevent "double refresh" visual glitch
|
||||
duration: 0
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user