From a4848dce8a3b7befcec9bad6d92d552d8c7fbad7 Mon Sep 17 00:00:00 2001 From: leex279 Date: Mon, 22 Sep 2025 11:15:04 +0200 Subject: [PATCH] fix: Move metadata panel to bottom and improve visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move metadata panel from top to bottom of content viewer - Place scroll on outer container to show more metadata (max-h-64) - Keep metadata section always accessible at the bottom - Maintain clear visual separation with border-top - Ensure better visibility of all metadata properties 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../inspector/components/ContentViewer.tsx | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/archon-ui-main/src/features/knowledge/inspector/components/ContentViewer.tsx b/archon-ui-main/src/features/knowledge/inspector/components/ContentViewer.tsx index 0b6bc1e4..caaf36ec 100644 --- a/archon-ui-main/src/features/knowledge/inspector/components/ContentViewer.tsx +++ b/archon-ui-main/src/features/knowledge/inspector/components/ContentViewer.tsx @@ -107,34 +107,6 @@ export const ContentViewer: React.FC = ({ selectedItem, onCo {/* Main Content Area with Metadata Panel */}
- {/* Metadata Section - Always visible as collapsible */} - {selectedItem.metadata && Object.keys(selectedItem.metadata).length > 0 && ( -
- - - {showMetadata && ( -
-
-
-                    {JSON.stringify(selectedItem.metadata, null, 2)}
-                  
-
-
- )} -
- )} - {/* Content Body */}
{selectedItem.type === "document" ? ( @@ -153,6 +125,34 @@ export const ContentViewer: React.FC = ({ selectedItem, onCo
)}
+ + {/* Metadata Section - Always visible as collapsible at bottom */} + {selectedItem.metadata && Object.keys(selectedItem.metadata).length > 0 && ( +
+ + + {showMetadata && ( +
+
+
+                    {JSON.stringify(selectedItem.metadata, null, 2)}
+                  
+
+
+ )} +
+ )} {/* Content Footer - Show quick info */}