Skip to content

Filter branch with exact string

Description

Some of our clients have a large number of branches that are sorted numerically, then alphabetically. This does not always return the most relevant result, for example the user might search for develop and the following order will be returned:

1111-develop
2222-develop
bugfix-develop
...
develop

Where it would be most intuitive to return develop as the first result.

Proposal

Allow user to match exact branch in dropdown and branch filter

Links / references

ZD: https://gitlab.zendesk.com/agent/tickets/73597

Documentation blurb

  1. Why should someone use it; what's the underlying problem.
  • Customer would use this to find the most relevant branch without scrolling down through a large list of branches.
  1. What is the solution.
  • I would expect either a "Match exact branch" option box or to match exact branches by quoting the search string.
  1. How does someone use this
  • When searching for a branch the user would apply one of the solutions in step (2).