[PR #86] [MERGED] feat: show base-first community preview on main Collections page with 'view all' link #89

Closed
opened 2026-08-13 19:11:28 +02:00 by zaph0d · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/niels-emmer/myace/pull/86
Author: @niels-emmer
Created: 8/12/2026
Status: Merged
Merged: 8/12/2026
Merged by: @niels-emmer

Base: mainHead: feat/main-page-community-preview


📝 Commits (1)

  • b94b762 feat: show base-first community preview on main Collections page with 'view all' link

📊 Changes

2 files changed (+31 additions, -10 deletions)

View changed files

📝 backend/app/api/collections.py (+7 -2)
📝 frontend/src/pages/CollectionsManager.tsx (+24 -8)

📄 Description

Summary

The main Collections page's Community Collections section now shows base collections first (alphabetically), then additional collections (alphabetically), and displays a link to the full community page when there are more than 10.

Changes

File Change
backend/app/api/collections.py Sort by collection_type ASC, name ASC — base before additional, both alphabetical
frontend/src/pages/CollectionsManager.tsx Uses paginated listCommunity({ limit: 10 }) instead of listCommunityTop; shows "First 10 collections shown, click here to view all" link when total > 10

Testing

  • Backend: 200/200 tests pass
  • Frontend: TypeScript compiles with zero errors

Checklist

  • Self-review completed
  • No new warnings
  • Tests pass
  • Breaking changes: none

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/niels-emmer/myace/pull/86 **Author:** [@niels-emmer](https://github.com/niels-emmer) **Created:** 8/12/2026 **Status:** ✅ Merged **Merged:** 8/12/2026 **Merged by:** [@niels-emmer](https://github.com/niels-emmer) **Base:** `main` ← **Head:** `feat/main-page-community-preview` --- ### 📝 Commits (1) - [`b94b762`](https://github.com/niels-emmer/myace/commit/b94b762a2a3145734aaa1d39a35a556f00b6441b) feat: show base-first community preview on main Collections page with 'view all' link ### 📊 Changes **2 files changed** (+31 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `backend/app/api/collections.py` (+7 -2) 📝 `frontend/src/pages/CollectionsManager.tsx` (+24 -8) </details> ### 📄 Description ## Summary The main Collections page's Community Collections section now shows base collections first (alphabetically), then additional collections (alphabetically), and displays a link to the full community page when there are more than 10. ## Changes | File | Change | |------|--------| | `backend/app/api/collections.py` | Sort by `collection_type ASC, name ASC` — base before additional, both alphabetical | | `frontend/src/pages/CollectionsManager.tsx` | Uses paginated `listCommunity({ limit: 10 })` instead of `listCommunityTop`; shows "First 10 collections shown, click here to view all" link when total > 10 | ## Testing - Backend: 200/200 tests pass - Frontend: TypeScript compiles with zero errors ## Checklist - [x] Self-review completed - [x] No new warnings - [x] Tests pass - [x] Breaking changes: none --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zaph0d 2026-08-13 19:11:28 +02:00
Sign in to join this conversation.
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
github-mirrors/myace#89
No description provided.