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

Optimized the chat interface (including the chat API after sharing) #1215

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

yungongzi
Copy link
Contributor

@yungongzi yungongzi commented Jun 19, 2024

What problem does this PR solve?

Optimized the chat interface (including the chat API after sharing)

  1. Change the background color of the dialog box between the assistant and the user (use the theme color of the interface)
  2. Add rounded corners to the dialog box
  3. When the input box is empty, you can't click the send button(because some models will report an error when sending empty data)

Color reference(can be a bit subjective):
image

Type of change

  • Refactor

1. Change the background color of the dialog box between the assistant and the user (use the theme color of the interface)
2. Add rounded corners to the dialog box
3. When the input box is empty, you can't click the send button(because some models will report an error when sending empty data)
@yungongzi
Copy link
Contributor Author

and
4、Added text-align: justify to user dialog text
image

image

@KevinHuSh KevinHuSh requested a review from cike8899 June 20, 2024 01:42
@KevinHuSh KevinHuSh merged commit 80163c0 into infiniflow:main Jun 24, 2024
1 check passed
@yungongzi yungongzi deleted the OptChatInterface branch June 24, 2024 08:55
KevinHuSh pushed a commit that referenced this pull request Jun 24, 2024
### What problem does this PR solve?

feat: modify the background color of chat messages #1215

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
Halfknow pushed a commit to Halfknow/ragflow that referenced this pull request Nov 11, 2024
…nfiniflow#1215)

### What problem does this PR solve?
Optimized the chat interface (including the chat API after sharing)
1. Change the background color of the dialog box between the assistant
and the user (use the theme color of the interface)
2. Add rounded corners to the dialog box
3. When the input box is empty, you can't click the send button(because
some models will report an error when sending empty data)

Color reference(can be a bit subjective):

![image](https://github.com/infiniflow/ragflow/assets/19431702/8cd6fcd9-8ca1-4160-8bac-9e8ba1a4112e)

### Type of change

- [x] Refactor

Co-authored-by: 海贼宅 <[email protected]>
Halfknow pushed a commit to Halfknow/ragflow that referenced this pull request Nov 11, 2024
### What problem does this PR solve?

feat: modify the background color of chat messages infiniflow#1215

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
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.

2 participants