Add expand/collapse to Terraform report MR widget
Release Post candidate
You can have multiple infrastructure changes listed in a single Merge Request. Having multiple terraform plan
artifacts supported in the Merge Request adds support for more elaborate pipelines where a single pipeline deploys to multiple environments.
Description
(Identified in !34392 (merged))
Currently the Terraform reports can take up an undesirable bit of vertical space (which is a preexisting problem with the other report widgets):
From @mvanremmerden !34392 (comment 362376054)
We are already struggling with the amount of merge request widgets and the information in them (#217311 (closed)) and should be very intentional if we add new ones. The current ones also already take up so much space that the primary action, the merge button, is pushed below the fold #214411, so we have to make all new widgets as lean as possible until we can shift the UI around to solve these problems on a more long-term basis.
I looked at #219255 (closed), but couldn't find any designs or information when these widgets would show up, how many there could be and how many merge requests would be impacted, is there maybe another issue with that kind of information?
Proposal
Let's apply the preexisting collapsible pattern (!34392 (comment 362786515)) for now!
credit to @mvrachni