From c2e45945b4dae0f69f22e5909f4709b4cdbff48d Mon Sep 17 00:00:00 2001 From: Paul Faure Date: Fri, 20 Mar 2026 10:51:15 -0400 Subject: [PATCH 1/2] fix(photo-addon): improve calendar navigation and zoom controls - 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 (#357) Co-Authored-By: Claude Opus 4.6 --- .../src/views/PhotosView.vue | 442 ++++++++++++++++-- 1 file changed, 416 insertions(+), 26 deletions(-) diff --git a/packages/web-app-photo-addon/src/views/PhotosView.vue b/packages/web-app-photo-addon/src/views/PhotosView.vue index 94377ca4..281b109d 100644 --- a/packages/web-app-photo-addon/src/views/PhotosView.vue +++ b/packages/web-app-photo-addon/src/views/PhotosView.vue @@ -21,14 +21,14 @@ :options="yearOptions" :label="$gettext('Year')" :aria-label="$gettext('Select year')" - @update:model-value="(v: string | number) => { filterYear = v as number; onDateFilterChange() }" + @update:model-value="onYearSelect" /> + +
+ + {{ zoomIndicatorText }} + +