fix(web): end the PR timeline line at the last event and name skipped checks

Merged
HK
17d ago
+53-6

Summary

In the PR Timeline tab, the connector line ran past the last event and stopped about 40 px above the bottom of the panel. The checks card said "21 of 34 passing" and "34 done" when the other 13 checks were skipped, which read like a problem.

Changes

  • PullRequestTimelineTab.tsx: the line is drawn per row instead of on the list container (which is taller than the content). The last row draws it only to its marker: the centre for most rows, the top marker for comments, review threads and review verdicts. The checks card connects to the first row. With no checks card, the first row starts the line at its centre.
  • PullRequestTimelineTab.tsx: the checks card subline shows "N done" only when some checks still run or need attention.
  • pullRequestPresentation.tsx (summarizePullRequestChecks) and pullRequestDetail.logic.ts (describePullRequestChecks): when nothing fails, runs or waits, a mix of passed and skipped/neutral checks reads "21 passed · 13 skipped" instead of "21 of 34 passing". This also changes the Checks tab and the checks popover.

Tests

  • pullRequestDetail.logic.test.ts: new test for the passed/skipped wording and "All checks passed".
  • vp run check:changed passes (format, lint, knip, typecheck, tests, React compiler).
  • Not checked visually: a headless screenshot needs a real GitHub PR in a playground copy.

Scope affected

PR detail Timeline tab, the checks summary text in the Timeline card, Checks tab and checks popover. No server changes.