Skip to content

Conversation

@paul43210
Copy link
Contributor

Summary

Re-submission of the photo-addon extension (originally PR #305) with additional improvements:

  • Map thumbnail optimization: Viewport-based prefetching loads only visible markers, reducing memory usage and improving performance
  • Lightbox UX fixes: Fixed scrollbar cutoff issue, replaced jittery thumbnail preview with loading spinner
  • Comprehensive E2E tests: Full Playwright test coverage for gallery, lightbox, and map features
  • Code cleanup: Removed unused preview cache code, fixed linter warnings

Changes Since Original PR

Commit Description
63ed928 Optimize map thumbnails and improve lightbox UX
5ce0761 Add E2E tests for photo-addon

Features

  • Photo Gallery: Infinite scroll, date-based grouping (day/week/month/year), EXIF date support
  • Lightbox Viewer: Full-size display, EXIF metadata panel, GPS location with OpenStreetMap link
  • Map View: Leaflet integration with photo markers and clustering
  • User Settings: Persistent preferences via localStorage

Test Plan

  • Run unit tests: pnpm test:unit --filter photo-addon
  • Run E2E tests: pnpm test:e2e --project=photo-addon
  • Verify gallery loads photos with date grouping
  • Test lightbox opens and displays EXIF metadata
  • Confirm map view shows photo locations
  • Check CSP configuration for OpenStreetMap tiles

🤖 Generated with Claude Code

paul43210 and others added 2 commits January 22, 2026 22:19
- Implement viewport-based prefetching for map thumbnails (only loads visible markers)
- Fix lightbox scrollbar by increasing panel height reservation from 200px to 270px
- Replace lightbox thumbnail preview with loading spinner (removes jittery transition)
- Remove unused preview cache and thumbnail fetching code
- Fix linter warnings (unused imports, accessibility eslint-disable comments)
- Add test-and-commit.sh script for CI validation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Playwright E2E test suites for both extensions:

Photo Addon tests:
- Photo gallery loading and display
- Lightbox viewer functionality
- Map view with Leaflet integration
- Date grouping and navigation

Advanced Search tests:
- Search functionality and filters
- Filter panel and KQL input
- Saved searches management
- View modes and responsive behavior

Also includes:
- Test fixtures with authentication helpers
- Global setup for oCIS login
- Updated playwright.config.ts with project configs
- Updated .gitignore for auth state files
- BACKLOG.md moved to respective packages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mmattel
Copy link
Contributor

mmattel commented Jan 26, 2026

@paul43210 can you sync your fork and then do a rebase of your branches and then push them?
Seems you have some orphans that got removed in our repo causing conflicts that are not existent when rebasing...

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.

2 participants