Add Shipper's Logs video feed and changelog links#991
Conversation
Publishes shipper-videos.json (generated from videos.mdx) so the new envio.dev/changelog can embed the matching Shipper's Log video per release. Also adds a Changelog nav link and a link from the Shipper's Logs page. Shipper's Logs content is otherwise unchanged.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 16 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a "Changelog" link to the navbar, homepage, and videos page pointing to envio.dev/changelog. Introduces a new script, generate-shipper-videos.js, that parses videos.mdx and generates static/shipper-videos.json, wired into prestart and prebuild npm scripts, along with the generated JSON output. ChangesChangelog Links and Shipper Videos Generation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. Comment |
DZakh
left a comment
There was a problem hiding this comment.
Could you exclude this page from MCP indexing?
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/generate-shipper-videos.js`:
- Around line 42-54: The main issue is that main() in generate-shipper-videos.js
warns on a read failure but still writes an empty shipper-videos.json, which can
wipe existing mappings. Update the error path around parse(fs.readFileSync(...))
so a failure stops execution instead of continuing to fs.writeFileSync; let the
exception fail the build or rethrow after logging. Keep the normal write path
unchanged, and use the existing main(), VIDEOS_FILE, and OUTPUT_FILE symbols to
locate the flow.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 0b9fcebd-48cc-4114-a3f4-ec36415cc8a5
📒 Files selected for processing (6)
docusaurus.config.jspackage.jsonscripts/generate-shipper-videos.jssrc/pages/index.jssrc/pages/videos.mdxstatic/shipper-videos.json
Avoids silently publishing an empty shipper-videos.json, which would drop the release videos on the changelog (CodeRabbit).
|
@DZakh already excluded on our end. The Shipper's Logs page (/videos) is in the mcp plugin's excludeRoutes (added in #966) and I confirmed it's not in the index. This PR doesn't add any new docs pages, and the changelog page itself lives on envio.dev not docs, so the docs mcp never indexes it. Lmk if you meant a different page. |
Supports the new
envio.dev/changelogpage.generate-shipper-videos.jspublishesshipper-videos.json(parsed fromvideos.mdx) so the changelog can embed the matching Shipper's Log video per release. Wired intoprestart/prebuild.envio.dev/changelog) and a link to it from the Shipper's Logs page.The Shipper's Logs page content is otherwise unchanged.
Summary by CodeRabbit