Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxan van Leeuwen <oxan@oxanvanleeuwen.nl>2016-11-22 20:11:34 +0300
committerOxan van Leeuwen <oxan@oxanvanleeuwen.nl>2016-12-05 01:07:22 +0300
commitbb447383c527d28bf4f884df18462e22be05f3b4 (patch)
tree82c72bd1de0a05b52f0549d593aeacd012e720f9 /app/views/shared/_event_filter.html.haml
parentef6a91af123d8b773ba8a286cf986abaedee6c33 (diff)
Add issue events filter and make sure "All" really shows everything
Currently, the EventFilter whitelists event types for the "All" filter. This has gotten outdated, which causes the confusing behaviour of the "All" tab not really showing all events. To make matters worse, by default no tab at all is selected, which does show all events, so selecting the "All" tab actually hides some events. Fix this by: - Making sure All always includes all activity, by abolishing the whitelist and just returning all events instead. - Make the All tab selected by default. - Add Issue events tab to include the specific events around opening and closing issues, since there was no specific filter to see them yet. Fixes #24826
Diffstat (limited to 'app/views/shared/_event_filter.html.haml')
-rw-r--r--app/views/shared/_event_filter.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/_event_filter.html.haml b/app/views/shared/_event_filter.html.haml
index c367ae336db..67c145cef17 100644
--- a/app/views/shared/_event_filter.html.haml
+++ b/app/views/shared/_event_filter.html.haml
@@ -5,5 +5,7 @@
- if event_filter_visible(:merge_requests)
= event_filter_link EventFilter.merged, 'Merge events'
- if event_filter_visible(:issues)
+ = event_filter_link EventFilter.issue, 'Issue events'
+ - if event_filter_visible(:issues)
= event_filter_link EventFilter.comments, 'Comments'
= event_filter_link EventFilter.team, 'Team'