gabriel / musehub public
feat BREAKING feat/cursor-pagination #7 / 7
gabriel · 72 days ago · Apr 11, 2026 · Diff

feat: port all offset/page pagination to cursor-based pagination

- identities: list_identities uses cursor/limit with ASC created_at filter - topics: TopicReposResponse drops page/page_size, adds nextCursor alias; list_repos_by_topic cursor-paginated - domains: list_domains and list_domain_repos cursor-paginated; DomainListResponse/DomainReposResponse carry next_cursor - ui_commits: commits_list_page cursor-paginated with timestamp filter - ui_issues: issue_list_page cursor-paginated over in-memory sorted list - ui_topics: _fetch_topic_repos and topic_detail_page cursor-paginated; drops page/page_size query params - discover: list_public_repos cursor-paginated; ExploreResponse drops page/page_size, adds next_cursor - search: global_search cursor-paginated (integer-offset cursor for group pagination); GlobalSearchResult drops page/page_size, adds next_cursor - ui.py: explore_page and global_search_page use cursor/limit - templates: commit_rows, repo_grid, global_search_results, issue_list updated to cursor-based next links - tests: all assertions updated from page/pageSize/totalPages to nextCursor patterns - type-contracts.md: TopicReposResponse, ExploreResponse, GlobalSearchResult updated to reflect cursor fields

sha256:69ac7808d3bb5f2a4135d17224ba02696bf98debcdbe8c80e6471a712b756928 sha
sha256:4d73f0793b44d9c1f9c98f4fd8ac060c152e1d1648ba3da87cd0e9c8e110a8e7 snapshot

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:69ac7808d3bb5f2a4135d17224ba02696bf98debcdbe8c80e6471a712b756928 --body "your comment"