MR Security widget performance improvements
This is a container for issues that will improve the performance of the MR security widget. # 1. Limit number of entries in the MR widget Instead of showing all the findings in the widget, this introduces a limit to the number of items that we display - and, by consequence, fetch from the backend. The default limit is hard-coded but, if there is a scan result policy defined, we do our best to use that number instead. Findings, however, are always listed in decreasing severity order (i.e. critical first). See [proposal in the design issue](https://gitlab.com/gitlab-org/gitlab/-/issues/339397/#proposal) for the new behavior requirements. ![MR security widget with limited number of entries](https://gitlab.com/gitlab-org/gitlab/-/design_management/designs/435894/ea8fbf735c95e51cf6e2b0ed06aa6e0266bf57e6/raw_image "Design for MR widget"). # 2. Only load findings after "Expand" Details in https://gitlab.com/gitlab-org/gitlab/-/issues/344467+ # 3. Poll pipeline status instead of individual reports - Complete Details in https://gitlab.com/gitlab-org/gitlab/-/issues/371868+
epic