Explore: list .profile contact-card repos last #3

Merged
leora merged 4 commits from explore-profile-last into main 2026-10-15 20:33:27 +08:00
Owner

Lists .profile contact-card repos (any case, via .LowerName) after the other repos.

  • Template override for Gitea 1.23.8: config/custom/templates/explore/repo_list.tmpl ranges .Repos twice (non-.profile, then .profile). The row markup is in the sub-template repo_list_item.tmpl. Empty state is kept.
  • Config change in config/app.ini.template: [ui] EXPLORE_PAGING_NUM = 100 and [ui.user] REPO_PAGING_NUM = 100. The reorder is per page, so the larger pages keep whole lists in order.
  • README covers the views this affects (explore, user/org tabs, starred/watched, admin per-user view) and says to re-diff the template on every upgrade.
  • Out of scope: organisations' private profile repos (.profile-private).

Staging verified with more than 20 .profile repos: the non-profile repos come first on the default and oldest sorts, and on user pages.

Lists `.profile` contact-card repos (any case, via `.LowerName`) after the other repos. - Template override for Gitea 1.23.8: `config/custom/templates/explore/repo_list.tmpl` ranges `.Repos` twice (non-`.profile`, then `.profile`). The row markup is in the sub-template `repo_list_item.tmpl`. Empty state is kept. - Config change in `config/app.ini.template`: `[ui] EXPLORE_PAGING_NUM = 100` and `[ui.user] REPO_PAGING_NUM = 100`. The reorder is per page, so the larger pages keep whole lists in order. - README covers the views this affects (explore, user/org tabs, starred/watched, admin per-user view) and says to re-diff the template on every upgrade. - Out of scope: organisations' private profile repos (`.profile-private`). Staging verified with more than 20 `.profile` repos: the non-profile repos come first on the default and oldest sorts, and on user pages.
leora added 2 commits 2026-10-15 20:23:38 +08:00
leora added 1 commit 2026-10-15 20:27:09 +08:00
Earlier commit 7a16ae0 'x' added the first README section for this change; it is kept
rather than force-pushing the open PR branch.
leora merged commit 2548ea8339 into main 2026-10-15 20:33:27 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leora/gitea-selfhost#3
No description provided.