mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-22 02:04:31 +00:00
Merge pull request #3435 from overleaf/pr-compile-ui-alpha-group
Put the new compile UI out for the alpha group GitOrigin-RevId: 82fe2006a28c791b79dceecd015f3787fe3e65c7
This commit is contained in:
parent
e510034250
commit
adc98d22ab
1 changed files with 4 additions and 1 deletions
|
@ -778,6 +778,9 @@ const ProjectController = {
|
|||
const wantsOldChatUI =
|
||||
req.query && req.query.new_chat_ui === 'false'
|
||||
|
||||
const wantsOldLogsUI =
|
||||
req.query && req.query.new_logs_ui === 'false'
|
||||
|
||||
res.render('project/editor', {
|
||||
title: project.name,
|
||||
priority_title: true,
|
||||
|
@ -833,7 +836,7 @@ const ProjectController = {
|
|||
gitBridgePublicBaseUrl: Settings.gitBridgePublicBaseUrl,
|
||||
wsUrl,
|
||||
showSupport: Features.hasFeature('support'),
|
||||
showNewLogsUI: req.query && req.query.new_logs_ui === 'true',
|
||||
showNewLogsUI: user.alphaProgram && !wantsOldLogsUI,
|
||||
showNewChatUI: user.betaProgram && !wantsOldChatUI,
|
||||
showReactFileTree: user.alphaProgram && !wantsOldFileTreeUI
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue