Skip to content

Refactored the user callout class

Phil Hughes requested to merge user-callout-refactor into master

What does this MR do?

Refactors the user callout class so that the JS is no longer in charge of the HTML. The HAML is now fully in charge of when to show the template. This gives us access to the Rails helper methods for the path etc. It should also increase the performance & remove any flash after the JS has loaded (if the connection is slow for example).

What are the relevant issue numbers?

Closes #29955 (closed)

Merge request reports