From 57788f60c53b17619e23becd446f5d2ee7df6098 Mon Sep 17 00:00:00 2001 From: dtoro Date: Thu, 9 Apr 2026 23:48:02 +0200 Subject: [PATCH] chore: move Tags section directly under Color label Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/components/sidebar/PhotoInfoPanel.tsx | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/frontend/src/components/sidebar/PhotoInfoPanel.tsx b/frontend/src/components/sidebar/PhotoInfoPanel.tsx index d1e4119..00bdd53 100644 --- a/frontend/src/components/sidebar/PhotoInfoPanel.tsx +++ b/frontend/src/components/sidebar/PhotoInfoPanel.tsx @@ -471,6 +471,25 @@ export function PhotoInfoPanel({ photoId, darkTheme = false }: PhotoInfoPanelPro {/* Read-only metadata sections */}
+
toggleSection('tags')} + > + attachExistingTagMutation.mutate(id)} + onCreateAndAttach={(name) => { + addTagMutation.mutate(name) + setTagInput('') + }} + onRemove={(id) => removeTagMutation.mutate(id)} + /> +
+
-
toggleSection('tags')} - > - attachExistingTagMutation.mutate(id)} - onCreateAndAttach={(name) => { - addTagMutation.mutate(name) - setTagInput('') - }} - onRemove={(id) => removeTagMutation.mutate(id)} - /> -
)