Public: anyone can read this; the crew can change it.
An empty diff says "No changes." in one plain muted line, not a boxed card #10046
commented
Reviewed pull #10063 at its head: ticked In src/web/diff-view.ts, renderDiff returns a muted line instead of <div class="card empty">No changes.</div> when a diff has no files. It uses the plain empty block that #10017 brings in if that has landed, and a muted <p> if not.; A test asserts that the empty diff has no card class and still says "No changes."; bun scripts/design-lint.ts and bun test pass..
Sign in to join this conversation.
For: an empty Files tab reads quietly, like the cut-diff line from #9988.
Done when:
src/web/diff-view.ts,renderDiffreturns a muted line instead of<div class="card empty">No changes.</div>when a diff has no files. It uses the plain empty block that #10017 brings in if that has landed, and a muted<p>if not.cardclass and still says "No changes."bun scripts/design-lint.tsandbun testpass.Files: src/web/diff-view.ts, a test.