Skip to content

fix(photo-addon): improve calendar navigation and zoom controls#359

Merged
mmattel merged 2 commits intoowncloud:mainfrom
paul43210:fix-photo-addon-calendar-nav
Mar 23, 2026
Merged

fix(photo-addon): improve calendar navigation and zoom controls#359
mmattel merged 2 commits intoowncloud:mainfrom
paul43210:fix-photo-addon-calendar-nav

Conversation

@paul43210
Copy link
Contributor

Summary

  • Fix year/month dropdown selectors not triggering navigation
  • Show "No photos found for [Month Year]" with "Jump to nearest photos" button instead of silently falling back
  • Bidirectional scroll loading: older photos on scroll down, newer on scroll up (with scroll position preservation)
  • Sync dropdowns to currently visible date group while scrolling
  • Add +/- zoom buttons (Day ↔ Week ↔ Month ↔ Year) matching pinch-to-zoom behavior
  • Fix premature loading stop when scrolling back (broken empty batch detection)
  • Clarify EXIF only toggle tooltip (Photo app: identification if exif or not #357)

Test plan

  • Select a year/month with photos — verify they load and display
  • Select a year/month with no photos — verify empty state message appears
  • Click "Jump to nearest photos" — verify it finds and displays nearest month
  • Scroll down to load older photos, scroll up to load newer photos
  • Verify dropdowns update as you scroll through different months
  • Test +/- zoom buttons cycle through Day → Week → Month → Year
  • Verify EXIF only toggle tooltip text is accurate

🤖 Generated with Claude Code

paul43210 and others added 2 commits March 20, 2026 10:51
- Fix year/month dropdown selectors not updating the view
- Show "No photos found for [Month Year]" instead of silently searching
  backwards when selected period has no photos
- Add "Jump to nearest photos" button that finds closest month with data
- Enable bidirectional scroll loading (older on scroll down, newer on
  scroll up with scroll position preservation)
- Fill screen with enough content to enable scrollbar after navigation
- Sync year/month dropdowns to currently visible date group on scroll
- Add +/- zoom buttons matching pinch-to-zoom behavior (Day/Week/Month/Year)
- Fix premature stop when scrolling back (was stopping after ~6 months
  due to broken consecutive empty batch detection)
- Update EXIF only tooltip to clarify it filters by EXIF date (owncloud#357)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove arbitrary 10-year date limit that prevented loading older photos.
When progressive loading hits a gap (12 consecutive empty batches),
fall back to a catch-all search to find remaining photos across all time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mmattel mmattel merged commit c531422 into owncloud:main Mar 23, 2026
1 check passed
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