From d68ce2ee2a8a608cb321ea9b1b25871966db992a Mon Sep 17 00:00:00 2001 From: Claudio Date: Sun, 10 May 2026 23:45:28 +0200 Subject: [PATCH] docs(mule-image): right sidebar compact two-section rebuild ActiveHeapCard gone, Edit + Metadata collapsibles collapsed into one Metadata block (readonly + hr + form), Camera split out at the bottom. Section helper deleted along with the orphan ActiveHeapCard component file. Co-Authored-By: Claude Opus 4.7 (1M context) --- containers/120-mule-images.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/containers/120-mule-images.md b/containers/120-mule-images.md index 4830f4c..a3c65b8 100644 --- a/containers/120-mule-images.md +++ b/containers/120-mule-images.md @@ -80,6 +80,20 @@ For pushes from inside the LXC, gitea creds at `/etc/mule-deploy/git-credentials ## Changelog +### 2026-05-10 — Right sidebar compact rebuild + +Right sidebar previously had `` + `
` + a scroll region holding two parallel collapsibles ("Edit" + "Metadata"), with three nested `
` sub-collapsibles (Basic Info / Camera / Location) inside Metadata. A lot of chrome for a per-photo form. + +- **Removed** `frontend/src/components/heaps/ActiveHeapCard.tsx` entirely (no remaining importers; active-heap state stays in the store, Select/Discard buttons still consult it). +- `RightSidebar.tsx` single-photo branch also drops its `
` strip — the new "METADATA" collapsible trigger inside `PhotoInfoPanel` is the visible title. Multi-photo branch keeps the Header for "N Photos Selected". +- `PhotoInfoPanel.tsx` is now two stacked collapsibles: + - **Metadata** (default expanded): readonly fields (Size / Dimensions grid, Path, GPS inlined when present), a thin `
`, then editable form (Filename, Title, Date Taken, Notes, Tags, Rating + Color on one row, Flag). + - **Camera** (default expanded): isolated EXIF block (make+model, lens, 2×2 ISO/Aperture/Shutter/Focal grid). +- Compact density: Notes `rows=3 → 2`, stars/swatches `h-5 → h-4`, `space-y-2.5 → 2`, Flag buttons `text-sm → text-xs`, grid `gap-2 → gap-x-2 gap-y-1`, empty "No GPS data" chip dropped (now hidden when there are no coordinates). +- Local `Section` helper deleted from `PhotoInfoPanel.tsx` (no longer used). + +`PreviewView` reuses `RightSidebar` inside its overlay aside, so the change applies in both grid and preview. + ### 2026-05-10 — Timeline scroll-anchor on section switch Clicking a folder in the left sidebar (or any other navigation that changed `currentSection` — All Photos, Rated, Discarded, etc.) didn't reset the timeline's scroll position. If the user was deep in All Photos and clicked a folder with fewer rows, the new section loaded with the previous scroll offset preserved, often landing on empty space below the last row.