mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-16 12:29:36 +00: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:
parent
7939abdcab
commit
ab4f0d6c5f
3 changed files with 5 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue