aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-11 16:10:26 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-11 18:33:31 +0200
commitc34b3819ce7dcef49af0266a252ac20e76d4f421 (patch)
tree759bfa3b430e108089c4b98f44150a098b8879b7 /dashboard/dashapi/dashapi.go
parent125de3e4ebdc0261ec49e3889c58bd9aef6114f2 (diff)
dashboard/app: various improvements/fixes for email reporting
Detect when we send first/non-first email for a bug. Detect when we send moderation/non-moderation email for a bug. Fix setting repro level in email reports. Add end-to-end email reporting tests.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index 4c744e9b4..4871f97ad 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -136,6 +136,7 @@ func (dash *Dashboard) LogError(name, msg string, args ...interface{}) {
type BugReport struct {
Config []byte
ID string
+ First bool // Set for first report for this bug.
Title string
Maintainers []string
CompilerID string