Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
26fd9d23
Commit
26fd9d23
authored
10 years ago
by
Diana Huang
Browse files
Options
Downloads
Patches
Plain Diff
Remove Segment events from courseware.
parent
2341bf1d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/lib/xmodule/xmodule/js/src/capa/display.coffee
+0
-6
0 additions, 6 deletions
common/lib/xmodule/xmodule/js/src/capa/display.coffee
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
+0
-21
0 additions, 21 deletions
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
with
0 additions
and
27 deletions
common/lib/xmodule/xmodule/js/src/capa/display.coffee
+
0
−
6
View file @
26fd9d23
...
...
@@ -301,12 +301,6 @@ class @Problem
Logger
.
log
'problem_check'
,
@
answers
# Segment.io
analytics
.
track
"edx.bi.course.problem.checked"
,
category
:
"courseware"
problem_id
:
@
id
answers
:
@
answers
$
.
postWithPrefix
(
"
#{
@
url
}
/problem_check"
,
@
answers
,
(
response
)
=>
switch
response
.
success
when
'incorrect'
,
'correct'
...
...
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
+
0
−
21
View file @
26fd9d23
...
...
@@ -126,15 +126,6 @@ class @Sequence
if
(
1
<=
new_position
)
and
(
new_position
<=
@
num_contents
)
Logger
.
log
"seq_goto"
,
old
:
@
position
,
new
:
new_position
,
id
:
@
id
analytics
.
pageview
@
id
# navigation by clicking the tab directly
analytics
.
track
"edx.bi.course.sequential.direct.clicked"
,
category
:
"courseware"
sequence_id
:
@
id
current_sequential
:
@
position
target_sequential
:
new_position
# On Sequence change, destroy any existing polling thread
# for queued submissions, see ../capa/display.coffee
if
window
.
queuePollerID
...
...
@@ -165,18 +156,6 @@ class @Sequence
new
:
new_position
id
:
@
id
analytics
.
pageview
@
id
# navigation using the next or previous arrow button.
tracking_messages
=
seq_prev
:
"edx.bi.course.sequential.previous.clicked"
seq_next
:
"edx.bi.course.sequential.next.clicked"
analytics
.
track
tracking_messages
[
direction
],
category
:
"courseware"
sequence_id
:
@
id
current_sequential
:
@
position
target_sequential
:
new_position
# If the bottom nav is used, scroll to the top of the page on change.
if
$
(
event
.
target
).
closest
(
'nav[class="sequence-bottom"]'
).
length
>
0
$
.
scrollTo
0
,
150
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment