-
- Downloads
Differentiate the expire from leave event
At the moment we cannot see weather a user left a project due to their membership expiring of if they themselves opted to leave the project. This adds a new event type that allows us to make this differentiation. Note that is not really feasable to go back and reliably fix up the previous events. As a result the events for previous expire removals will remain the same however events of this nature going forward will be correctly represented.
parent
c08435e3
No related branches found
No related tags found
Showing
- CHANGELOG.md 1 addition, 0 deletionsCHANGELOG.md
- app/models/concerns/expirable.rb 5 additions, 1 deletionapp/models/concerns/expirable.rb
- app/models/event.rb 8 additions, 1 deletionapp/models/event.rb
- app/models/members/project_member.rb 5 additions, 1 deletionapp/models/members/project_member.rb
- app/services/event_create_service.rb 4 additions, 0 deletionsapp/services/event_create_service.rb
- features/dashboard/dashboard.feature 0 additions, 13 deletionsfeatures/dashboard/dashboard.feature
- features/steps/dashboard/dashboard.rb 0 additions, 27 deletionsfeatures/steps/dashboard/dashboard.rb
- lib/event_filter.rb 9 additions, 2 deletionslib/event_filter.rb
- spec/features/dashboard/project_member_activity_index_spec.rb 41 additions, 0 deletions.../features/dashboard/project_member_activity_index_spec.rb
- spec/models/concerns/expirable_spec.rb 31 additions, 0 deletionsspec/models/concerns/expirable_spec.rb
- spec/models/event_spec.rb 27 additions, 0 deletionsspec/models/event_spec.rb
- spec/models/members/project_member_spec.rb 11 additions, 0 deletionsspec/models/members/project_member_spec.rb
- spec/services/event_create_service_spec.rb 19 additions, 0 deletionsspec/services/event_create_service_spec.rb
Loading
Please register or sign in to comment