feat(gallery): filter and paginate snapshots through events API #10

Merged
arnaud.dartois merged 10 commits from audit/snapshot-gallery into main 2026-10-20 23:12:07 +02:00
Owner

Problem

The snapshots page did not consistently use the event API for snapshot filtering, camera-name search, event type, and paging, which could show unrelated rows or paginate before filtering.

Change

Pass snapshot-only, camera/label search, and event-type filters through the API and apply them before paging. Add server-side pagination to the page and preserve the original image as a fallback when a thumbnail is unavailable. The gallery change is independent of the pipeline PRs and includes no LocalStorageProvider changes; path confinement is already in merged PR #2.

Validation

  • Web build: passed with 0 warnings and 0 errors.
  • Targeted GetEventsHandlerTests: 4 passed, 0 failed (including camera-name search, snapshot filtering, and paging).
  • git diff --check: passed.
## Problem The snapshots page did not consistently use the event API for snapshot filtering, camera-name search, event type, and paging, which could show unrelated rows or paginate before filtering. ## Change Pass snapshot-only, camera/label search, and event-type filters through the API and apply them before paging. Add server-side pagination to the page and preserve the original image as a fallback when a thumbnail is unavailable. The gallery change is independent of the pipeline PRs and includes no `LocalStorageProvider` changes; path confinement is already in merged PR #2. ## Validation - Web build: passed with 0 warnings and 0 errors. - Targeted `GetEventsHandlerTests`: 4 passed, 0 failed (including camera-name search, snapshot filtering, and paging). - `git diff --check`: passed.
arnaud.dartois added 1 commit 2026-10-20 07:33:13 +02:00
arnaud.dartois added 5 commits 2026-10-20 21:00:39 +02:00
arnaud.dartois added 1 commit 2026-10-20 21:06:34 +02:00
Merge remote-tracking branch 'origin/main' into audit/snapshot-gallery
Heimdall Gitea / Build and tests (pull_request) Failing after 2m41s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
cb1a4dd2ad
# Conflicts:
#	tests/Heimdall.IntegrationTests/Controllers/EventsControllerTests.cs
arnaud.dartois added 1 commit 2026-10-20 21:11:15 +02:00
Merge remote-tracking branch 'origin/main' into audit/snapshot-gallery
Heimdall Gitea / Publish versioned release (pull_request) Canceled after 0s
Heimdall Gitea / Build and tests (pull_request) Canceled after 31m55s
316d26924e
arnaud.dartois added 1 commit 2026-10-20 21:43:10 +02:00
Merge remote-tracking branch 'origin/main' into audit/snapshot-gallery
Heimdall Gitea / Publish versioned release (pull_request) Canceled after 0s
Heimdall Gitea / Build and tests (pull_request) Canceled after 8m33s
fff563b878
arnaud.dartois added 1 commit 2026-10-20 21:50:31 +02:00
Merge remote-tracking branch 'origin/main' into audit/snapshot-gallery
Heimdall Gitea / Build and tests (pull_request) Failing after 24m54s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
b4b306b1e4
arnaud.dartois added 1 commit 2026-10-20 22:37:05 +02:00
Merge remote-tracking branch 'origin/main' into audit/snapshot-gallery
Heimdall Gitea / Build and tests (pull_request) Successful in 34m57s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
fd0b245d94
arnaud.dartois merged commit d95d762299 into main 2026-10-20 23:12:07 +02:00
arnaud.dartois added the area:cameraarea:uipriority:P2type:feature labels 2026-11-06 13:40:05 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arnaud.dartois/Heimdall#10