gitlab-org--gitlab-foss/changelogs/unreleased/fix-49388.yml
syasonik db054bc166 Support flat response for envs index route
To support environment folders in the UI on the Environments List
page, the environments index route previously returned one environment
per folder, excluding those other than the latest deploy. However, the
environtments dropdown on the metrics dashboard requires that any
environment be selectable.

To accommodate both use cases, support an optional 'nested' parameter
in the index route to return either a flat, complete response or a
nested response based on the use case in question. The new default
response structure is the flat response.
2019-01-21 14:51:16 -06:00

5 lines
116 B
YAML

---
title: Update metrics environment dropdown to show complete option set
merge_request: 24441
author:
type: fixed