);
diff --git a/front/types/files.ts b/front/types/files.ts
index d5d2a1a61bde..1902339380d7 100644
--- a/front/types/files.ts
+++ b/front/types/files.ts
@@ -455,14 +455,6 @@ type FileFormat = {
* - Any file type that could contain executable code
*/
isSafeToDisplay: boolean;
- /**
- * When true, this format opens in the resizable conversation side panel
- * (like frames) rather than the cramped file preview modal. This is the
- * source of truth for the open-in-side-panel behavior per content type.
- * Note: the side panel preview relies on the path-based conversion route, so
- * a file path is still required at the call site.
- */
- opensInSidePanel?: boolean;
// When set, restricts which upload use cases expose this format in their file picker.
// Possible values: conversation, avatar, tool_output, skill_attachment, upsert_document,
// folders_document, upsert_table, project_context. Omit to allow in all contexts.
@@ -563,13 +555,11 @@ export const FILE_FORMATS = {
cat: "data",
exts: [".ppt", ".pptx"],
isSafeToDisplay: true,
- opensInSidePanel: true,
},
"application/vnd.openxmlformats-officedocument.presentationml.presentation": {
cat: "data",
exts: [".ppt", ".pptx"],
isSafeToDisplay: true,
- opensInSidePanel: true,
},
"application/pdf": { cat: "data", exts: [".pdf"], isSafeToDisplay: true },
"application/vnd.google-apps.document": {
@@ -1112,10 +1102,6 @@ export function isMarkdownContentType(contentType: string): boolean {
return contentType === "text/markdown";
}
-export function opensInSidePanel(contentType: string): boolean {
- return getFileFormat(contentType)?.opensInSidePanel ?? false;
-}
-
/**
* Infers a supported content type from a file name's extension.
* Returns null if the extension is not recognized.