Skip to content

Handle schedule create success (cache and alert)

Olena Horal-Koretska requested to merge 262848-schedule-create-success into master

What does this MR do?

🇺🇦 It is behind the feature flag oncall_schedules_mvc and the minimal license is GitLab Premium 👀 To check Enable feature flag=>Navigate to Operations/On-call schedule => Click Add schedule on empty state or direct link is your_project/-/oncall_schedules e.g. http://127.0.0.1:3000/gitlab-org/gitlab-shell/-/oncall_schedules. Add a schedule

  • Shows alert on successful schedule update
  • Updates Apollo cache on successful creation to display newly created schedule (Currently we display one last schedule).

Screenshots (strongly suggested)

2020-12-03_17.36.04

Screen_Shot_2020-12-03_at_17.36.20

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:

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

Related to #262848 (closed)

Edited by Olena Horal-Koretska

Merge request reports