From 9a6773164e45cb35cc4c95b879e827c48eac7556 Mon Sep 17 00:00:00 2001 From: William Allen Date: Fri, 9 Oct 2026 08:38:29 -0400 Subject: [PATCH] Improve build sidebar performance The build sidebar currently loads the first page (i.e., 100) results behind the scenes for each field where the total is requested. This PR explicitly specifies that only the total is to be loaded, not the actual data. --- .../js/vue/components/shared/BuildSidebar.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/js/vue/components/shared/BuildSidebar.vue b/resources/js/vue/components/shared/BuildSidebar.vue index 43cf0d0624..6f0c918f2f 100644 --- a/resources/js/vue/components/shared/BuildSidebar.vue +++ b/resources/js/vue/components/shared/BuildSidebar.vue @@ -179,37 +179,37 @@ export default { passedTestsCount notRunTestsCount failedTestsCount - coverage { + coverage(first: 0) { pageInfo { total } } - dynamicAnalyses { + dynamicAnalyses(first: 0) { pageInfo { total } } - files { + files(first: 0) { pageInfo { total } } - urls { + urls(first: 0) { pageInfo { total } } - notes { + notes(first: 0) { pageInfo { total } } - commands { + commands(first: 0) { pageInfo { total } } - targets { + targets(first: 0) { pageInfo { total }