You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(web): polish PathHeader rendering for SHAs and empty paths
- Lift `truncateSha` (was a private helper in getDiffToolComponent) to
`lib/utils` so PathHeader can reuse it. The branch/ref display now
renders a 40-char SHA as `abc1234`, preserving any `^` / `~N` suffix.
- Hide the `·` separator and the path's CopyIconButton when there's no
path (repo root). Previously a dangling `·` and copy button rendered
with nothing between them.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments