Only some code tab breadcrumbs work. #189
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#189
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The "docs" link in the image doesn't have the branch on it, but the root works fine.
Make it so that the breadcrumbs link up correctly for where you are in the repo.
Fix ready for review: PR #192 (branch fix/issue-189) — Tree breadcrumb intermediate segments now link /{full}/tree/{ref}/{subpath}, mirroring Blob. Browser-verified on a nested path with zero console errors.
Review of PR #192 (fix/issue-189) — verified in scratch worktree, main untouched.
Findings (all resolved, no changes needed):
/{full}/tree/{shortRef(rev)}/{subpath}, byte-identical shape to Blob.jsx:30 proven pattern. Root link (line 19) and current-segment unchanged. shortRef was already imported (line 10); no new deps (law 1 clean).rev={t().ref}is the right source: useResolved attaches the user-resolved ref onto the payload (data.js:343-345), symmetric with Blob'srev={b().ref}(Blob.jsx:71). Consistent with existing in-file uses (treeRest:189, docRef:225).Verify: node --test web/test/unit/*.test.js 387/387 green in scratch (node_modules symlinked from main, removed after); vite build clean (125 modules, 1.62s). Scratch worktree removed. No browser drive (node tests + source reasoning per task note).
MERGE RECOMMENDATION: ready to merge.
Fixed by PR #192 (review clean; Tree mirrors Blob's proven href shape; 387/387), merged. Closing.