mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
<!-- 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 -->