Skip to content

perf(site/src): reduce mobile chat sticky work#25612

Draft
ibetitsmike wants to merge 3 commits into
mainfrom
codagt-450-mobile-safari-long-chats
Draft

perf(site/src): reduce mobile chat sticky work#25612
ibetitsmike wants to merge 3 commits into
mainfrom
codagt-450-mobile-safari-long-chats

Conversation

@ibetitsmike
Copy link
Copy Markdown
Collaborator

Long mobile agent chats can hit Mobile Safari resource limits because every user message mounts sticky-message sentinel and observer machinery.

Render user messages without sticky pinning on mobile viewports while keeping desktop sticky behavior, and add a Storybook regression that verifies long mobile chats do not render sticky sentinels.

Refs CODAGT-450

Coder Agents context

Generated by Coder Agents.

Investigation pointed to mobile sticky user messages as the lowest-risk hotspot: each user message mounted sentinel, observer, listener, and overlay DOM. This PR keeps that work on non-mobile viewports instead of introducing transcript virtualization, which is higher risk with inverse infinite scroll and dynamic tool output.

@ibetitsmike ibetitsmike changed the title perf(site/src/pages/AgentsPage): reduce mobile chat sticky work perf(site/src): reduce mobile chat sticky work May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant