From eeeb16a0f112439abca477e48625415195c9a910 Mon Sep 17 00:00:00 2001 From: Claudio Date: Sun, 10 May 2026 21:49:44 +0200 Subject: [PATCH] ui(sidebar): split editable vs read-only between Edit and Metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Metadata collapsible was hosting two editable widgets (TagsEditor and TakenAtEditor) buried inside the readonly sub-sections — Tags as its own Section, taken-at wedged into Basic Info between size/dims and the filepath. With both top-level collapsibles in place, the clearer split is editable up top, readonly below. Moved into the Edit collapsible (in identification → description → categorization order): Filename, Title, Date Taken, Notes, Tags, Rating, Color, Flag Metadata now holds only readonly sub-sections: Basic Info (size, dims, path), Camera, Location Dropped the now-empty Tags Section from Metadata and the 'tags' key from the default-expanded set. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../src/components/sidebar/PhotoInfoPanel.tsx | 52 +++++++++---------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/frontend/src/components/sidebar/PhotoInfoPanel.tsx b/frontend/src/components/sidebar/PhotoInfoPanel.tsx index f3452a4..29bfef1 100644 --- a/frontend/src/components/sidebar/PhotoInfoPanel.tsx +++ b/frontend/src/components/sidebar/PhotoInfoPanel.tsx @@ -143,7 +143,7 @@ export function PhotoInfoPanel({ photoId, darkTheme = false }: PhotoInfoPanelPro const queryClient = useQueryClient() const [expandedSections, setExpandedSections] = useState>( - new Set(['edit', 'metadata', 'basic', 'camera', 'location', 'tags']) + new Set(['edit', 'metadata', 'basic', 'camera', 'location']) ) const toggleSection = (section: string) => { const next = new Set(expandedSections) @@ -447,6 +447,14 @@ export function PhotoInfoPanel({ photoId, darkTheme = false }: PhotoInfoPanelPro /> + +