Skip to content

Load branches on new merge request page asynchronously

Inactive Account requested to merge winh-new-mergerequest-branch-picker into master

What does this MR do?

Fill the (source and target) branch dropdowns on the new merge request page via Ajax requests.

Why was this MR needed?

For projects with many branches the new merge request page was very slow.

Screenshots

Before After
slow-branch-picker fast-branch-picker
slow-branch-picker-private fast-branch-picker-private

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Frontend
    • Has been reviewed by Backend

What are the relevant issue numbers?

Closes #37477 (closed)

Edited by Inactive Account

Merge request reports