Fix dashboard UI benchmark nodes collapsing during running. Fixes #2045. (#2046)

This commit is contained in:
Mike Burgess
2022-05-11 15:14:20 +01:00
committed by GitHub
parent bf86074450
commit e28d994448
4 changed files with 16 additions and 17 deletions

View File

@@ -35,7 +35,7 @@
"react-papaparse": "4.0.2",
"react-placeholder": "4.1.0",
"react-router-dom": "6.3.0",
"react-select": "5.3.1",
"react-select": "5.3.2",
"react-syntax-highlighter": "15.5.0",
"react-table": "7.7.0",
"remark-gfm": "3.0.1",
@@ -60,8 +60,8 @@
"@tsconfig/create-react-app": "1.0.2",
"@types/jest": "27.5.0",
"@types/lodash": "4.14.182",
"@types/node": "17.0.31",
"@types/react": "18.0.8",
"@types/node": "17.0.32",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.3",
"autoprefixer": "10.4.7",
"lint-staged": "12.4.1",

View File

@@ -286,7 +286,6 @@ const CheckPanel = ({ depth, node }: CheckPanelProps) => {
const expanded = nodeStates[node.name]
? nodeStates[node.name].expanded
: false;
// console.log({ name: node.name, nodes: nodeStates, expanded });
const [child_nodes, error_nodes, empty_nodes, result_nodes, can_be_expanded] =
useMemo(() => {

View File

@@ -349,7 +349,7 @@ const CheckGroupingProvider = ({
{ type: "result" },
] as CheckDisplayGroup[];
}
}, [rootBenchmark, searchParams]);
}, [searchParams]);
const [benchmark, grouping, firstChildSummaries, tempNodeStates] =
useMemo(() => {

View File

@@ -4540,10 +4540,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.25.tgz#527051f3c2f77aa52e5dc74e45a3da5fb2301448"
integrity sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==
"@types/node@17.0.31":
version "17.0.31"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d"
integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==
"@types/node@17.0.32":
version "17.0.32"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.32.tgz#51d59d7a90ef2d0ae961791e0900cad2393a0149"
integrity sha512-eAIcfAvhf/BkHcf4pkLJ7ECpBAhh9kcxRBpip9cTiO+hf+aJrsxYxBeS6OXvOd9WqNAJmavXVpZvY1rBjNsXmw==
"@types/node@^14.0.10 || ^16.0.0", "@types/node@^14.14.20 || ^16.0.0":
version "16.11.15"
@@ -4625,10 +4625,10 @@
"@types/scheduler" "*"
csstype "^3.0.2"
"@types/react@18.0.8":
version "18.0.8"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.8.tgz#a051eb380a9fbcaa404550543c58e1cf5ce4ab87"
integrity sha512-+j2hk9BzCOrrOSJASi5XiOyBbERk9jG5O73Ya4M0env5Ixi6vUNli4qy994AINcEF+1IEHISYFfIT4zwr++LKw==
"@types/react@18.0.9":
version "18.0.9"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.9.tgz#d6712a38bd6cd83469603e7359511126f122e878"
integrity sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
@@ -14500,10 +14500,10 @@ react-scripts@5.0.1:
optionalDependencies:
fsevents "^2.3.2"
react-select@5.3.1:
version "5.3.1"
resolved "https://registry.yarnpkg.com/react-select/-/react-select-5.3.1.tgz#2cb651b71493e494c56f6b4ce40011669b34bd95"
integrity sha512-Y195MmhDoDAj/8gTDyYZU1Raf7tmZd81wxM6RkFko4pqJ4Xv0/ilqUMtSn+GYkwmSlTWeMlzh+e+t7PJgtuXPw==
react-select@5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/react-select/-/react-select-5.3.2.tgz#ecee0d5c59ed4acb7f567f7de3c75a488d93dacb"
integrity sha512-W6Irh7U6Ha7p5uQQ2ZnemoCQ8mcfgOtHfw3wuMzG6FAu0P+CYicgofSLOq97BhjMx8jS+h+wwWdCBeVVZ9VqlQ==
dependencies:
"@babel/runtime" "^7.12.0"
"@emotion/cache" "^11.4.0"