Welcome to mirror list, hosted at ThFree Co, Russian Federation.

utils.js « notes « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e6c2eb06a512905ecf09da59fb9e508bdd66507b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* eslint-disable @gitlab/require-i18n-strings */

/**
 * Tracks snowplow event when User toggles timeline view
 * @param {Boolean} enabled that will be send as a property for the event
 */
export const trackToggleTimelineView = enabled => ({
  category: 'Incident Management',
  action: 'toggle_incident_comments_into_timeline_view',
  label: 'Status',
  property: enabled,
});