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
Highlight with badges new and recently updated documentation pages #1176
I want to add a small request that i believe it will be for the benefit of everyone.
I saw in tanstack ai documentation form tanstack website, that the titles of guide sections have a badge "new" attached to them in sidebar nav which is awesome! It helps me understand whats going on more easly and keep myself updated with the doc.
The problem is that this pattern isnt followed for other libraires.
For instance ts query prefetch topic was updated, but bcs it doesnt have the badge "new/update" I didnt even know about it. Luckly i found because I checked github.
So it would be awesome if you add this when you do documentation changes! Thank you very much.
TanStack.com already supports this for every library through optional addedAt and updatedAt values in the upstream docs/config.json, and shows the badge for seven days.
TanStack Query currently has 554 docs entries and no date metadata.
TanStack AI has addedAt metadata for all 278 entries and updatedAt metadata for 117 entries.
Open tanstack.com PRs that touch the docs layout do not change this contract or fill the upstream metadata gap.
Expected impact: broader coverage would make meaningful docs changes easier to discover, but maintaining dates across hundreds of entries and many repositories needs an explicit ownership policy.
Proposed direction: keep the site renderer generic and adopt the existing date fields in each library repo. The main tradeoff is manual dates in docs PRs versus automation that updates or validates the config. Manual dates are simple but easy to miss; automation is more consistent but needs a clear definition of what counts as a meaningful update.
@tannerlinsley, exact decision needed: should all TanStack library repos adopt this metadata, and if so, should maintainers enter dates manually or should tooling generate and validate them?
Hi! I'd love to contribute to this improvement. I read the proposed direction regarding addedAt and updatedAt metadata. Would you be open to a contribution implementing a small initial version once the metadata approach is agreed upon?
Thanks for offering to help! The site already renders these badges from addedAt and updatedAt in each library’s docs/config.json, so there isn’t a new badge component to build here. The open question is who maintains those dates and whether updates should be manual or automated.
Once Tanner settles that, a small contribution in one library’s docs config would be a useful starting point. Please hold off on implementation until that scope is agreed so you don’t spend time on something that needs to change.
Thanks for the clarification! Really appreciate your response. I'd love to contribute to this repository. Are there any other issues or improvements where you could use some help? I'd be happy to work on them and learn along the way!
A useful starting point would be checking one of the accessibility reports in #775 against the current site. That report is older, so please start by identifying one control that still has a missing accessible name or label, with the page URL and steps to find it. The logo menu has had recent accessibility work in #1395, so avoid duplicating that.
Post what you find on #775 before making a change. A small fix for one confirmed issue would be easier to review than a broad accessibility rewrite.
Activity
tannerlinsley commentedon Aug 24, 2026
Source audit evidence:
addedAtandupdatedAtvalues in the upstreamdocs/config.json, and shows the badge for seven days.addedAtmetadata for all 278 entries andupdatedAtmetadata for 117 entries.Expected impact: broader coverage would make meaningful docs changes easier to discover, but maintaining dates across hundreds of entries and many repositories needs an explicit ownership policy.
Proposed direction: keep the site renderer generic and adopt the existing date fields in each library repo. The main tradeoff is manual dates in docs PRs versus automation that updates or validates the config. Manual dates are simple but easy to miss; automation is more consistent but needs a clear definition of what counts as a meaningful update.
@tannerlinsley, exact decision needed: should all TanStack library repos adopt this metadata, and if so, should maintainers enter dates manually or should tooling generate and validate them?
Yash-Tamboli commentedon Dec 3, 2026
Hi! I'd love to contribute to this improvement. I read the proposed direction regarding addedAt and updatedAt metadata. Would you be open to a contribution implementing a small initial version once the metadata approach is agreed upon?
tannerlinsley commentedon Dec 3, 2026
Thanks for offering to help! The site already renders these badges from
addedAtandupdatedAtin each library’sdocs/config.json, so there isn’t a new badge component to build here. The open question is who maintains those dates and whether updates should be manual or automated.Once Tanner settles that, a small contribution in one library’s docs config would be a useful starting point. Please hold off on implementation until that scope is agreed so you don’t spend time on something that needs to change.
Yash-Tamboli commentedon Dec 3, 2026
Thanks for the clarification! Really appreciate your response. I'd love to contribute to this repository. Are there any other issues or improvements where you could use some help? I'd be happy to work on them and learn along the way!
tannerlinsley commentedon Dec 3, 2026
A useful starting point would be checking one of the accessibility reports in #775 against the current site. That report is older, so please start by identifying one control that still has a missing accessible name or label, with the page URL and steps to find it. The logo menu has had recent accessibility work in #1395, so avoid duplicating that.
Post what you find on #775 before making a change. A small fix for one confirmed issue would be easier to review than a broad accessibility rewrite.