Lazy-load the SAML reload modal

What does this MR do and why?

main_ee.js imported ee/saml_sso/index on every page, which brings in the SAML reload modal and the authorize component. Only groups with a SAML provider render #js-saml-reload, so I import it only when that element exists.

References

Closes #604090 (closed)

Screenshots or screen recordings

No UI change.

How to set up and validate locally

  1. Open a page in a group with SAML set up. The reload modal mounts and the samlReloadModal chunk loads.
  2. Open a page outside a SAML group. That chunk isn't requested.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Aditya Reddy

Merge request reports

Loading
Loading