Skip to content

Elements on page display permission error #1980

Open
@puppetm4st3r

Description

@puppetm4st3r

Describe the bug
When I send elements to the UI, of type text but they are displayed in Page eg:

ref_elements.append(cl.Plotly(name= graph_title, content= graph_title, figure= graph, display= "page", size= 'large'))

I get a permissions error in a Chainlit implementation without authentication enabled

To Reproduce
Steps to reproduce the behavior:

Send an element to the UI like this
ref_elements.append(cl.Plotly(name= graph_title, content= graph_title, figure= graph, display= "page", size= 'large'))

Click on the element on the UI, the browser will open a new tab with the URL Like:
http://192.168.0.150:8888/element/43daf582-f1a2-4b93-a469-4098e113366b?thread=ac4b6133-9737-471b-a977-81507b3b6775#

Expected behavior
To open the new tab with the rendered element, side display works like a charm

Screenshots
Image

Desktop (please complete the following information):

  • OS: Ubuntu, Mac tested
  • Browser chrome, safari

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendPertains to the frontend.needs-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions