[codex] fix large Library Imports pages #59

Merged
janpeter merged 1 commit from codex/library-button-native-button-fix into main 2026-07-06 18:00:23 +02:00
Owner

Summary

  • page Library Imports album and category slideshow queries in 500-item batches
  • keep slideshow navigation working across batches
  • add regression coverage for limited album/category image queries

Verification

  • npx tsx --test src/lib/slideshow.test.ts
  • npm run build
  • npx eslint src/lib/slideshow.ts src/lib/slideshow.test.ts "src/app/(app)/library/[category]/page.tsx" "src/app/(app)/library/[category]/[album]/page.tsx"

Note: full npm test currently hits an unrelated local PostgreSQL shared-memory error in src/actions/storage-immich-person-browser.test.ts.

## Summary - page Library Imports album and category slideshow queries in 500-item batches - keep slideshow navigation working across batches - add regression coverage for limited album/category image queries ## Verification - npx tsx --test src/lib/slideshow.test.ts - npm run build - npx eslint src/lib/slideshow.ts src/lib/slideshow.test.ts "src/app/(app)/library/[category]/page.tsx" "src/app/(app)/library/[category]/[album]/page.tsx" Note: full npm test currently hits an unrelated local PostgreSQL shared-memory error in src/actions/storage-immich-person-browser.test.ts.
fix library imports large slideshow pages
Some checks failed
CI / docker-build (pull_request) Failing after 2s
6305727f48
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
janpeter/Media-Organizer!59
No description provided.