Skip to content

Add infinite scroll to source_branch_dropdown.vue

What does this MR do and why?

  • Allow loading more branch names by using offset pagination with GraphQL. This fixes an issue with not being able to display all branches.
  • Add specs and refactor mocking of Apollo to follow newest guidelines.

Changelog: changed

Screenshots or screen recordings

Before After
GitLab_for_Jira_-_Create_branch GitLab_for_Jira_-_Create_branch_with_scroll

How to set up and validate locally

Go to http://127.0.0.1:3000/-/jira_connect/branches/new?issue_key=FE-10.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #416843 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports