|
2026-09-24
| ||
| 00:53 | • Ticket [840e8a64ee] Tabbed documents on the repo landing: README, Contributing, License, Security status still Fixed with 1 other change artifact: 2e96430922 user: zeitgeist | |
|
2026-08-19
| ||
| 17:11 | • Fixed ticket [840e8a64ee]. artifact: da0ee01f84 user: dmestas | |
| 13:01 | • New ticket [840e8a64ee]. artifact: 183d66c07c user: dmestas | |
Tabbed documents on the repo landing: README, Contributing, License, Security
**zit needs nothing new.** Root-level names are already reachable — the tip's tree listing (memoized per tip) finds them, `cat` serves them. This is web-layer composition over existing verbs; the store is untouched.
### Tabs by convention, curated by config
Default tab set, discovered at the tip root, case-insensitive, .md/.txt /bare extensions:
README* → "README" (always first, always the default tab) CONTRIBUTING* → "Contributing" LICENSE* / COPYING* → the detected license name, "License" as the honest fallback (same classifier the About panel wants — build it once) SECURITY* → "Security"
`.quarry/repo.json` (the same file the About panel reads) may curate and EXTEND — a project whose real onboarding doc is docs/INSTALL.md should be able to promote it:
{ "docs": [ { "path": "README.md" }, { "path": "docs/INSTALL.md", "label": "Install" }, { "path": "SECURITY.md" } ] }
Config order is tab order; a docs key REPLACES the convention set (curation means removal too); label defaults to the filename's stem. Paths are tree paths, so tabs are not limited to the root — the convention only DISCOVERS at the root.
### Mechanics
- Tab selection is URL state: `/r/{repo}` renders README, `/r/{repo}?doc=CONTRIBUTING.md` the next tab. Server-rendered links, zero script, linkable, and the back button works — same posture as every other view toggle. - Rendering goes through the existing file-render path (markdown pipeline, mimetype dispatch). #6ff100027f (render embedded docs) is the same renderer improved; whatever it gains, tabs gain. - The tab list itself comes from the `repo.about` op (#765689a7ac) so the panel and the sidebar are one aggregate, one invoke, and the JSON API sees both. - A repo with no README and no docs config gets no panel — the tree listing alone, exactly today's page.
### Not in scope
The edit pencil (GitHub's) — quarry edits files through commits, not a web editor. The badge wall in woodpecker's README is just markdown images and already renders; live badge PROXYING (fetching shields.io server-side) is its own privacy question and nobody has asked.
Extends #765689a7ac (About panel); related #6ff100027f (doc renderer).
Shipped in 8ae30f59 as part of the About panel build - see #765689a7ac for the full notes. Tabs by root convention or .quarry/repo.json docs curation; URL-state selection; curated strip 404s unknown paths; harness test drives the whole loop against a real store.