feat(site): wire videojs_changelog index into search#1796
Draft
decepulis wants to merge 1 commit into
Draft
Conversation
Follow-up from #1793. Adds the `videojs_changelog` DocSearch index constant and queries it alongside docs and blog in Search.tsx, so changelog release pages surface in Cmd+K search. The changelog detail pages already ship the crawler markup (`data-search-content`, `data-site="changelog"`); this wires the site to query the new index once the crawler has populated it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LmDNu5bXvQXyY1UWZkLfg6
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📦 Bundle Size Report🎨 @videojs/html — no changesPresets (7)
Media (10)
Players (5)
Skins (30)
UI Components (39)
Sizes are marginal over the root entry point. ⚛️ @videojs/react — no changesPresets (7)
Media (9)
Skins (27)
UI Components (33)
Sizes are marginal over the root entry point. 🧩 @videojs/core — no changesEntries (14)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (10)
📦 @videojs/spf — no changesEntries (4)
ℹ️ How to interpretJS sizes are initial static graph totals (minified + brotli). Lazy dynamic chunks are shown separately when present.
Run |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow-up to the Algolia step in #1793.
What
Wires the new
videojs_changelogDocSearch index into the site so changelog release pages surface in Cmd+K search:src/search.config.ts— addsDOCSEARCH_CHANGELOG_INDEX = 'videojs_changelog'src/components/Search.tsx— queries it alongsidevideojs_docsandvideojs_blog(unfiltered, like blog)The changelog detail pages (
/changelog/{version}) already ship the crawler markup from #1793 (data-search-content,data-site="changelog",data-llms-sortfor date ranking); this is the site-side half.Kept as a draft deliberately. Per the #1793 follow-up notes, this should only merge after the
videojs_changelogindex exists and has been populated by the crawler. The index has been created (duplicated from the blog index); the crawler action still needs to run and land records. Querying an empty-but-existing index is harmless (0 results), but merging before the crawler action is added/run means the Changelog section stays empty in search.Crawler action (manual, dashboard — not in this diff)
The crawler action for
https://videojs.org/changelog/**→videojs_changelogis configured in the Algolia Crawler dashboard, modeled on the blog action with:[data-search-content](skips the paginated listing pages, which lack it)recordExtractorso/changelog,/changelog/2, … produce no duplicate recordsdata-siterecorded as a facet anddata-llms-sortmapped to a numericdatefordesc(date)rankingVerify
After the crawler populates records, Cmd+K a version number (e.g.
beta.24) → the release page should appear.🤖 Generated with Claude Code
https://claude.ai/code/session_01LmDNu5bXvQXyY1UWZkLfg6
Generated by Claude Code