Skip to content

[FRONTEND] Paginated gallery image filters#245

Description

@yrska

馃幆 Acceptance Criteria

  • /api/gallery route accepts an optional ?tag= (or ?category=) param and applies it to the Payload query before pagination
  • Each page returned respects the limit (12) after filtering, not before
  • Changing the active filter resets the loaded image list and re-fetches from page 1
  • hasMore correctly reflects whether more filtered results exist
  • Client-side filter UI is updated to pass the selected filter into the fetch call instead of filtering in-memory results

馃搳 Definition of Done (DoD)

  • Acceptance criteria met
  • Agreed tests written
  • Agreed documentation in GitHub wiki
  • PR reviewed

馃敆 Dependencies


馃摎 Additional Context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions