Remove last data-remote script execution in codebase
What does this MR do and why?
This changes the new-project-from-template flow to avoid data-remote
JavaScript execution.
This is a minimum viable change for addressing #353339 (closed) and #353340 (closed), which are blocking #336138 (closed).
These endpoints now return HTML fragments instead of JavaScript; there should be no difference in behaviour as far as the user is concerned.
Screenshots or screen recordings
Before | After NO CHANGE IN BEHAVIOUR |
---|---|
before | after |
How to set up and validate locally
- Set up custom instance-level project templates
- Set up custom group-level project templates
- Visit https://gdk.test:3000/projects/new
- Click on
Create from template
- See that clicking into the instance and group tabs displays the templates, and you can page through them
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 Mark Florian