Update Chatwoot chat UI styling and bump SDK version#1
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces extensive visual customization options and a modern dark theme to the Chatwoot SDK, including support for custom modifiers, background gradients, custom input bar styling, custom icons, date separators, and message linkification. The code review feedback focuses on critical Jetpack Compose performance optimizations, such as deferring animation state reads to the layout phase, caching drawing objects with drawWithCache, and remembering recomposition-heavy operations like gradient brush creation and regex-based URL linkification.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
- TypingIndicator: read animated phase inside the offset{} lambda so it
resolves in the layout phase instead of recomposing every frame
- ChatScreen: remember the background Brush to avoid re-allocating it
- MessageBubble: remember the linkify() result to skip regex on every
recomposition during scroll
- dashedBorder: use drawWithCache to cache the Stroke/PathEffect across
draw frames instead of allocating them each frame
No description provided.