No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
ba31caa
... +2 ...
bfef228
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
2 | 2 | class NotificationsController < Notifications::ApplicationController |
|
3 | 3 | def index |
|
4 | 4 | @notifications = notifications.includes(:actor).order("id desc").page(params[:page]) |
|
5 | + | @notification_groups = @notifications.group_by { |note| note.created_at.to_date } |
|
5 | 6 | ||
6 | - | unread_ids = @notifications.reject(&:read?).select(&:id) |
|
7 | + | unread_ids = @notifications.unread.ids |
|
7 | 8 | Notification.read!(current_user, unread_ids) |
|
8 | - | ||
9 | - | @notification_groups = @notifications.group_by { |note| note.created_at.to_date } |
|
10 | 9 | end |
|
11 | 10 | ||
12 | 11 | def read |
Files | Coverage |
---|---|
notifications | +18.52% 100.00% |
notifications.rb | 100.00% |
Folder Totals (2 files) | 100.00% |
Project Totals (7 files) | 96.81% |
#31
bfef228
885ca10
#31
0dc09f3
ba31caa