Lazy-load pipeline status in Web IDE
Summary
Switching MRs in the Web IDE takes a long time (#22715 (closed)), partly because we're immediately loading the pipeline status by requesting .../commit/.../pipelines
as JSON. This request is also repeated every ~10s to keep the status up-to-date.
Improvements
This could be delayed until the pipeline panel on the right side is loaded. The repeating update should only be enabled while that panel is visible, and disabled again when it's closed.
These requests might also be tied to the pipeline status in the bottom statusbar, if that's the case maybe this could be loaded independently in a less costly request.
Risks
This will add a delay when opening the pipeline panel, in exchange for having the MR switching be slightly faster.