Skip to content

Fix GroupActivityCard relative metric links

Alex Pennells requested to merge 411315-fix-relative-url-root into master

What does this MR do and why?

Account for a custom relative_url_root when generating metric links on the Group page.

Screenshot_2023-05-15_at_3.50.58_PM

How to set up and validate locally

  1. Set relative_url_root to /path:
gdk config set relative_url_root /path
gdk reconfigure
gdk restart
  1. Visit any group page: http://gdk.test:3000/path/flightjs
  2. Validate that the metric links are working as expected

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #411315 (closed)

Merge request reports