Skip to content

Update on-call rotation time interval restrictions

Tristan Read requested to merge tr-on-call-rotation-interval-frontend into master

What does this MR do?

Adds the frontend piece for adding and updating on-call rotation time interval restrictions.

The interval restriction consists of the 'Restrict to time intervals' checkbox as well as the associated time range. See screenshot below.

Changes:

  • Data from the interval restriction field is now saved to the backend when adding a new on-call rotation.

Feature flag: :oncall_schedules_mvc

Issue: #262859 (closed)

  • TODO: When !52998 (merged) is merged, rebase against and target the master branch.

Screenshots (strongly suggested)

New oncall schedule form
Screenshot_2021-02-23_at_18.36.23

Note: No visual change - these UI elements existed previously but weren't connected to the backend.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [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