Skip to content

wire(chat): the conversation file preview route is built but has no caller; wire it to the chat file list #20906

Open

Description

@mrveiss

Defect

GET /conversation/{session_id}/preview/{file_id} returns a file preview, but nothing fetches it. conversationFileList.ts builds a preview_url string for each listed file, and no component renders or requests it, so the chat UI cannot show a preview. The generated client has no caller either.

Instance (baseline entry)

  • route:autobot-backend/api/conversation_files.py:GET /conversation/{session_id}/preview/{file_id}

Introduced by

#20217 (conversation upload quota; commits 99a8d00, 79b2760). Related open defects on the same route family: #20225 (routes call manager methods that do not exist) and #20195 (an attached file never reaches the answer); fix those in their own issues, this one is only the caller.

Intended consumer

The chat file list in the user app: a preview pane opened from a listed attachment. Calls go through the generated client (#20867).

Acceptance criteria

Parent: #10603. Refs #20217, #20225, #20195, #20867.

Activity

  1. mrveiss commented on Nov 8, 2026

    @mrveiss
    OwnerAuthor

    ACs 2 and 3 are delivered by #21214. AC1 (a production caller reaches the route through the generated client) is blocked by #20867, recorded as a native blocked_by edge. #21214 uses Refs, not Closes.

  2. mrveiss commented on Nov 11, 2026

    @mrveiss
    OwnerAuthor

    Partially delivered by #21214 (landed in #21323, a0cfcc1). Left open.

    AC Status Evidence on main
    A production caller reaches the route through the generated client (#20867) Not delivered useConversationFilePreview.ts:95 calls the route via deps.api.get, not a generated client; #20867 still open
    Entry removed from unconnected_code_baseline.txt Delivered the route:...GET /conversation/{session_id}/preview/{file_id} line is gone from the baseline
    A test proves opening a preview calls the route and renders the response Delivered useConversationFiles.previewPane.test.ts "fills the pane for a text file" (line 43)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions