Public: anyone can read this; the crew can change it.
A connected forge shows Gitea's cup on imported repository pages, search results and the terminal #14341
Check · Review · Land · Live — No review yet.
A repository mirrored from another forge now shows the anvil on its thread and browse pages, in search results and in the terminal. A Gitea origin still gets the cup. Type check and the tests I ran pass; I did not run the full suite.
look green — it answered, no tests were run, ready for a look deploy 9957c2f
Check passeddeploy 9957c2f
Website spec: 26 findings (report only)
- /board http://127.0.0.1:44459/board answered 303 — https://specification.website/
- /notes http://127.0.0.1:44459/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:44459/review answered 303 — https://specification.website/
- /releases http://127.0.0.1:44459/releases answered 303 — https://specification.website/
- /system http://127.0.0.1:44459/system answered 303 — https://specification.website/
- /admin/limits http://127.0.0.1:44459/admin/limits answered 404 — https://specification.website/
- /maintenance http://127.0.0.1:44459/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:44459/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:44459/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:44459/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:44459/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:44459/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:44459/settings/crew?help answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:44459/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:44459/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/drop http://127.0.0.1:44459/preview-admin/sample/drop answered 303 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:44459/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:44459/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/next?pick expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/bets expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/waves expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/space the first focusable element is not a skip link (an in-page #target link) — skip-link
- /looks/missing http://127.0.0.1:44459/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:44459/looks/failed answered 500 — https://specification.website/
- /nope/nothing http://127.0.0.1:44459/nope/nothing answered 404 — https://specification.website/
A repository mirrored from another forge now shows the anvil on its thread and browse pages, in search results and in the terminal. A Gitea origin still gets the cup. Type check and the tests I ran pass; I did not run the full suite. I could not run scripts/fast.ts usefully: it found 3243 of 3741 files for this diff and estimated 273 minutes. I ran test/origins-page-shape, tui-icons, tui-take-back, forge-origin, mcp-search, commits-fit, mcp-origins, browse-origin-timing and mcp-threads instead; the forge's check runs the rest.
- Queries:
RepoOrigininsrc/core/repos.tsnow carriessoftwarebesidekind, and the repo query selects it. Search origin hits carryoriginSoftware. - Web: thread and studio comment tags, browse and commit author tags, the scope place bar and search result rows all draw through
originIcon. - Terminal:
src/tui/ui/icons.tsgainsanvilandgiteaicons and anoriginMarkmapping. The connections screen now puts that icon before each origin. The nerd-font code points for the cup (nf-md-coffee) and the anvil are my best picks and were not checked in a real terminal. Both sets keep the one-cell width rule. - Tests:
test/origins-page-shape.test.tscovers the repo query,originGlyphand the search hit for a mirror from another forge.test/tui-icons.test.tscoversoriginMark. I addedsoftwareto a fixture intest/tui-take-back.test.ts, because the new field is required.
What I left out: the terminal's browse place bar still shows the generic origin icon, since it never drew a per-kind one. I also did not touch the /-/commits listing or the MCP and API output.
Try it: connect a forge as an origin, mirror one of its repositories, then open the mirror's issues page, /search?q=<name> and the terminal's Connected accounts screen.
One note on the push: the pre-push hook refused it until a commit carried a Try: line, so I added an empty commit for that.
<!-- look-pages 9957c2f4e44c --> Look pages for 9957c2f, from the gate:
look pages (inferred): this pull changes src/web/pages/browse.ts, src/web/pages/commits.ts, src/web/pages/search.ts and 2 more; the forge pictures / (src/web/pages/thread.ts), /docs (src/web/pages/thread.ts), /explore (src/web/pages/thread.ts) and 25 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
A repository mirrored from another forge now shows the anvil on its thread and browse pages, in search results and in the terminal. A Gitea origin still gets the cup. Type check and the tests I ran pass; I did not run the full suite. I could not run
scripts/fast.tsusefully: it found 3243 of 3741 files for this diff and estimated 273 minutes. I rantest/origins-page-shape,tui-icons,tui-take-back,forge-origin,mcp-search,commits-fit,mcp-origins,browse-origin-timingandmcp-threadsinstead; the forge's check runs the rest.RepoOrigininsrc/core/repos.tsnow carriessoftwarebesidekind, and the repo query selects it. Search origin hits carryoriginSoftware.originIcon.src/tui/ui/icons.tsgainsanvilandgiteaicons and anoriginMarkmapping. The connections screen now puts that icon before each origin. The nerd-font code points for the cup (nf-md-coffee) and the anvil are my best picks and were not checked in a real terminal. Both sets keep the one-cell width rule.test/origins-page-shape.test.tscovers the repo query,originGlyphand the search hit for a mirror from another forge.test/tui-icons.test.tscoversoriginMark. I addedsoftwareto a fixture intest/tui-take-back.test.ts, because the new field is required.What I left out: the terminal's browse place bar still shows the generic origin icon, since it never drew a per-kind one. I also did not touch the
/-/commitslisting or the MCP and API output.Try it: connect a forge as an origin, mirror one of its repositories, then open the mirror's issues page,
/search?q=<name>and the terminal's Connected accounts screen.One note on the push: the pre-push hook refused it until a commit carried a
Try:line, so I added an empty commit for that.Closes #14302