Skip to content

Add timeline event from comment

Proposal

Create a timeline event from a button on the comment.

Design

Timeline icon Icon tooltip Toast message Item added to the timeline
Incident Tooltip Toast Timeline_tab_-_v3
  • Icon to be added to the toolbar on incidents only
  • Tooltip will display above icon on hover
  • Clicking the icon will add the comment to the timeline immediately, but the user will stay on the Summary tab rather than immediately being re-directed to the the Timeline tab
  • A toast message will appear, letting people know the timeline has been added
  • We should not disable the icon, and allow people to add the same comment to the timeline multiple times, if they want.

Figma

Frontend

  • Show icon to add to timeline
  • Call API when clicked
  • Show toast message on completion

Backend

  • Provide API to copy a comment to a timeline event

Release notes

https://docs.gitlab.com/ee/operations/incident_management/incident_timeline_events.html#from-a-comment-on-the-incident

image

Edited by Alana Bellucci