mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
a75b44a6fc
[web] React ide page delete thread GitOrigin-RevId: 46e93d67d597a2277c771bda2a4837a871339224
28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
import { ReactScopeValueStore } from '@/features/ide-react/scope-value-store/react-scope-value-store'
|
|
|
|
export default function populateReviewPanelScope(store: ReactScopeValueStore) {
|
|
store.set('reviewPanel.overview.docsCollapsedState', {})
|
|
store.set('reviewPanel.overview.loading', false)
|
|
store.set('reviewPanel.nVisibleSelectedChanges', 0)
|
|
store.set('permissions', {
|
|
read: false,
|
|
write: false,
|
|
admin: false,
|
|
comment: false,
|
|
})
|
|
store.set('users', {})
|
|
store.set('reviewPanel.layoutToLeft', false)
|
|
store.set('reviewPanel.rendererData.lineHeight', 0)
|
|
store.set('resolveComment', () => {})
|
|
store.set('submitNewComment', async () => {})
|
|
store.set('deleteComment', () => {})
|
|
store.set('gotoEntry', () => {})
|
|
store.set('saveEdit', () => {})
|
|
store.set('refreshResolvedCommentsDropdown', async () => {})
|
|
store.set('acceptChanges', () => {})
|
|
store.set('rejectChanges', () => {})
|
|
store.set('bulkAcceptActions', () => {})
|
|
store.set('bulkRejectActions', () => {})
|
|
store.set('submitReply', () => {})
|
|
store.set('addNewComment', () => {})
|
|
}
|