Linking to self-same page with added `GET` parameters

Currently we have a link in app/assets/javascripts/monitoring/components/dashboard.vue that appends a GET parameter to the current url as shown below:

:href="`?dashboard=${dashboard.path}`"

The following discussion from gitlab-ce!31239 should be addressed:

  • @adriel started a discussion:

    ... I think we need to open an issue for this to create a more sustainable pattern. Appending GET parameters like this will likely lead to conflicts as our dashboard scales. We are likely to run into a scenario where the url already has parameters and appending this way will cause us to lose those additional parameters.

Edited Nov 16, 2020 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading