mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
Close [AI-335](https://linear.app/affine-design/issue/AI-335) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for an "independent mode" and document-specific context in AI chat components, allowing enhanced context handling and tracking. * Introduced new tracking options to distinguish between current document and general document actions in chat interactions. * **Improvements** * More flexible property handling for independent mode and document context across chat-related components for consistent behavior and tracking. * Enhanced tracking system to support additional event categories and methods for more granular analytics. <!-- end of auto-generated comment: release notes by coderabbit.ai -->