Merge pull request #8483 from overleaf/jpa-faster-compiles-feedback-ui
[web] faster compiles feedback UI GitOrigin-RevId: 9feea47503aa6bddf51adb73b8c9fbef394fda14
This commit is contained in:
@@ -88,7 +88,9 @@ module.exports = CompileController = {
|
||||
if (pdfDownloadDomain && outputUrlPrefix) {
|
||||
pdfDownloadDomain += outputUrlPrefix
|
||||
}
|
||||
let showFasterCompilesFeedbackUI = false
|
||||
if (limits?.emitCompileResultEvent) {
|
||||
showFasterCompilesFeedbackUI = true
|
||||
AnalyticsManager.recordEventForSession(
|
||||
req.session,
|
||||
'compile-result-backend',
|
||||
@@ -111,6 +113,7 @@ module.exports = CompileController = {
|
||||
stats,
|
||||
timings,
|
||||
pdfDownloadDomain,
|
||||
showFasterCompilesFeedbackUI,
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user