aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-03-28 17:01:21 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-03-28 17:31:22 +0200
commit5232cf0254feea67f22bebab12e4302bb37f74f6 (patch)
tree257a283ee23e2b617ce971a6ae22a9ac4feee1f5 /dashboard/dashapi/dashapi.go
parent811086ce0bf9629c50ee5bf27211d9d63a193baf (diff)
dashboard: share repro level and report link in SimilarBugInfo
This will make FullBugInfo's contents much more useful.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index eb6557e41..669629d65 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -716,11 +716,13 @@ type FullBugInfo struct {
}
type SimilarBugInfo struct {
- Title string
- Status BugStatus
- Namespace string
- Link string
- Closed time.Time
+ Title string
+ Status BugStatus
+ Namespace string
+ Link string
+ ReportLink string
+ Closed time.Time
+ ReproLevel ReproLevel
}
func (dash *Dashboard) LoadFullBug(req *LoadFullBugReq) (*FullBugInfo, error) {