Skip to content

Expose url of published incident on status page on issue

Sarah Yasonik requested to merge sy-publish-status-ui into master

What does this MR do?

With the ability to publish issues to a configured status page based on user discretion, we want a way to show whether an issue has been published and to link to the published status page.

BE Part: This MR exposes an attribute publishedIncidentUrl as a part of the initial data on issue load.

FE Part: The FE portion of this MR was reviewed and merged into this branch from !33511 (merged). It has been approved separately, so this feature can be merged as one chunk.

We add a new prop to the pinned_links.vue component which allows us to check for publishedIncidentUrl, if it exists, use that as the path for the link, otherwise default to normal behaviour.

Related Issue: #213914 (closed)

Blocking MRs:

Screenshots

Demo_of_publish_button

Screen_Shot_2020-06-04_at_9.36.40_PM

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
Edited by David O'Regan

Merge request reports