BigW Consortium Gitlab
Pipelines tabs ## What does this MR do? Changes the URL when the builds tab is clicked making it possible to be shared. 1. Adds a standard way to handle linked tabs: * This behaviour is already present in the merge requests, commit and user `show` page. * This MR introduces a reusable way to accomplish this behaviour for pages with static content. 2. Adds test: * For the linked tabs reusable class * For the pipelines tabs ## Why was this MR needed? To allow having a sharable URL that represented the opened tab ![tabs](/uploads/91e663c12c6e9ac46a17aa3a9489dc72/tabs.gif) ## Does this MR meet the acceptance criteria? - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [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 it does - 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 #24814 See merge request !7709
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
badges | Loading commit data... | |
blobs | Loading commit data... | |
branches | Loading commit data... | |
commit | Loading commit data... | |
commits | Loading commit data... | |
files | Loading commit data... | |
import_export | Loading commit data... | |
issues | Loading commit data... | |
labels | Loading commit data... | |
main | Loading commit data... | |
members | Loading commit data... | |
merge_requests | Loading commit data... | |
pipelines | Loading commit data... | |
services | Loading commit data... | |
settings | Loading commit data... | |
tags | Loading commit data... | |
wiki | Loading commit data... | |
branches_spec.rb | Loading commit data... | |
builds_spec.rb | Loading commit data... | |
developer_views_empty_project_instructions_spec.rb | Loading commit data... | |
edit_spec.rb | Loading commit data... | |
features_visibility_spec.rb | Loading commit data... | |
gfm_autocomplete_load_spec.rb | Loading commit data... | |
group_links_spec.rb | Loading commit data... | |
guest_navigation_menu_spec.rb | Loading commit data... | |
issuable_templates_spec.rb | Loading commit data... | |
new_project_spec.rb | Loading commit data... | |
project_settings_spec.rb | Loading commit data... | |
ref_switcher_spec.rb | Loading commit data... | |
shortcuts_spec.rb | Loading commit data... | |
snippets_spec.rb | Loading commit data... |