mirror of
https://github.com/niels-emmer/myace.git
synced 2026-09-14 07:36:39 +02:00
[PR #84] [MERGED] feat: add collection_type filter, pagination, and alphabetical sort to community collections #87
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/myace#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/niels-emmer/myace/pull/84
Author: @niels-emmer
Created: 8/12/2026
Status: ✅ Merged
Merged: 8/12/2026
Merged by: @niels-emmer
Base:
main← Head:feat/community-pagination📝 Commits (1)
1417922feat: add collection_type filter, pagination, and alphabetical sort to community collections📊 Changes
5 files changed (+161 additions, -68 deletions)
View changed files
📝
backend/app/api/collections.py(+32 -9)📝
backend/tests/test_community_collections.py(+11 -8)📝
frontend/src/lib/api.ts(+5 -3)📝
frontend/src/pages/CommunityCollections.tsx(+108 -48)📝
frontend/src/types/index.ts(+5 -0)📄 Description
Summary
Adds a collection_type filter (All / Base / Additional), pagination (10 per page), and alphabetical sort to the Community Collections page.
Changes
backend/app/api/collections.pyGET /communityreturns{items, total}paginated response; acceptstype,offset,limitquery params; sorts by name ascendingbackend/tests/test_community_collections.py{items, total}response shapefrontend/src/types/index.tsCommunityCollectionsResponseinterfacefrontend/src/lib/api.tslistCommunityacceptstype,offset,limitparamsfrontend/src/pages/CommunityCollections.tsxTesting
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.