VSA fix haml helper paths passed to the frontend
What does this MR do and why?
This MR addresses #340276 (closed).
Previously we passed helper paths for API requests from the backend, these paths would then be appended with a json
extension when required, but we can construct the helper paths on the backend for VSA to include the json
extension and remove this extra step.
Additionally, this MR moves the project cycle analytics data to a helper and adds related rspec tests.
Screenshots or screen recordings
No visual changes
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Ezekiel Kigbo