Skip to content

Fix incorrect redirect to todos dashboard for relative url configuration

Andrejs Cunskis requested to merge andrey-sidebar-relative-url into master

What does this MR do and why?

Fix incorrect redirect to todos dashboard from super sidebar in cases when gitlab is configured with relative url.

This typebug was picked up by our E2E tests

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Configure GDK to use relative url via relative_url_root: "/relative" option
  2. In rails console enable new nav feature flag
    Feature.enable(:super_sidebar_nav)
  3. Enable new sidebar for logged in user from user menu
  4. Click on To-Do list

MR acceptance checklist

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

Merge request reports