Merge pull request #21971 from overleaf/td-ds-nav-split-test

Add split test for DS unified nav

GitOrigin-RevId: d649661568f9c1de9d2fe47f4491540e80830ab3
This commit is contained in:
Tim Down
2024-11-27 14:12:50 +00:00
committed by Copybot
parent e03bdc7b34
commit 8d678b3840
11 changed files with 295 additions and 169 deletions
@@ -443,6 +443,15 @@ async function projectListPage(req, res, next) {
)
}
// Get the user's assignment for the DS unified nav split test, which
// populates splitTestVariants with a value for the split test name and allows
// Pug to send it to the browser
await SplitTestHandler.promises.getAssignment(
req,
res,
'sidebar-navigation-ui-update'
)
res.render('project/list-react', {
title: 'your_projects',
usersBestSubscription,