DashboardPage: Refactor state to fix state timing bugs and reduce unnecessary re-renders (#36460)

* DashboardPage: Refactoring state handling to improve performance and fix bugs with state out of sync

* Fixed exit panel editor timing issues

* New tests in RTL

* Updated comment

* Removed unused imports
This commit is contained in:
Torkel Ödegaard
2021-07-07 18:39:45 +02:00
committed by GitHub
parent 96a51561a3
commit a67eaf6b62
13 changed files with 261 additions and 1387 deletions

View File

@@ -22,7 +22,6 @@ export interface Props {
editPanel: PanelModel | null;
viewPanel: PanelModel | null;
scrollTop: number;
isPanelEditorOpen?: boolean;
}
export interface State {