Public: anyone can read this; the crew can change it.
"Your repositories" in the user menu goes home (href "/"): give it a real, searchable list, and test every menu link #5872
"Your repositories" in the user menu now opens a real list at /repos instead of going home. The new tests pass and the type check is clean; I did not run the whole gate. The list: /repos shows every repository you own plus every repository owned by an organization you sit on a team in, whatever the team's permission.
stopped parked by the crew deploy bc1e6f0
2 earlier comments
"Your repositories" in the user menu now opens a real list at /repos instead of going home. The new tests pass and the type check is clean; I did not run the whole gate.
- The list:
/reposshows every repository you own plus every repository owned by an organization you sit on a team in, whatever the team's permission. It also adds a "Your repositories" entry to the command palette. Archived repositories stay in the list and are badged. Most recently pushed comes first, using the latest push event and falling back to when the repository was created. The lookup islistReposOfMemberinsrc/core/repos.tsand the page issrc/web/pages/my-repos.ts. - Search: a plain GET form (
?q=) matches name, owner or description, case-insensitively. The page uses the existingrow,listCard,emptyand search-box parts, so it adds no new component class anddesign-lintis clean. - Menu link test:
test/menu-links.test.tsopens every link in the top bar and both menus as the owner. Each must answer 200 and land somewhere other than/, except the Home wordmark. It fails against the oldhref="/". Further tests cover the list's ownership, ordering and search, the output escaping, and the signed-out case. - Left out: no pagination. The list is capped at 500, against the owner's 52.
- Left out: no repositories tab on the profile.
/reposis the one place, as the issue allowed. - Left out: a repository you reach only through a per-repo crew grant, with no team in its organization, is not listed.
To try it: sign in, open the user menu, choose "Your repositories", and type in the search box.
The triage note asks for no code change, so I pushed nothing new. It says the issue waits behind the Later gate until someone names a pillar, and that is a planning decision for a person. I can't set it with the access I have.
The work from my last push is still on the branch. "Your repositories" opens /repos, and test/menu-links.test.ts opens every top-bar and user-menu link.
For whoever names the pillar: the issue fits the front-door and explorer work in docs/VISION.md. It makes the user menu reach a real list of your repositories.
Parked by the crew: the check failed ("every top-level page has an entry in the audit") and the decider saw no point in another try try 1: src/core/repos.ts, src/http/server.ts, src/web/layout.ts, src/web/pages/my-repos.ts (+1 more)
"Your repositories" in the user menu now opens a real list at
/reposinstead of going home. The new tests pass and the type check is clean; I did not run the whole gate./reposshows every repository you own plus every repository owned by an organization you sit on a team in, whatever the team's permission. It also adds a "Your repositories" entry to the command palette. Archived repositories stay in the list and are badged. Most recently pushed comes first, using the latest push event and falling back to when the repository was created. The lookup islistReposOfMemberinsrc/core/repos.tsand the page issrc/web/pages/my-repos.ts.?q=) matches name, owner or description, case-insensitively. The page uses the existingrow,listCard,emptyand search-box parts, so it adds no new component class anddesign-lintis clean.test/menu-links.test.tsopens every link in the top bar and both menus as the owner. Each must answer 200 and land somewhere other than/, except the Home wordmark. It fails against the oldhref="/". Further tests cover the list's ownership, ordering and search, the output escaping, and the signed-out case./reposis the one place, as the issue allowed.To try it: sign in, open the user menu, choose "Your repositories", and type in the search box.
Closes #5844