A repository's direct forks (#14644)
A repository's code page lists its direct forks, nearest generation only (a fork of a fork is listed on that fork's page, not here), each a link to the fork with when it last changed: its newest push, else its creation.
- Web: in the About rail, a quiet "Forks" heading over plain rows, twenty at most, the most recently changed first. When there are more, the link under them reads "All N" and goes to the forks page; otherwise it reads "All". A repository with no fork the viewer may read shows no block, and an empty repository's page shows none either.
- Terminal: open the repository and press
f. Each direct fork's row ends in "changed <ago>" (forkRowsinsrc/tui/screens/forks.ts). - Who is counted: only forks the viewer may read (
canRead, checked per fork), so a private fork is neither listed nor counted for anyone else. - Cost: none added. The page already read the visible forks for its fork
count;
visibleForksRecent(src/core/repos.ts) returns them in that one statement already ordered by last change, and the page's budget is unchanged.