Skip to content

Fixes rendering of the users profile page

Phil Hughes requested to merge ph/userProfileTidyUp into master

What does this MR do and why?

Updates each route to have its template, instead of having a single template. This changes the behaviour of the user profile page by only loading what each tab needs. Before this change every page would have all the elements of every other page on it, for most this is fine as it is async loaded. However the README on the overview tab is not async loaded. So every page was doing a gitaly request for the README contents but never displaying it.

The next iteration after this will be fixing the JavaScript bundle on these pages so that each page will only load the JavaScript they need.

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 to set up and validate locally

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

Merge request reports