Designs tab leads to Discussion view when opened in new tab/window
Summary
On an Issue, clicking the "Designs" tab opens the "Designs" view as expected. However, none of these do:
- "Open Link in New Tab"
- "Open Link in New Window"
- "Copy Link Address" then going to the copied URL
The 3 approaches above result in the default "Discussions" view loading - not the "Designs" view.
Steps to reproduce
- On this page, scroll down to the "Designs" tab
- Right-click the "Designs" tab and choose "Open Link in New Tab" (or equivalent)
- Notice that the "Designs" view is not displayed (the "Discussion" view is)
What is the current bug behavior?
The "Designs" tab is not displayed when you navigate to the URL of the "Designs" tab link.
What is the expected correct behavior?
The "Designs" tab is displayed when you navigate to the URL of the "Designs" tab link.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
JS should detect the appropriate tab to display at page load, based on the #designs-tab anchor instruction in the URL.
Edited by Dan Jensen
