Skip to content

docs: use the dynamic README header endpoint - #1249

Open
AlemTuzlak wants to merge 2 commits into
mainfrom
readme-header-endpoint
Open

docs: use the dynamic README header endpoint#1249
AlemTuzlak wants to merge 2 commits into
mainfrom
readme-header-endpoint

Conversation

@AlemTuzlak

@AlemTuzlak AlemTuzlak commented Aug 3, 2026

Copy link
Copy Markdown

Adopts the dynamic README header endpoint added in TanStack/tanstack.com#1076,
which is merged and live.

Every README banner in this repo now points a <picture> at
https://tanstack.com/api/readme/ instead of a committed PNG. The endpoint
renders 1800x450 in light and dark, so a branding change lands in every README
at once and dark-mode readers get a dark banner.

What changed

  • 1 README(s) updated.

  • Light and dark served through <picture>, per GitHub's guidance. The trailing <img> stays the light variant, as the fallback for renderers that ignore <picture> (npm, most editors).

  • Deletes the now-unused media/header_virtual.png.

Verification

Every generated URL in this diff was requested against the live endpoint and
returned 200 image/png at 1800x450. git grep confirms no README still
references the old media/header_*.png path.

Heads up: deleting the committed PNG means npm pages for already-published
versions that embed the raw.githubusercontent.com/.../main/media/header_*.png
link will show a broken image, since that link is branch-pinned. New releases
pick up the endpoint URL.

Summary by CodeRabbit

  • Enhancements
    • Updated README header images to adapt to dark and light themes.
    • Improved banner responsiveness and display across screen sizes.
    • Added accessible image labels to package documentation banners.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 16cb218d-2419-4c25-946e-6bec00ceead9

📥 Commits

Reviewing files that changed from the base of the PR and between d5f2e17 and ff834ca.

📒 Files selected for processing (3)
  • packages/angular-virtual/README.md
  • packages/lit-virtual/README.md
  • packages/marko-virtual/README.md

📝 Walkthrough

Walkthrough

The repository and package READMEs now use responsive <picture> elements with dark- and light-theme image sources. The banners include accessible fallback images and responsive or fixed sizing.

Changes

README banners

Layer / File(s) Summary
Responsive theme-aware banners
README.md, packages/angular-virtual/README.md, packages/lit-virtual/README.md, packages/marko-virtual/README.md
The READMEs now use theme-specific banner images with accessible fallback metadata. Package banners are centered and include responsive or fixed sizing.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: replacing the static README header with a dynamic endpoint.
Description check ✅ Passed The description clearly explains the endpoint migration, theme support, deletion, verification, and release impact, but omits the template headings and checklist.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch readme-header-endpoint

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.

@nx-cloud

nx-cloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit d5f2e17

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 2m 59s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 21s View ↗

☁️ Nx Cloud last updated this comment at 2026-08-03 09:52:42 UTC

@pkg-pr-new

pkg-pr-new Bot commented Aug 3, 2026

Copy link
Copy Markdown
More templates

@tanstack/angular-virtual

npm i https://pkg.pr.new/@tanstack/angular-virtual@1249

@tanstack/lit-virtual

npm i https://pkg.pr.new/@tanstack/lit-virtual@1249

@tanstack/marko-virtual

npm i https://pkg.pr.new/@tanstack/marko-virtual@1249

@tanstack/react-virtual

npm i https://pkg.pr.new/@tanstack/react-virtual@1249

@tanstack/solid-virtual

npm i https://pkg.pr.new/@tanstack/solid-virtual@1249

@tanstack/svelte-virtual

npm i https://pkg.pr.new/@tanstack/svelte-virtual@1249

@tanstack/virtual-core

npm i https://pkg.pr.new/@tanstack/virtual-core@1249

@tanstack/vue-virtual

npm i https://pkg.pr.new/@tanstack/vue-virtual@1249

commit: ff834ca

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

1 package(s) bumped directly, 8 bumped as dependents.

🟩 Patch bumps

Package Version Reason
@tanstack/virtual-core 3.17.7 → 3.17.8 Changeset
@tanstack/angular-virtual 6.0.2 → 6.0.3 Dependent
@tanstack/lit-virtual 3.13.36 → 3.13.37 Dependent
@tanstack/marko-virtual 3.15.0 → 3.15.1 Dependent
@tanstack/react-virtual 3.14.9 → 3.14.10 Dependent
@tanstack/solid-virtual 3.13.36 → 3.13.37 Dependent
@tanstack/svelte-virtual 3.13.35 → 3.13.36 Dependent
@tanstack/virtual-benchmarks 0.0.12 → 0.0.13 Dependent
@tanstack/vue-virtual 3.13.35 → 3.13.36 Dependent

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