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 🤔 |
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 <mickel13@gmail.com> Signed-off-by: Claudio W <cwunder@gnome.org>
|
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 |
bmuenzenmeyer
left a comment
There was a problem hiding this comment.
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 |








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.