Skip to content

Remove the add escalation rule link when at limit

Tristan Read requested to merge tr-escalation-policy-limit into master

What does this MR do?

Escalation policies feature.

  • Removes the 'add escalation rule' link when the backend limit of 10 is reached.
  • Also adds a scrollbar within the modal.
  • Applies to both the Add modal and the Edit modal

To Test:

  • Navigate to a project -> Monitor -> Escalation Policies.
  • Add a new policy, and add 10 rules to that policy. Observe that the 'add rule' link disappears.

Issue: #334748 (closed)

Screenshots (strongly suggested)

before after
Screenshot_2021-07-13_at_17.51.26 Screenshot_2021-07-13_at_10.27.27

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [n/a] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [n/a] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [n/a] Security reports checked/validated by a reviewer from the AppSec team
Edited by Tristan Read

Merge request reports