Enable links in chat#17
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a linkifyString utility to parse and format URLs as clickable links within chat messages, updating both the mobile and Wear OS chat screens to use it. Feedback on the changes highlights a bug where case-insensitive URL schemes (like HTTP://) are not handled correctly, resulting in malformed URLs. Additionally, calling linkifyString directly inside the Text composables triggers expensive regex matching on every recomposition; wrapping these calls in remember is recommended to prevent performance degradation and scrolling jank, particularly on resource-constrained Wear OS devices.
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.
Enable links in chat