overleaf/services/web/frontend/js/features/ide-react/scope-adapters/review-panel-context-adapter.ts
ilkin-overleaf 808286dea8 Merge pull request #15968 from overleaf/ii-ide-page-prototype-review-panel-edit-comment
[web] React ide page save edit

GitOrigin-RevId: 79e6a02fecaa3d8923b503d043a1e0b8cc193f7d
2023-11-28 09:04:49 +00:00

18 lines
778 B
TypeScript

import { ReactScopeValueStore } from '@/features/ide-react/scope-value-store/react-scope-value-store'
export default function populateReviewPanelScope(store: ReactScopeValueStore) {
store.set('reviewPanel.overview.loading', false)
store.set('reviewPanel.nVisibleSelectedChanges', 0)
store.set('users', {})
store.set('reviewPanel.layoutToLeft', false)
store.set('reviewPanel.rendererData.lineHeight', 0)
store.set('submitNewComment', async () => {})
store.set('deleteComment', () => {})
store.set('gotoEntry', () => {})
store.set('acceptChanges', () => {})
store.set('rejectChanges', () => {})
store.set('bulkAcceptActions', () => {})
store.set('bulkRejectActions', () => {})
store.set('submitReply', () => {})
store.set('addNewComment', () => {})
}