feat(ui): [6] Repo box with README tab #109
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/104-repo-box-readme"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Part 1 of 3 of #98. Adds box
[6]Repo to a regular repo with Details tabsREADME · Files · Branches. README renders as markdown (same renderer as PR bodies) and scrolls; Files and Branches show "Coming soon" until #106 and #105.Changes
forge.ReadmeReadercapability (+ActReadme), implemented by the Gitea/Forgejo and GitHub adapters and the fake/demo forge.core.Service.Readme/PeekReadme; "no README" is cached as an empty README.boxRepowith number = kind+1,boxes.kinds()/step()so6andtabstay correct when Actions is hidden; the ★ Renovate view is unchanged.docs/design.md,docs/architecture.md,docs/mockup.htmlupdated.Decisions
/readmeendpoint (404 on git.bobparsons.dev), so the adapter lists the repo root contents, picks the README (.mdfirst), and fetches it. The README is found at the repo root only.Forge(ADR 0006 pattern).PeekReadme;fetchstill calls the adapter on a re-select.Test plan
make build,go test -race ./...,golangci-lint run(0 issues), format check: all pass locally.make check's install-script test needsshellcheck, absent on this machine; CI runs it.Refs #104, #98
🤖 Generated with Claude Code
https://claude.ai/code/session_01RTN2GnGvYhWwPhsSDiWp8n