mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #34318 from overleaf/dp-labs-custom-success-notification
Add customisable success notification for Labs experiment enrollment GitOrigin-RevId: 7d60ea3bac124909b19f8f537e1ab2b6db8d787e
This commit is contained in:
@@ -836,6 +836,11 @@ async function _loadSplitTestInfoInLocals(locals, splitTestName, session) {
|
||||
description: splitTest.labsDescription || '',
|
||||
icon: splitTest.labsIcon || '',
|
||||
surveyLink: splitTest.badgeInfo?.labs?.url || '',
|
||||
successNotification: {
|
||||
content: splitTest.labsSuccessNotification?.content || '',
|
||||
buttonLabel: splitTest.labsSuccessNotification?.buttonLabel || '',
|
||||
buttonUrl: splitTest.labsSuccessNotification?.buttonUrl || '',
|
||||
},
|
||||
isFull: SplitTestUtils.isExperimentFull(variant),
|
||||
versionCreatedAt:
|
||||
currentVersion.createdAt instanceof Date
|
||||
|
||||
Reference in New Issue
Block a user