mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Add "usingNewReviewPanel" flag in store (#21279)
* Revert "Add isUsingNewReviewPanel flag for writefull (#21111)" This reverts commit 3491e93ca70fa1db0c751872e233dfebdbe81423. * add usingNewReviewPanel in store * fix lint error GitOrigin-RevId: 56d90a428a2cc45708b8b483dc60a62aae233a85
This commit is contained in:
committed by
Copybot
parent
2a5982deba
commit
09253e8a03
+2
@@ -1,7 +1,9 @@
|
|||||||
import { ReactScopeValueStore } from '@/features/ide-react/scope-value-store/react-scope-value-store'
|
import { ReactScopeValueStore } from '@/features/ide-react/scope-value-store/react-scope-value-store'
|
||||||
|
import { isSplitTestEnabled } from '@/utils/splitTestUtils'
|
||||||
|
|
||||||
export default function populateReviewPanelScope(store: ReactScopeValueStore) {
|
export default function populateReviewPanelScope(store: ReactScopeValueStore) {
|
||||||
store.set('loadingThreads', true)
|
store.set('loadingThreads', true)
|
||||||
store.set('users', {})
|
store.set('users', {})
|
||||||
store.set('addNewComment', () => {})
|
store.set('addNewComment', () => {})
|
||||||
|
store.set('usingNewReviewPanel', isSplitTestEnabled('review-panel-redesign'))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user