mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 15:46:29 +08:00
2be3f84196
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Updated method and function signatures to accept any type conforming to the chat cell view model protocol, improving flexibility and extensibility of chat cell configuration and height estimation. * Simplified internal logic for determining text color in chat cells. <!-- end of auto-generated comment: release notes by coderabbit.ai -->