Skip to content

Automatic Scrolldown in Agent Chats for progress message + New Message Hint #20

Description

@BenjaminPabst

Is your feature request related to a problem? Please describe.
Currently, after the user has sent a message, the chat only shows the written message of the user and does not scroll down fruther.
In an AI chat, the loading message appears but is not visible (as not scrolled down), it should smoothly be scrolled down in order to see the loading message. Once the AI response is there, the loading message is replaced automatically with the new message so the user sees the response.

Describe the solution you'd like
If the user has manually scrolled up (so is not at the most bottom any more) and a new message has been received, there should be an indicator at the bottom (arrow down on a circle, surrounded by a modern animated color border, also allowing the indication of how many messages are new). Once the user scrolled down or clicks on the circle (scrolls down automatically) the indication should disappear.

Describe alternatives you've considered
In a human 2 human chat, no loading message will appear, therefore it should scroll down to new messages automatically in human 2 human chats, if the user is at the bottom already. If the user has scrolled up, the indicator should appear instead.

Additional context
Implement it in a structured manner, reuse components where possible. Keep the implementation responsive.
Automated scrolling should be smooth.

Implement in https://github.com/onecx/onecx-chat-ui

Agent Metrics

Date/Time Agent Operation Input Output Cache Cost
12.8.2026 - 19:04 Copilot Iteration 2 - Review (approved) 47,731 47 41,472 ~$0.019 (est.)
12.8.2026 - 19:04 Claude Iteration 2 - Implement 495,578 5,149 0 $2.607
12.8.2026 - 19:02 Copilot Iteration 1 - Review (Rejected (2 findings)) 56,082 334 40,448 ~$0.039 (est.)
12.8.2026 - 19:01 Claude Iteration 1 - Implement 1,960,260 34,978 0 $10.676
12.8.2026 - 18:55 Copilot Plan 78,179 2,832 54,784 ~$0.090 (est.)
12.8.2026 - 13:37 Copilot Iteration 2 - Review (approved) 45,244 47 40,448 ~$0.016 (est.)
12.8.2026 - 13:37 Claude Iteration 2 - Implement 399,629 1,787 0 $2.043
12.8.2026 - 13:35 Copilot Iteration 1 - Review (Rejected (2 findings)) 57,456 337 48,640 ~$0.029 (est.)
12.8.2026 - 13:34 Claude Iteration 1 - Implement 3,650,142 26,158 0 $18.905
12.8.2026 - 13:25 Copilot Plan 77,419 3,390 65,536 ~$0.080 (est.)
12.8.2026 - 13:22 Copilot Iteration 1 - Review (approved) 42,802 47 38,400 ~$0.015 (est.)
12.8.2026 - 13:22 Claude Iteration 1 - Implement 371,580 2,315 0 $1.916
12.8.2026 - 13:20 Copilot Plan 76,724 3,365 65,536 ~$0.078 (est.)
12.8.2026 - 13:11 Copilot Iteration 1 - Review (approved) 42,799 47 31,232 ~$0.026 (est.)
12.8.2026 - 13:10 Claude Iteration 1 - Implement 419,634 2,707 0 $2.166
12.8.2026 - 13:08 Copilot Plan 54,589 1,766 45,568 ~$0.048 (est.)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions