Skip to content

Conversation

@araujogui
Copy link
Member

Description

Create new release schedule component

Validation

image

Related Issues

Fixes #8101

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI review requested due to automatic review settings January 9, 2026 00:55
@araujogui araujogui requested review from a team as code owners January 9, 2026 00:55
@vercel
Copy link

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nodejs-org Ready Ready Preview Jan 16, 2026 3:19pm

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website @nodejs/web-infra

Please review the changes when you have a chance. Thank you! 🙏

@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.98%. Comparing base (8c5a7dd) to head (e732e4d).
⚠️ Report is 22 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8529      +/-   ##
==========================================
+ Coverage   74.70%   74.98%   +0.27%     
==========================================
  Files         102      103       +1     
  Lines        8956     9042      +86     
  Branches      305      312       +7     
==========================================
+ Hits         6691     6780      +89     
+ Misses       2263     2260       -3     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces the static SVG image of the Node.js release schedule with a dynamically generated component that fetches schedule data from GitHub and renders it using the lts library.

Key Changes:

  • Adds a new ReleaseSchedule React component that dynamically generates the schedule visualization
  • Introduces a data provider to fetch release schedule JSON from the Node.js Release repository
  • Replaces the static image reference in the MDX file with the new component

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pnpm-lock.yaml Adds lts package from GitHub repository along with its dependencies (d3, jsdom, svg2png, etc.)
apps/site/package.json Declares the lts dependency from GitHub repository
apps/site/next.constants.mjs Adds RELEASE_SCHEDULE_URL constant pointing to schedule.json
apps/site/next-data/generators/releaseSchedule.mjs Creates fetch function for release schedule data
apps/site/next-data/providers/releaseSchedule.ts Provides cached access to release schedule data
apps/site/components/Releases/ReleaseSchedule/index.tsx Implements the ReleaseSchedule component with SVG generation
apps/site/mdx/components.mjs Registers ReleaseSchedule component for MDX usage
apps/site/pages/en/about/previous-releases.mdx Replaces static image with ReleaseSchedule component
apps/site/next-env.d.ts Updates TypeScript reference path (appears unintentional)
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@avivkeller
Copy link
Member

📦 Build Size Comparison

Summary

Metric Value
Old Total Size 3.74 MB
New Total Size 3.74 MB
Delta 2.00 B (0.00%)

Changes

➕ Added Assets (2)
Name Size
.next/static/chunks/ae5ac7216ec5dc2c.js 13.14 KB
.next/static/chunks/baf851974b01018e.js 205.09 KB
➖ Removed Assets (2)
Name Size
.next/static/chunks/8e52d09c82cd16e3.js 13.14 KB
.next/static/chunks/aa3451220184e985.js 205.09 KB

@avivkeller
Copy link
Member

(I'll fix the comparator to comment on fork PRs)

@ovflowd
Copy link
Member

ovflowd commented Jan 25, 2026

@araujogui do we have a path forward?

@araujogui
Copy link
Member Author

@araujogui do we have a path forward?

I'm waiting for the upstream to get merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add red line for current date to EOL graph

7 participants