Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Display a loading indicator in the chat interface when waiting for a response from OpenDevin #1787

Open
amanape opened this issue May 14, 2024 · 5 comments
Labels
enhancement New feature or request frontend issues related to frontend good first issue Good for newcomers severity:medium Problems that affect many users

Comments

@amanape
Copy link
Collaborator

amanape commented May 14, 2024

What problem or use case are you trying to solve?
There is no indication that a response is being generated in the chat UI. The only indication is the agent status at the footer.

Describe the UX of the solution you'd like
Something like an animated 3 dots in the style of the existing chat bubble.

Do you have thoughts on the technical implementation?
Display 3 dots in the existing message component when agent is generating a response.

Describe alternatives you've considered
A banner embedded in the chat ui itself, not as a chat message.

Additional context
There are downsides to artificial streaming, and removing it can improve other small aspects (more about this discussion in #1488)

#1761 introduced an auto-scroll feature that can only be easily achieved by removing the effect (it is difficult to make it scroll as the height of the message changes).

I saw it as a good opportunity to take the step to move after confirmation from @neubig (in #1761) and @yimothysu (in #1488)

@amanape amanape added enhancement New feature or request good first issue Good for newcomers frontend issues related to frontend severity:medium Problems that affect many users labels May 14, 2024
@natalyjazzviolin
Copy link

There's a mention of the three dot animation design in Figma in this comment here:
#1488 (comment)

Would it be possible to share a screengrab of that animation?

@Shimada666
Copy link
Contributor

Shimada666 commented May 15, 2024

Does it look like this? After receiving the data, the three dots will be replaced with real information.
e83726b34e281e94aef4dccdd1b0dd10

Alternatively, a simpler way is to replace the send icon with three dots.

@amanape
Copy link
Collaborator Author

amanape commented May 15, 2024

@natalyjazzviolin I do not have any reference video or design that I can find to show you unfortunately. But something basic as what @Shimada666 sent would be more than enough for now.

@auleki
Copy link

auleki commented May 28, 2024

This sounds like a fun way to start contributing on OpenDevin, can I take up this issue @amanape?

@amanape
Copy link
Collaborator Author

amanape commented May 28, 2024

@auleki Sure, go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend issues related to frontend good first issue Good for newcomers severity:medium Problems that affect many users
Projects
None yet
Development

No branches or pull requests

4 participants