Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 48,748
    • Issues 48,748
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,568
    • Merge requests 1,568
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #15893
Closed
Open
Issue created Sep 12, 2016 by ghost-83988-986476@rastasheep

Fix editable branch dropdown on MR creation screen

is part of https://gitlab.com/gitlab-org/gitlab-ce/issues/27108

Description

It would be nice to be able to change branch on new merge request page, instead of having to go to dedicated page for that.

Why is this as is?

was introduced in gitlab-ce!856 because of gitlab-ce#1830. It seems that enabling the dropdowns to change branches was the original intended functionality, but it did not work correctly, so the solution was to disable the dropdown if the target branch has already been specified (which is the case when creating a MR from the helpful "You pushed to a minute ago / Create Merge Request" button or from clicking the link in the git output after pushing from the CLI).

cc: @stanhu @DouweM @smcgivern @denaje

Proposal

Fetch branches list for dropdown on new merge request page (merge_requests/new) instead on (merge_requests/new?change_branches=true&..).

It's ajax call anyway :)

// via https://twitter.com/lesa_ns/status/771251999434153984

Edited Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee
Assign to
Time tracking