Files
overleaf-cep/services/web/frontend/js/features/ide-react/scope-adapters/review-panel-context-adapter.ts
T
Alf Eaton 18c2b4108d Tidy up global scope values (#20379)
* Remove crypto from window
* Remove ui.loadingStyleSheet
* Remove onlineUsers scope
* Remove addNewComment

GitOrigin-RevId: 5e62ed7f265cdd530b5ca85488477093b0be775a
2025-02-28 09:05:15 +00:00

9 lines
386 B
TypeScript

import { ReactScopeValueStore } from '@/features/ide-react/scope-value-store/react-scope-value-store'
import { isSplitTestEnabled } from '@/utils/splitTestUtils'
export default function populateReviewPanelScope(store: ReactScopeValueStore) {
store.set('loadingThreads', true)
store.set('users', {})
store.set('usingNewReviewPanel', isSplitTestEnabled('review-panel-redesign'))
}