mirror of
https://github.com/outline/outline.git
synced 2026-05-13 05:40:13 -05:00
c02a33a74c
* Address PR feedback: Move commenting logic to Collection model - Update openDocumentComments action to use collection.canCreateComment - Update AuthenticatedLayout to check collection-level commenting setting - Update DocumentMeta to use collection commenting preference - Add commenting field to CollectionForm with proper UI - Maintain backward compatibility with team-level preferences * Applied automatic fixes * Disable comment creation UI when collection commenting is disabled - Update Editor component to use collection-level commenting setting - Pass onCreateCommentMark as undefined when commenting is disabled - This removes the shortcut and toolbar icon for comment creation - Maintains backward compatibility with team-level preferences * Fix TypeScript error in Editor component - Fix props destructuring to avoid variable shadowing - Ensure all required props are properly destructured - Maintain correct property order from original implementation * Fix TypeScript error: add missing activeCollectionId parameter - Add activeCollectionId to import document action perform function - This parameter was being used but not declared in the function signature - Fixes TS2304 error: Cannot find name 'activeCollectionId' * fix form * docs --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>