Commit 9402def7 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Keep the cookie name as before

This is to avoid prompting the same dialog for people who already dismissed the dialog.
parent ff1e2dd4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
//= require_tree . //= require_tree .
$(() => { $(() => {
const OVERVIEW_DIALOG_COOKIE = 'ca_overview_dialog_dismissed'; const OVERVIEW_DIALOG_COOKIE = 'cycle_analytics_help_dismissed';
const cycleAnalyticsEl = document.querySelector('#cycle-analytics'); const cycleAnalyticsEl = document.querySelector('#cycle-analytics');
const cycleAnalyticsStore = gl.cycleAnalytics.CycleAnalyticsStore; const cycleAnalyticsStore = gl.cycleAnalytics.CycleAnalyticsStore;
const cycleAnalyticsService = new gl.cycleAnalytics.CycleAnalyticsService({ const cycleAnalyticsService = new gl.cycleAnalytics.CycleAnalyticsService({
...@@ -29,7 +29,7 @@ $(() => { ...@@ -29,7 +29,7 @@ $(() => {
components: { components: {
'stage-issue-component': gl.cycleAnalytics.StageIssueComponent, 'stage-issue-component': gl.cycleAnalytics.StageIssueComponent,
'stage-plan-component': gl.cycleAnalytics.StagePlanComponent, 'stage-plan-component': gl.cycleAnalytics.StagePlanComponent,
'stage-code-component': gl.cycleAnalytics.StageCodeComponent, 'stage-code-component': gl .cycleAnalytics.StageCodeComponent,
'stage-test-component': gl.cycleAnalytics.StageTestComponent, 'stage-test-component': gl.cycleAnalytics.StageTestComponent,
'stage-review-component': gl.cycleAnalytics.StageReviewComponent, 'stage-review-component': gl.cycleAnalytics.StageReviewComponent,
'stage-staging-component': gl.cycleAnalytics.StageStagingComponent, 'stage-staging-component': gl.cycleAnalytics.StageStagingComponent,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment