Commit 9fa15e56 authored by Fatih Acet's avatar Fatih Acet Committed by Alejandro Rodríguez

Merge branch '24739-collapsed-build-list-sorting' into 'master'

Sort pipeline graph builds and build groups by name

## What does this MR do?

Sorts builds and build groups by name within pipeline graphs

## Are there points in the code the reviewer needs to double check?

Shouldn't be. This was a one-line change.

## Why was this MR needed?

It can be difficult to find the build you are looking for within a group of similarly-named builds when they are in a seemingly random order.

## Screenshots (if relevant)

### Before:


### After:


## Does this MR meet the acceptance criteria?

- [x] [Changelog entry]( added
- Tests
  - [ ] All builds are passing
- [x] Conform by the [merge request performance guides](
- [x] Conform by the [style guides](
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [x] [Squashed related commits together](

## What are the relevant issue numbers?

Closes #24739

See merge request !7681
parent 9c633ec5
- status_groups = statuses.group_by(&:group_name)
- status_groups = statuses.sort_by(&:name).group_by(&:group_name)
- status_groups.each do |group_name, grouped_statuses|
- if
- status = grouped_statuses.first
title: Sort builds by name within pipeline graph
merge_request: 7681
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment