A pull's reviews, checks, log and history (#10538)
A pull's own page keeps its verdict and its change first, then three folds, each one line closed:
- Reviews: how they stand ("2 reviews · 1 approved"), and each review when opened. A request for changes still waiting shows here only, not again in the thread.
- Checks: the check's word (a check not yet run says "not run yet") and its live line. Inside it, Log holds the last 60 lines of the run, with a link to the whole run. A viewer who may not read run logs gets no Log fold.
- History: the steps on this pull, newest first, each linking to its page.
Only a failing check opens on its own, with its log; every other fold stays closed, so opening one never moves what is above it. A log wider than the screen scrolls sideways inside its own box.
The terminal says the same
The terminal is the other door onto the same facts, under the same gates:
- Reviews: the pull screen (
src/tui/screens/pull.ts, withpull_review.tsfor the review threads and verdicts). - Check log:
src/tui/screens/runlist.tsopens a run inrunlog.ts, which reads throughrunLog, so an unreadable log says "not found" there as on the web; the pull screen's step line usesmayReadRunLogtoo. - History: the pull's commits in
src/tui/screens/commits.ts.
Try it: open a pull whose check failed; its Checks and Log folds are open. Open a green one: all three are closed.