-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
feat: introduced changelog modal on downloads #6393
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Lighthouse Results
|
Note that this version of the ChangelogModal does not include the avatars of all contributors that made a release happen. We still need to hook this into some internal utility for getting the names of all release authors. I remember @richardlau or @targos mentioning this, but I might be remembering this incorrectly 🤔 |
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.
On mobile there's a "X" in the top right to close the modal. I think it would be good to keep it for wider viewports too?
This comment was marked as resolved.
This comment was marked as resolved.
If you can investigate that'd be great! It is indeed a big bundle increase, mostly (I assume) because it is also bundling the Shiki WASM and Languages and Theme on the client-side 🤔 Can you check what's the bundle difference if we removed Shiki from the ChangelogModal? |
Co-authored-by: Michael Esteban <[email protected]> Signed-off-by: Claudio W <[email protected]>
Something feels weird with how the page seems to disappear entirely with no UI element to close the modal. |
@canerakdas I believe we need to reduce blur and add a close button. Also the changelog should only open after finishing fetching the data (IMO) |
I think it looks better/accessible now, you can check it in the Vercel preview 👀 cc @ovflowd |
Awesome! Would it also bee too much to ask you to check into what Richard mentioned (changelog-maker pulls the information out of the git commits.) for getting the full list of GitHub usernames for the "AvatarGroup" on the modal? |
I believe we can merge this as it is; But we need reviews cc @bmuenzenmeyer @nodejs/nodejs-website |
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.
small accessibility bug to fix
node-focus-bug.mov
Ah, I completely missed this, I solved it by wrapping it with a button. If we think we may encounter such situations more often, it seems like we can use Radix primitive slot |
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.
🤝
Description
This PR introduces the support of ChangelogModals within the Download's page of the redesigned Node.js Website
Note that this PR might increase the client bundle size 🤔 we should probably check how much of an increase it is.
Validation
The "changelog button" should open a changelog with the correctly rendered MDX data.