Skip to content

[front] feat: preview files in the side panel - #32263

Open
adrsimon wants to merge 1 commit into
adrien/refactor/markdown-file-editorfrom
adrien/feat/file-preview-side-panel
Open

[front] feat: preview files in the side panel#32263
adrsimon wants to merge 1 commit into
adrien/refactor/markdown-file-editorfrom
adrien/feat/file-preview-side-panel

Conversation

@adrsimon

Copy link
Copy Markdown
Contributor

Description

Conversation file previews now open in the resizable side panel instead of the centered modal, so the conversation stays readable while you look at a file. FilePreviewContext becomes the single place that routes a citation click: side panel when previewable, download otherwise. Path-less content fragments are addressed by file id (id: prefix in the hash param) since they have no sandbox path. This drops the opensInSidePanel format flag, which existed only to send presentations down the panel path.

Tests

Updated the markdown and citation integration tests to assert side panel routing. Full components/assistant, components/markdown and components/file_explorer suites pass.

Risk

Contained to conversation UI. FilePreviewDialog stays for the pod file explorer.

Deploy Plan

Deploy front.

Conversation file previews open in the resizable side panel instead of the
centered modal, so the conversation stays visible while reading a file.
FilePreviewContext becomes the single routing funnel for citations, and
path-less content fragments are addressed by file id.
@adrsimon
adrsimon added this pull request to stack #32266 September 10, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant