Skip to content
quarry History Of Ticket 840e8a64ee974b3011298f90c75d4ec49d5e4b95
Login

History Of Ticket 840e8a64ee974b3011298f90c75d4ec49d5e4b95

Artifacts Associated With Ticket 840e8a64ee974b3011298f90c75d4ec49d5e4b95

  1. Ticket change [183d66c07c] (rid 1168) by dmestas on 2026-08-19 13:01:52:

    1. Untracked field cmimetype: "text/x-markdown"
    2. comment initialized to:
      GitHub's tabbed document panel on the repo landing: README |
      Contributing | <license name> | Security, each a rendered document, one
      click apart. The repo landing is already the files page, so this panel
      sits above (or replaces the top of) the tree listing.
      
      **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).
      
    3. priority initialized to: "Medium"
    4. severity initialized to: "Minor"
    5. status initialized to: "Open"
    6. subsystem initialized to: "web"
    7. title initialized to:
      Tabbed documents on the repo landing: README, Contributing, License, Security
      
    8. type initialized to: "Feature_Request"
  2. Ticket change [da0ee01f84] (rid 1223) by dmestas on 2026-08-19 17:11:50:

    1. icomment:
      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.
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Fixed"
    4. status changed to: "Fixed"
  3. Ticket change [2e96430922] (rid 12475) by zeitgeist on 2026-09-24 00:53:04:

    1. Untracked field number: "40"