-
- Downloads
Merge branch 'fix-already-selected-activity-link' into 'master'
Fix inconsistent highlighting of already selected activity nav-links ## What does this MR do? * Remove edge case where user could deselect an activity nav-link (which seems to be returning all the events) * Explicitly add an `All` tab to return all the events ## Are there points in the code the reviewer needs to double check? Shouldn't be ## Why was this MR needed? Resolves existing UI inconsistency ## Screenshots (if relevant) Before:  After:  ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - Tests - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? * Closes #21631 * Closes #21452 See merge request !6091
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/assets/javascripts/activities.js 5 additions, 7 deletionsapp/assets/javascripts/activities.js
- app/controllers/application_controller.rb 2 additions, 1 deletionapp/controllers/application_controller.rb
- app/views/shared/_event_filter.html.haml 1 addition, 0 deletionsapp/views/shared/_event_filter.html.haml
- lib/event_filter.rb 13 additions, 10 deletionslib/event_filter.rb
- spec/javascripts/activities_spec.js.es6 61 additions, 0 deletionsspec/javascripts/activities_spec.js.es6
- spec/javascripts/fixtures/event_filter.html.haml 21 additions, 0 deletionsspec/javascripts/fixtures/event_filter.html.haml
- spec/lib/event_filter_spec.rb 49 additions, 0 deletionsspec/lib/event_filter_spec.rb
spec/javascripts/activities_spec.js.es6
0 → 100644
spec/lib/event_filter_spec.rb
0 → 100644
Please register or sign in to comment