From cbb4b24e82f33912794041c4313067ab4aa87f0c Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Mon, 9 Sep 2024 16:43:26 +0200 Subject: dashboard/app: set period=month as a default value for the coverage details pages --- dashboard/app/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/app/main.go b/dashboard/app/main.go index 5d11f9951..9e4652410 100644 --- a/dashboard/app/main.go +++ b/dashboard/app/main.go @@ -66,9 +66,10 @@ func initHTTPHandlers() { http.Handle("/"+ns+"/graph/found-bugs", handlerWrapper(handleFoundBugsGraph)) if nsConfig.Coverage != nil { http.Handle("/"+ns+"/graph/coverage", handlerWrapper(handleCoverageGraph)) - http.Handle("/"+ns+"/graph/coverage_heatmap", handlerWrapper(handleCoverageHeatmap)) + http.Handle("/"+ns+"/graph/coverage_heatmap?period=month", handlerWrapper(handleCoverageHeatmap)) if nsConfig.Subsystems.Service != nil { - http.Handle("/"+ns+"/graph/coverage_subsystems_heatmap", handlerWrapper(handleSubsystemsCoverageHeatmap)) + http.Handle("/"+ns+"/graph/coverage_subsystems_heatmap?period=month", + handlerWrapper(handleSubsystemsCoverageHeatmap)) } } http.Handle("/"+ns+"/repos", handlerWrapper(handleRepos)) -- cgit mrf-deployment