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
{{ message }}
Repository navigation
Make Redact a first-class TanStack library - #1414
Promotes Redact from a standalone page to a regular library at /redact/latest. Registers its Framework category, navigation, package metadata, versioned docs, sitemap, and LLM discovery, and uses the shared library landing shell while keeping the runtime savings cards and compatibility details.
Documentation lives in TanStack/redact, merged in TanStack/redact#46. The existing /redact URL redirects through the standard library route. Includes Redact's new Scarf pixel in the TanStack organization.
Validation: full pnpm test passed, including TypeScript, lint, 604 unit tests, 2,270 chat tests, and 20 desktop tests. Reviewed desktop and mobile layouts, library navigation, docs navigation, Markdown endpoints, and LLM indexes. Rebased onto current main without conflicts.
Summary by CodeRabbit
New Features
Added TanStack Redact to the framework library listings, with a version-specific landing page covering setup, measurements, supported features, compatibility, and performance.
Changes
The standalone Redact page is no longer available; its information is presented on the version-specific library page instead.
Legacy Redact overview links now redirect to the overview page.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 02f97e64-7768-46b2-8b48-f6947ed5cd2c
📥 Commits
Reviewing files that changed from the base of the PR and between f192864 and 69312a3.
📒 Files selected for processing: 13
src/components/landing/RedactLanding.tsx
src/libraries/categories.ts
src/libraries/icons.ts
src/libraries/ids.ts
src/libraries/index.tsx
src/libraries/libraries.ts
src/routeTree.gen.ts
src/routes/-library-landing.tsx
src/routes/_library/$libraryId/$version.index.tsx
src/routes/_library/redact.$version.index.tsx
src/routes/redact.tsx
src/utils/sitemap.ts
tests/docs-redirects.test.ts
💤 Files with no reviewable changes: 2
src/routes/redact.tsx
src/utils/sitemap.ts
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
📝 Walkthrough
Redact is added to the library catalog. Its landing content now uses a versioned library route instead of the former static /redact page. The update also changes route registration, redirect handling, sitemap entries, and redirect test expectations.
Redact is added to the library IDs, metadata, framework category, icon mapping, exports, and library list.
Versioned landing page and routing src/components/landing/RedactLanding.tsx, src/routes/-library-landing.tsx, src/routes/_library/redact.$version.index.tsx, src/routes/_library/$libraryId/$version.index.tsx, src/routeTree.gen.ts
A Redact landing page describes setup, features, compatibility, and performance. The versioned route renders it, and route helpers and generated route definitions register /redact/$version.
Static route removal and redirect expectations src/routes/redact.tsx, src/utils/sitemap.ts, tests/docs-redirects.test.ts
The static /redact page and sitemap entry are removed. Redirect test expectations include Redact.
No concrete issue identified here requires a change before merge; confirm the legacy /redact redirect in normal route checks.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 11 files.
Write docstrings for the functions missing them to satisfy the coverage threshold.
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 primary change: promoting Redact to a first-class TanStack library.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
✨ 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes Redact from a standalone page to a regular library at
/redact/latest. Registers its Framework category, navigation, package metadata, versioned docs, sitemap, and LLM discovery, and uses the shared library landing shell while keeping the runtime savings cards and compatibility details.Documentation lives in TanStack/redact, merged in TanStack/redact#46. The existing
/redactURL redirects through the standard library route. Includes Redact's new Scarf pixel in the TanStack organization.Validation: full
pnpm testpassed, including TypeScript, lint, 604 unit tests, 2,270 chat tests, and 20 desktop tests. Reviewed desktop and mobile layouts, library navigation, docs navigation, Markdown endpoints, and LLM indexes. Rebased onto current main without conflicts.Summary by CodeRabbit