Skip to content

Feat: extract hosts and urls for frontend usage

  • Please check this box if this contribution uses AI-generated content as outlined in the GitLab DCO & CLA

What does this MR do and why?

I understand that the gon variable is currently quite huge per size perspective, but I think those urls and hosts is essential and correct for exposing them to the gon variable, plus, also we are using these urls in the help menu and since every page has this help menu, I think this is the correct way to put those urls and hosts to gon variables.

  • Part of the epic &13517
  • Exposing hosts and urls in the gon variables.
  • Utilize those exposed variables for frontend.

Feat: extract hosts and urls for frontend usage

  • Expose frontend needed urls to gon variables.
  • Utilize the variables from gon and expose the composed variables.

Changlog: added

MR acceptance checklist

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

Screenshots or screen recordings

How they look in the conosle.

CleanShot_2024-04-15_at_12.09.33_2x

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

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

Edited by Wu Jeremy

Merge request reports