Merge pull request #21648 from overleaf/msm-disable-ce-survey

[web] Remove CE Survey

GitOrigin-RevId: e492ced24b2c289a8d41f4e0e3215079ff5e7829
This commit is contained in:
Miguel Serrano 2024-11-11 10:51:37 +01:00 committed by Copybot
parent 6345ec3b04
commit 5170f28a4f

View file

@ -168,16 +168,6 @@ async function projectListPage(req, res, next) {
if (user && UserPrimaryEmailCheckHandler.requiresPrimaryEmailCheck(user)) {
return res.redirect('/user/emails/primary-email-check')
}
} else {
if (!process.env.OVERLEAF_IS_SERVER_PRO) {
// temporary survey for CE: https://github.com/overleaf/internal/issues/19710
survey = {
name: 'ce-survey',
preText: 'Help us improve Overleaf',
linkText: 'by filling out this quick survey',
url: 'https://docs.google.com/forms/d/e/1FAIpQLSdPAS-731yaLOvRM8HW7j6gVeOpcmB_X5A5qwgNJT7Oj09lLA/viewform?usp=sf_link',
}
}
}
const tags = await TagsHandler.promises.getAllTags(userId)