Skip to content

Make Redact a first-class TanStack library - #1414

Merged
tannerlinsley merged 1 commit into
mainfrom
taren/redact-library
Oct 23, 2026
Merged

tannerlinsley merged 1 commit into
mainfrom
taren/redact-library

Conversation

@tannerlinsley

@tannerlinsley tannerlinsley commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

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.

@changeset-bot

changeset-bot Bot commented Oct 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 69312a3

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.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

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.

Changes: Redact library landing

Layer / File(s) Summary
Library catalog registration
src/libraries/ids.ts, src/libraries/libraries.ts, src/libraries/categories.ts, src/libraries/icons.ts, src/libraries/index.tsx
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.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Suggested reviewers: kevinvandy

Merge Risk: ⚪ Minimal · up to 69312

No concrete issue identified here requires a change before merge; confirm the legacy /redact redirect in normal route checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning 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 Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the primary change: promoting Redact to a first-class TanStack library.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 69312a3 Commit Preview URL

Branch Preview URL
Oct 23 2026, 10:05 PM

@tannerlinsley
tannerlinsley merged commit 9d3918e into main Oct 23, 2026
8 checks passed
@tannerlinsley
tannerlinsley deleted the taren/redact-library branch October 23, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant