Switch to using relative URLs in group and project lists

What does this MR do and why?

Related to #547602 (closed) and #541974

There are some self managed configurations where absolute URLs do not work. This is also an issue in Geo. This MR updates the project and groups lists to use relative URLs instead of absolute URLs. It is worth noting that this is really only a band-aid and there are many other places in GitLab that will not work with these unconventional self managed set ups.

References

Screenshots or screen recordings

Projects list

Before After
Screenshot_2025-07-07_at_12.05.56_PM Screenshot_2025-07-07_at_11.55.37_AM
Screenshot_2025-07-07_at_12.06.10_PM Screenshot_2025-07-07_at_11.56.00_AM
Screenshot_2025-07-07_at_12.06.23_PM Screenshot_2025-07-07_at_11.56.15_AM

Groups list

Before After
Screenshot_2025-07-07_at_12.08.00_PM Screenshot_2025-07-07_at_11.59.50_AM
Screenshot_2025-07-07_at_12.08.15_PM Screenshot_2025-07-07_at_12.00.13_PM

How to set up and validate locally

Projects list

  1. Go to /dashboard/projects. URLs should work.

Groups list

  1. Go to /rails/features and enable your_work_groups_vue feature flag
  2. Go to /dashboard/groups. URLs should work.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading