mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
Merge pull request #14866 from overleaf/jdt-hist-rename-test
fix: rename the history view split test so we can reroll it GitOrigin-RevId: fd42fab5b6fd715b89688b401596962453b1d002
This commit is contained in:
committed by
Copybot
parent
3cf778c796
commit
4183d0d1ab
@@ -702,7 +702,7 @@ const ProjectController = {
|
||||
SplitTestHandler.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'history-view',
|
||||
'history-view-version',
|
||||
(error, assignment) => {
|
||||
// do not fail editor load if assignment fails
|
||||
if (error) {
|
||||
|
||||
@@ -19,7 +19,7 @@ export default function Toolbar({ diff, selection }: ToolbarProps) {
|
||||
return (
|
||||
<div className="history-react-toolbar">
|
||||
<SplitTestBadge
|
||||
splitTestName="history-view"
|
||||
splitTestName="history-view-version"
|
||||
displayOnVariants={['react']}
|
||||
/>
|
||||
<ToolbarDatetime selection={selection} />
|
||||
|
||||
@@ -126,7 +126,9 @@ export default HistoryManager = (function () {
|
||||
}
|
||||
|
||||
isReact() {
|
||||
return getMeta('ol-splitTestVariants')?.['history-view'] === 'react'
|
||||
return (
|
||||
getMeta('ol-splitTestVariants')?.['history-view-version'] === 'react'
|
||||
)
|
||||
}
|
||||
|
||||
hardReset() {
|
||||
|
||||
Reference in New Issue
Block a user