Skip to content

fix(maintainers): color highlighted library filter icons - #1548

Merged
manudeli merged 1 commit into
mainfrom
fix/maintainers-library-icon-hover
Nov 22, 2026
Merged

manudeli merged 1 commit into
mainfrom
fix/maintainers-library-icon-hover

Conversation

@manudeli

@manudeli manudeli commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Use the navbar Libraries menu’s category colors for icons in the Maintainers library filter.
  • Apply the color when an option is highlighted by pointer or keyboard. The icon uses the muted text color while the option is idle.

Verification

  • oxfmt --check and oxlint passed for the changed component.
  • Verified that Tailwind generates the selector for the idle state and all five category colors from the site stylesheet.
  • Local browser verification was blocked by permissions to start the dev server and Chromium.

Summary by CodeRabbit

  • Style
    • Library filter options now display category-based icon colors, with muted styling for options that aren’t highlighted.

@changeset-bot

changeset-bot Bot commented Nov 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: afc21c9

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 Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Library filter choices now include icon colors derived from their categories. The filter option renderer applies the color and conditional muted styling to each icon.

Changes: Library filter icon colors

Layer / File(s) Summary
Add category-derived icon colors
src/components/MaintainersDirectoryFilters.tsx
FilterSelect choices accept an optional iconColor. Library choices set it from their category, and option icons use conditional color and muted styling.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

  • TanStack/tanstack.com#1534: Both PRs change library option icons in the maintainer filter component. This PR changes their colors when an option is highlighted.

Suggested reviewers: sukvvon

Merge Risk: Minimal · up to afc21

This is a small visual change to the colors of the library filter icons in the Maintainers directory. It carries little risk and can be merged.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: library filter icons in the Maintainers filter are colored when highlighted. The raw summary says FilterSelect gained an optional iconColor and highlighted option icon…
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.
Full details: Title check

Explanation

The title names the main change: library filter icons in the Maintainers filter are colored when highlighted. The raw summary says FilterSelect gained an optional iconColor and highlighted option icons combine that category color with muted styling when idle. The title follows the conventional commit format and is specific, so it passes.

Finishing Touches

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

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: 94a08c4c-9688-47dd-907f-3ae324d5035a
Commits

Reviewing files that changed from the base of the PR and between e99ceed and afc21c9.

Files selected for processing: 1

  • src/components/MaintainersDirectoryFilters.tsx

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

@github-actions

Copy link
Copy Markdown
Asset Main PR merge build Change
JavaScript 19592.05 KiB 19592.18 KiB 🔴 +0.13 KiB (+0.00%)
JavaScript (gzip) 6447.84 KiB 6448.09 KiB 🔴 +0.25 KiB (+0.00%)
CSS 795.07 KiB 795.21 KiB 🔴 +0.14 KiB (+0.02%)
CSS (gzip) 121.71 KiB 121.76 KiB 🔴 +0.05 KiB (+0.04%)
Page Main (gzip) PR merge build (gzip) Change
/ 594.23 KiB 594.36 KiB 🔴 +0.13 KiB (+0.02%)
/libraries 536.94 KiB 537.04 KiB 🔴 +0.11 KiB (+0.02%)
/start/latest 561.72 KiB 561.84 KiB 🔴 +0.12 KiB (+0.02%)
/router/latest 562.01 KiB 562.13 KiB 🔴 +0.12 KiB (+0.02%)
/query/latest 560.46 KiB 560.58 KiB 🔴 +0.12 KiB (+0.02%)
/table/latest 593.28 KiB 593.39 KiB 🔴 +0.12 KiB (+0.02%)
/charts/latest 642.58 KiB 642.70 KiB 🔴 +0.11 KiB (+0.02%)
/ai/latest 587.37 KiB 587.51 KiB 🔴 +0.13 KiB (+0.02%)
Docs article 548.00 KiB 548.10 KiB 🔴 +0.10 KiB (+0.02%)
Framework docs article 548.00 KiB 548.10 KiB 🔴 +0.10 KiB (+0.02%)
/blog 541.14 KiB 541.25 KiB 🔴 +0.11 KiB (+0.02%)
/maintainers 540.23 KiB 540.34 KiB 🔴 +0.11 KiB (+0.02%)
/showcase 538.19 KiB 538.30 KiB 🔴 +0.11 KiB (+0.02%)
/chat 536.68 KiB 536.79 KiB 🔴 +0.11 KiB (+0.02%)
/chat/c/:conversationId 537.39 KiB 537.50 KiB 🔴 +0.11 KiB (+0.02%)

Page sizes sum the JS and CSS in the TanStack Start manifest for each route and its layouts. Shared files count once per page.

Compared with main at e99ceed. Gzip sizes are summed per file. Build run

@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 afc21c9 Commit Preview URL

Branch Preview URL
Nov 22 2026, 04:40 PM

@manudeli
manudeli merged commit 0e09cfa into main Nov 22, 2026
11 checks passed
@manudeli
manudeli deleted the fix/maintainers-library-icon-hover branch November 22, 2026 16:47
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