镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Context Chat search's UI is broken due to document previews #560

Open

Description

@kyteinsky

Which version of assistant are you using?

3.5.0-dev.1 (daily instance)

Which version of Nextcloud are you using?

35.0.0

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Chrome 147.0.7727.116

Describe the Bug

Document previews in the Context Chat search UI covers up most of the screen instead of being displayed below the title of the document in a list fashion.

Image

Expected Behavior

from NC 34 with the same assistant 3.5.0-dev.1 in the local machine so it might be something changed in NC 35 but not sure.

Image

To Reproduce

  1. open Assistant modal
  2. navigate to the Context Chat -> Context Chat search tab
  3. enter a query and press "Context Chat search"

Activity

  1. added
    bugSomething isn't working
    designDesign, UI, UX, etc.
    javascriptPull requests that update javascript code
    on May 28, 2026
  2. janepie commented on May 28, 2026

    @janepie
    Member

    In which preview is this opening? Can this be a Euro-Office issue?

  3. kyteinsky commented on May 28, 2026

    @kyteinsky
    ContributorAuthor

    It's a PDF file.
    The render is from files_pdfviewer.

    https://cloud.example.com/apps/files_pdfviewer/?file=https%3A%2F%2Fcloud.example.com%2Fremote.php%2Fdav%2Ffiles%2Fanupam%2F%2FAssistant%2F1752626654-85884.pdf
    

    Can this be a Euro-Office issue?

    Not sure, looks more like files_pdfviewer alone might be doing this.
    weirdly enough, normal PDFs opened from Files app don't use it, they use Euro-Office to render the PDF.

  4. janepie commented on Jun 2, 2026

    @janepie
    Member

    Potential solution: style the iFrame: width stays, height can be fixed, remove top and position absolute

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 workingdesignDesign, UI, UX, etc.javascriptPull requests that update javascript codepriority normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions