diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-04-11 17:56:57 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-04-12 13:55:59 +0200 |
| commit | 02abcd096cbcce690366f853c8bc065d22aa205c (patch) | |
| tree | 0fd1f97b51dd88b2a5250e679ac59c57836ada28 /dashboard/dashapi | |
| parent | ed75c0a7f1b7d6758be3942746675ff94071d154 (diff) | |
dashboard: introduce DiscussionReminder type
Bugs are also mentioned in mass reminders, treat it as a separate
discussion type.
Later we'll want to limit the number of DiscussionReminder discussions
we show on a bug page, so this information will be very useful.
Diffstat (limited to 'dashboard/dashapi')
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 1195a9744..e18a8b62d 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -580,8 +580,9 @@ const ( type DiscussionType string const ( - DiscussionReport DiscussionType = "report" - DiscussionPatch DiscussionType = "patch" + DiscussionReport DiscussionType = "report" + DiscussionPatch DiscussionType = "patch" + DiscussionReminder DiscussionType = "reminder" ) type Discussion struct { |
