-
- Downloads
Last push widget will show banner for new pushes to previously merged branch
Previously, the last push widget would only show when the branch never had a merge request associated with it - even merged or closed ones. Now the widget will disregard merge requests that are merged or closed.
Showing
- app/models/push_event.rb 2 additions, 1 deletionapp/models/push_event.rb
- changelogs/unreleased/40818-last-push-widget-does-not-appear-after-pushing-new-commit.yml 5 additions, 0 deletions...-push-widget-does-not-appear-after-pushing-new-commit.yml
- db/migrate/20171207185153_add_merge_request_state_index.rb 18 additions, 0 deletionsdb/migrate/20171207185153_add_merge_request_state_index.rb
- db/schema.rb 1 addition, 0 deletionsdb/schema.rb
- spec/models/push_event_spec.rb 21 additions, 5 deletionsspec/models/push_event_spec.rb
Please register or sign in to comment