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

Better rendering of front-end chat: resolve overflow issue and add syntax highlighting #1399

Closed
xingyaoww opened this issue Apr 27, 2024 · 1 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

Comments

@xingyaoww
Copy link
Collaborator

What problem or use case are you trying to solve?

Markdown is NOT rendered properly while the animation of generation is happening.

image

When generation is completed, the code block is properly displayed:

image

Describe the UX of the solution you'd like

But:

  • The chat bubble somehow overflowed. Is there a way that we make the code block horizontally scrollable rather than make the entire chat window have a horizontal scroll bar (like in the screenshot)?
  • It would be nice if we could add automatic syntax highlights to those code blocks.

Do you have thoughts on the technical implementation?

Describe alternatives you've considered

Additional context

@xingyaoww xingyaoww added the enhancement New feature or request label Apr 27, 2024
@rbren rbren added frontend issues related to frontend severity:medium Problems that affect many users good first issue Good for newcomers labels May 2, 2024
@amanape
Copy link
Collaborator

amanape commented May 9, 2024

All the issues addressed here have been solved with the #1402 ad #1488 PRs. Should have closed

@amanape amanape closed this as completed May 9, 2024
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

3 participants