Skip to content

feat: redesign the previous releases page #7630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

araujogui
Copy link
Member

@araujogui araujogui commented Apr 8, 2025

Description

Redesign the Previous Releases page

Related Issues

Fixes #7445

Check List

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

Copy link

vercel bot commented Apr 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Apr 25, 2025 10:49pm

@avivkeller
Copy link
Member

looks good so far! Way to go! I've left one nitpick, but I know this is still a draft

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

Great thing but there are a couple of things that need fine-tuning
V0 - v17 "Release Announcement" is throwing 404 because there are any post about that.

@avivkeller
Copy link
Member

avivkeller commented Apr 17, 2025

IMO the code name feels too small, like it's part of the modal content, I feel it like it should be prominent (if present).

Maybe something like "Node.js 22 'Jod'" as a header?

(I know I initially said to prefix the version w/ "v", but looking at the release lines, they aren't prefixed like that anywhere else)


Also, TYSM for tackling this ♥️

@bjohansebas
Copy link
Member

Wow, overall I like it.

Btw, now there's a horizontal scroll on that page.
imagen

@araujogui
Copy link
Member Author

Wow, overall I like it.

Btw, now there's a horizontal scroll on that page. imagen

Yeah, I will create a smaller badge size. I'm also wondering if the N-API version is relevant for the users majority

Copy link
Contributor

github-actions bot commented Apr 17, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 99 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 99 🟢 100 🟢 100 🟠 83 🔗
/en/download 🟢 99 🟢 100 🟢 96 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

Copy link
Contributor

Unit Test Coverage Report

Title Lines Statements Branches Functions
@node-core/ui-components Coverage: 95%
95.83% (161/168) 77.86% (102/131) 88.57% (31/35)
@nodejs/website Coverage: 86%
84.15% (494/587) 74.32% (165/222) 86.77% (105/121)
Title Tests Skipped Failures Errors Time
@node-core/ui-components 24 0 💤 0 ❌ 0 🔥 4.961s ⏱️
@nodejs/website 156 0 💤 0 ❌ 0 🔥 6.536s ⏱️

@ovflowd
Copy link
Member

ovflowd commented Apr 24, 2025

@nodejs/nodejs-website Just created a release overview component, feedback is highly welcome:

image image

Add it to Storybook :D

@ovflowd
Copy link
Member

ovflowd commented Apr 24, 2025

This looks so freaking good.

@araujogui
Copy link
Member Author

@nodejs/nodejs-website Just created a release overview component, feedback is highly welcome:
image image

Add it to Storybook :D

It's a site component, I guess storybook is only present on the ui-components package.

@avivkeller
Copy link
Member

IIRC, we agreed during the migration that the base component should be in Storybook (The Modal, which it is), and the site-specific component (the Release modal) will be validated via checking the outputted site.

Copy link
Member

@canerakdas canerakdas left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

Choose a reason for hiding this comment

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

I love this little component but two points question me:

  1. Is it noted whether it includes corepack or not
  2. Shouldn't we have a "popover" that explains what the information means except for the date. For example “V8 is the JS engine behind node.js”.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, i didn't understand the first point

Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need to indicate Corepack bundling. Users can check a given version's documentation to check whether Corepack was supported

)}
{release.npm && (
<Item
Icon={CodeBracketSquareIcon}
Copy link
Member

Choose a reason for hiding this comment

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

can we use black and white npm icon ? I think

REF:
https://docs.npmjs.com/policies/logos-and-usage#the-npm-logos

Copy link
Member Author

Choose a reason for hiding this comment

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

We have to request this icon?

Copy link
Member

Choose a reason for hiding this comment

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

Can we use the icon for npm we already have?

<div className={styles.links}>
<Link
kind="neutral"
href={`https://nodejs.org/download/release/v${release.version}/`}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
href={`https://nodejs.org/download/release/v${release.version}/`}
href={`/download/release/v${release.version}/`}

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.

Redesign the Previous Releases page
7 participants