mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #70 from sharelatex/as-add-onboarding-logging
Adds some onboarding logging to investigate potential bug
This commit is contained in:
commit
5b1836c639
1 changed files with 3 additions and 0 deletions
|
@ -229,6 +229,7 @@ module.exports = ProjectController =
|
||||||
else if event?
|
else if event?
|
||||||
return cb(null, false)
|
return cb(null, false)
|
||||||
else
|
else
|
||||||
|
logger.log { user_id, event }, "track changes onboarding not shown yet to this user"
|
||||||
return cb(null, true)
|
return cb(null, true)
|
||||||
showPerUserTCNotice: (cb) ->
|
showPerUserTCNotice: (cb) ->
|
||||||
cb = underscore.once(cb)
|
cb = underscore.once(cb)
|
||||||
|
@ -247,6 +248,7 @@ module.exports = ProjectController =
|
||||||
else if event?
|
else if event?
|
||||||
return cb(null, false)
|
return cb(null, false)
|
||||||
else
|
else
|
||||||
|
logger.log { user_id, event }, "per user track changes notice not shown yet to this user"
|
||||||
return cb(null, true)
|
return cb(null, true)
|
||||||
showAutoCompileOnboarding: (cb) ->
|
showAutoCompileOnboarding: (cb) ->
|
||||||
cb = underscore.once(cb)
|
cb = underscore.once(cb)
|
||||||
|
@ -273,6 +275,7 @@ module.exports = ProjectController =
|
||||||
else if event?
|
else if event?
|
||||||
return cb(null, false)
|
return cb(null, false)
|
||||||
else
|
else
|
||||||
|
logger.log { user_id, event }, "autocompile onboarding not shown yet to this user"
|
||||||
return cb(null, true)
|
return cb(null, true)
|
||||||
}, (err, results)->
|
}, (err, results)->
|
||||||
if err?
|
if err?
|
||||||
|
|
Loading…
Reference in a new issue