Skip to content

feat(viewer): add a photo info panel - #11

Merged
mlapaglia merged 1 commit into
mainfrom
feat/008-photo-info-panel
Oct 20, 2026
Merged

mlapaglia merged 1 commit into
mainfrom
feat/008-photo-info-panel

Conversation

@mlapaglia

Copy link
Copy Markdown
Collaborator

Adds an i button to the photo viewer that opens Lychee's About details for the photo on screen in a sheet. It opens at half height so the photo stays visible, can be dragged to full height, and follows the photo while you swipe. It shows name, resolution and size, upload and capture dates, description, tags, the albums the photo is in, camera, lens, aperture, focal length, shutter, ISO, coordinates, altitude, address and license.

Nearly everything comes from the preformatted and precomputed data already loaded with each album page, so opening the panel only fetches the photo's albums (GET Photo/{id}/albums, Lychee 7.4.0+, left out on older servers) and the map provider once. The location map is static: tiles around the point from the provider Lychee is configured with (Map::provider), a marker and the provider's attribution, with no map library. Tapping it opens the phone's maps app.

Server settings are respected: no button when EXIF is disabled for all, no coordinates or map when GPS display is off, no address when location display is off, no map when the album doesn't allow one. The description arrives as HTML and is reduced to text with an inert DOMParser document, so nothing from the server runs in the WebView.

575 Vitest tests. The owner checked it on Android: the sheet, the map tiles, opening Google Maps and details matching the web panel. iPhone not checked yet.

Spec impact: adds feature 008 spec, plan, tasks and open questions Q-008-01 to Q-008-04 plus ADR-008-01, and updates the knowledge map and roadmap.

🤖 Generated with Claude Code

An i button in the viewer opens a sheet with Lychee's About details for the photo on screen: size, dates, description, tags, albums, EXIF, location with a static map from the server's tile provider, and license. Server switches for EXIF, GPS, address and maps are respected and server HTML is shown as text.

Spec impact: adds feature 008 spec, plan, tasks and open questions Q-008-01 to Q-008-04 plus ADR-008-01, and updates the knowledge map and roadmap

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mlapaglia
mlapaglia merged commit f704390 into main Oct 20, 2026
4 checks passed
@mlapaglia
mlapaglia deleted the feat/008-photo-info-panel branch October 20, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant