-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fd432c4
to
1e0ad17
Compare
looks good so far! Way to go! I've left one nitpick, but I know this is still a draft |
There was a problem hiding this 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.
apps/site/components/Downloads/DownloadReleasesTable/DetailsButton.tsx
Outdated
Show resolved
Hide resolved
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 |
Lighthouse Results
|
This looks so freaking good. |
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. |
apps/site/components/Downloads/ReleaseOverview/index.module.css
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
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:
- Is it noted whether it includes corepack or not
- 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”.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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}/`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
href={`https://nodejs.org/download/release/v${release.version}/`} | |
href={`/download/release/v${release.version}/`} |
Description
Redesign the Previous Releases page
Related Issues
Fixes #7445
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.