Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
09ee3af3
Commit
09ee3af3
authored
Jan 07, 2019
by
Constance Okoghenun
Committed by
Kushal Pandya
Jan 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Track export issues CSV usage on GitLab.com with Snowplow"
parent
df3d022f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
ee/app/assets/javascripts/pages/projects/issues/index/export_csv_modal.js
...vascripts/pages/projects/issues/index/export_csv_modal.js
+3
-0
ee/app/views/projects/issues/export_issues/_csv_download.html.haml
...ews/projects/issues/export_issues/_csv_download.html.haml
+1
-1
ee/changelogs/unreleased/8774-track-export-issues-csv-usage-on-gitlab-com-with-snowplow.yml
...k-export-issues-csv-usage-on-gitlab-com-with-snowplow.yml
+5
-0
No files found.
ee/app/assets/javascripts/pages/projects/issues/index/export_csv_modal.js
View file @
09ee3af3
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Stats
from
'
ee/stats
'
;
export
default
function
initExportCSVModal
()
{
export
default
function
initExportCSVModal
()
{
const
$modal
=
$
(
'
.issues-export-modal
'
);
const
$modal
=
$
(
'
.issues-export-modal
'
);
const
$downloadBtn
=
$
(
'
.csv_download_link
'
);
const
$downloadBtn
=
$
(
'
.csv_download_link
'
);
const
$closeBtn
=
$
(
'
.modal-header .close
'
);
const
$closeBtn
=
$
(
'
.modal-header .close
'
);
Stats
.
bindTrackableContainer
(
'
.issues-export-modal
'
);
$modal
.
modal
({
show
:
false
});
$modal
.
modal
({
show
:
false
});
$downloadBtn
.
on
(
'
click
'
,
()
=>
$modal
.
modal
(
'
show
'
));
$downloadBtn
.
on
(
'
click
'
,
()
=>
$modal
.
modal
(
'
show
'
));
$closeBtn
.
on
(
'
click
'
,
()
=>
$modal
.
modal
(
'
hide
'
));
$closeBtn
.
on
(
'
click
'
,
()
=>
$modal
.
modal
(
'
hide
'
));
...
...
ee/app/views/projects/issues/export_issues/_csv_download.html.haml
View file @
09ee3af3
...
@@ -18,6 +18,6 @@
...
@@ -18,6 +18,6 @@
%strong
=
@current_user
.
notification_email
%strong
=
@current_user
.
notification_email
in an attachment.
in an attachment.
.modal-footer
.modal-footer
=
link_to
'Export issues'
,
export_csv_project_issues_path
(
@project
,
request
.
query_parameters
),
method: :post
,
class:
'btn btn-success float-left'
,
title:
'Export issues'
=
link_to
'Export issues'
,
export_csv_project_issues_path
(
@project
,
request
.
query_parameters
),
method: :post
,
class:
'btn btn-success float-left'
,
title:
'Export issues'
,
data:
{
track_label:
"export_issues_csv"
,
track_event:
"click_button"
}
-
elsif
show_promotions?
-
elsif
show_promotions?
=
render
'shared/promotions/promote_csv_export'
=
render
'shared/promotions/promote_csv_export'
ee/changelogs/unreleased/8774-track-export-issues-csv-usage-on-gitlab-com-with-snowplow.yml
0 → 100644
View file @
09ee3af3
---
title
:
Added Snowplow tracking to issues export
merge_request
:
9045
author
:
type
:
added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment