[web] add clsi-cache prompts (#29281)

* [web] add clsi-cache prompts

* [web] add new editor variant to segmentation

* [web] add tests for useNewEditorVariant

* [web] adjust start of using clsi-cache in split-test

GitOrigin-RevId: c9c5b1eff2ceefb65ef82516d9074cb971cb4c48
This commit is contained in:
Jakob Ackermann
2025-10-24 08:05:42 +00:00
committed by Copybot
parent d0d360c1bd
commit f3f6a8a8e0
23 changed files with 576 additions and 19 deletions
@@ -223,6 +223,7 @@ describe('CompileController', function () {
url: `/project/${ctx.projectId}/user/wat/build/${ctx.build_id}/output/output.zip`,
type: 'zip',
},
clsiCachePromptVariant: 'default',
pdfDownloadDomain: 'https://compiles.overleaf.test',
})
)
@@ -247,6 +248,7 @@ describe('CompileController', function () {
timings: undefined,
outputUrlPrefix: '/zone/b',
buildId: ctx.build_id,
clsiCachePromptVariant: 'default',
})
await ctx.CompileController.compile(ctx.req, ctx.res, ctx.next)
})
@@ -268,6 +270,7 @@ describe('CompileController', function () {
url: `/project/${ctx.projectId}/user/wat/build/${ctx.build_id}/output/output.zip`,
type: 'zip',
},
clsiCachePromptVariant: 'default',
outputUrlPrefix: '/zone/b',
pdfDownloadDomain: 'https://compiles.overleaf.test/zone/b',
})
@@ -318,6 +321,7 @@ describe('CompileController', function () {
url: `/project/${ctx.projectId}/user/wat/build/${ctx.build_id}/output/output.zip`,
type: 'zip',
},
clsiCachePromptVariant: 'default',
})
)
})