Repository navigation
fix(docs): expose library repository in desktop navigation - #1433
Conversation
|
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Show repository link on documentation pages src/components/LibraryLayout.tsx |
The non-landing-page branch now renders a GitHub link with an icon. Landing-page content is unchanged. |
Priority:
Estimated code review effort: 2 (Simple) | ~5 minutes
Change: Feature · Severity of issue fixed: Low
Suggested reviewers: abeuty, ladybluenotes
Merge Risk: 
Minimal · up to bc68d
-
No actionable merge-blocking risk remains.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed-
Check name Status Explanation Description Check Check skipped - CodeRabbit’s high-level summary is enabled. Title check The title clearly and concisely describes the main change: adding access to the library repository in desktop documentation navigation. Linked Issues check Issue #1177asks for an easy path from library documentation pages to the library repository. The whole-PR diff (merge base cd8927e to head bc68d71) changes only src/components/LibraryLayout.tsx, one …Out of Scope Changes check The whole-PR diff contains one hunk in src/components/LibraryLayout.tsx. The added GitHub link in the non-landing tabs bar directly implements the issue #1177objective. No unrelated files or hunks ap…Full details: Linked Issues check
-
Explanation
Issue
#1177asks for an easy path from library documentation pages to the library repository. The whole-PR diff (merge base cd8927e to head bc68d71) changes only src/components/LibraryLayout.tsx, one hunk, +11/-1. The former) : null}branch becomes) : (...). The new else branch renders an<a href={https://github.com/${repo}`}>` with a GithubIcon and the text 'GitHub' in the tabs bar for non-landing pages. Landing pages keep their existing links. The link opens in a new tab (target=_blank, rel=noreferrer). It uses the existingrepovalue, so it reuses the library's repository URL. The diff adds no imports or new identifiers, sorepoandGithubIconmust already be in scope in this file. The class list hides the link below the xl breakpoint and shows it at xl and above. Compact layouts therefore keep the existing menu link, as the PR description states. This matches the issue's request for desktop documentation pages. The issue does not request automated tests or other non-coding work. The PR reports manual 1280px inspection and a local pnpm test run. Those reports are not independent evidence and were not relied on for this verdict.
Full details: Out of Scope Changes check
-
Explanation
The whole-PR diff contains one hunk in src/components/LibraryLayout.tsx. The added GitHub link in the non-landing tabs bar directly implements the issue
#1177objective. No unrelated files or hunks appear in the reviewed changes. The raw summary reports the same single-file change (+11/-1) and no declaration changes. No out-of-scope change was found.
-
-
Finishing Touches: 💡 1
-
📝 Generate docstrings: 💡
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
tanstack-com | bc68d71 | Commit Preview URL Branch Preview URL |
Oct 26 2026, 07:32 PM |
Docs pages now have a direct GitHub link in the desktop navigation, using each library’s existing repository URL. This makes it easier to move from documentation to source and issues.
Closes #1177.
Summary by CodeRabbit