mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[web] Add split test for defaulting LaTeX beginners to visual mode (#19745)
GitOrigin-RevId: 4dff08f0f7f413ba3cdacbe46cf7493eca47657d
This commit is contained in:
parent
0766c91079
commit
55d0f51279
1 changed files with 7 additions and 1 deletions
|
@ -340,6 +340,7 @@ const _ProjectController = {
|
|||
!anonymous && 'writefull-oauth-promotion',
|
||||
'ieee-stylesheet',
|
||||
'write-and-cite',
|
||||
'default-visual-for-beginners',
|
||||
].filter(Boolean)
|
||||
|
||||
const getUserValues = async userId =>
|
||||
|
@ -733,7 +734,12 @@ const _ProjectController = {
|
|||
hasTrackChangesFeature: Features.hasFeature('track-changes'),
|
||||
projectTags,
|
||||
linkSharingWarning: linkSharingChanges.variant === 'active',
|
||||
usedLatex,
|
||||
usedLatex:
|
||||
// only use the usedLatex value if the split test is enabled
|
||||
splitTestAssignments['default-visual-for-beginners']?.variant ===
|
||||
'enabled'
|
||||
? usedLatex
|
||||
: null,
|
||||
})
|
||||
timer.done()
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in a new issue