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

feat(frontend): Chat interface empty state #4737

Merged
merged 15 commits into from
Nov 6, 2024

Conversation

amanape
Copy link
Member

@amanape amanape commented Nov 4, 2024

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

  • renders repo-based suggestions
  • clicking an option sends a user message event to display in UI
  • selected suggestion is sent to socket after runtime is active
  • chat interface now has a new micro-indicator that shows the state of the runtime (green is active and red is inactive)
Screenshot 2024-11-04 at 21 45 41 Screenshot 2024-11-04 at 21 45 45 Screenshot 2024-11-04 at 21 46 30

RUNTIME INACTIVE
Screenshot 2024-11-05 at 18 39 01

RUNTIME ACTIVE
image


Resolves #4774


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:3eeaf7e-nikolaik   --name openhands-app-3eeaf7e   docker.all-hands.dev/all-hands-ai/openhands:3eeaf7e

@amanape amanape self-assigned this Nov 4, 2024
Copy link
Contributor

@xingyaoww xingyaoww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 look forward to this

@amanape amanape marked this pull request as ready for review November 5, 2024 17:08
@rbren
Copy link
Collaborator

rbren commented Nov 5, 2024

@amanape can we make it so that clicking a button just fills out a draft message, rather than sending it? Similar to how we had it in the old homepage

@amanape amanape enabled auto-merge (squash) November 6, 2024 08:36
@amanape amanape merged commit 1189572 into main Nov 6, 2024
14 checks passed
@amanape amanape deleted the ALL-675/chat-interface-empty-state branch November 6, 2024 08:55
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.

[Bug]: "Import Project" button does not work as expected
3 participants