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) <noreply@anthropic.com>
This commit is contained in:
@@ -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 `<ActiveHeapCard />` + `<Header />` + a scroll region holding two parallel collapsibles ("Edit" + "Metadata"), with three nested `<Section>` 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 `<Header />` 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 `<hr>`, 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.
|
||||
|
||||
Reference in New Issue
Block a user