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

Consistent rendering of plotly widget across copilot and standalone UI #1496

Open
hareeshmu opened this issue Oct 31, 2024 · 2 comments
Open
Labels
bug Something isn't working frontend Pertains to the frontend.

Comments

@hareeshmu
Copy link

Describe the bug
Chainlit Copilot widget is not rendering plotly graph correctly like it shows in the webchat.
In copilot, the Chart Tiles does not show, chart interactive icons are mis-aligned, mouse over values does not show, legends does not show.

To Reproduce
Steps to reproduce the behavior:

Create a plotly chart and try in both webchat and copilot.

Expected behavior
Plotly chart should render exactly same as in webchat.

Screenshots
Copilot - You can see there is no title, missing mouse hover info, icons are misaligned:
{BDD6979B-9AB8-48CF-950B-63C19E307228}

Webchat - The same looks good here:
{BBC34518-17DC-4EA7-96AB-DADAF81C858A}

Desktop (please complete the following information):

  • OS: Windows 11
  • Chrome/Edge
  • 127.0

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Using latest chainlit version 1.3.1

@dosubot dosubot bot added bug Something isn't working frontend Pertains to the frontend. labels Oct 31, 2024
Copy link

dosubot bot commented Nov 1, 2024

I didn't find any similar threads related to the issue you described.

To continue talking to Dosu, mention @dosu.

Written by @dosu, approved by dokterbob

@dokterbob dokterbob changed the title Copilot widget is not rendering plotly graph correctly like it shows in webchat Consistent rendering of plotly widget across copilot and standalone UI Nov 6, 2024
@dokterbob
Copy link
Collaborator

Happy to receive a PR on this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Pertains to the frontend.
Projects
None yet
Development

No branches or pull requests

2 participants