jacob-ai-bot / jacob

Just Another Coding Bot
https://jacb.ai
Apache License 2.0
131 stars 20 forks source link

Remove "Writing Code" Loading Indicator During Chat Streaming #267

Closed kleneway closed 1 week ago

kleneway commented 2 weeks ago

Description

Currently, when there is a streaming response in the chat interface, a "writing code" loading indicator appears under the text as it is streaming. This behavior is not desired and needs to be modified.

The loading indicator is likely implemented in one of the chat-related components, possibly in the src/app/dashboard/[org]/[repo]/chat/components/Chat.tsx or src/app/dashboard/[org]/[repo]/chat/components/ChatMessage.tsx file.

Current Behavior

Expected Behavior

Additional Context

The removal of this loading indicator during streaming will provide a cleaner and less distracting user experience. It will allow users to focus solely on the incoming text without the visual noise of an unnecessary loading indicator.

Potential Impact

Modifying this behavior may require changes to the chat component's rendering logic, particularly in how it handles streaming states. Care should be taken to ensure that other loading states (e.g., initial message loading) are not affected by this change. @jacob-ai-bot --skip-build

jacob-ai-bot[bot] commented 2 weeks ago

JACoB here...

You mentioned me on this issue and I am busy taking a look at it.

I'll continue to comment on this issue with status as I make progress.

jacob-ai-bot[bot] commented 2 weeks ago

Update

I've completed my work on this issue and have created a pull request: JACoB PR for Issue Remove "Writing Code" Loading Indicator During Chat Streaming.

Please review my changes there.