-
Notifications
You must be signed in to change notification settings - Fork 5
Add NPM Downloads page displaying weekly download statistics in compact centered list format #62
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
Conversation
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
| </div> | ||
|
|
||
| <div className='stats-grid'> | ||
| <div className='stat-card'> |
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.
@copilot when clicked on the card, open a new tab to the npm package url
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.
Added click functionality to NPM package cards. When clicked, cards now open the corresponding npm package URL (https://www.npmjs.com/package/{package-name}) in a new tab. Also added keyboard navigation support - you can Tab to focus on cards and press Enter or Space to activate them. Added visual feedback with hover effects and focus indicators for better accessibility.
Commit: af0518e
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
|
@copilot Display the "NPM Weekly Downloads" page with a 2 column table, the left column is the name of the package, the right column is the weekly downloads badge. |
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
Converted the NPM Downloads page to display as a 2-column table format as requested. The table now shows package names in the left column and weekly download badges in the right column, with clear table headers. All existing functionality is preserved including click-to-open package URLs and keyboard navigation. Commit: 7281150 |
|
@copilot Display the "NPM Weekly Downloads" page with a tight list, display the package name adjacent to the badge to make it easier to read. |
… names and badges Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
Converted the NPM Downloads page to a tight list format where package names are displayed adjacent to their download badges for easier reading. The new layout removes the table structure in favor of a more compact list design that maintains all existing functionality including click-to-open and keyboard navigation. Commit: d1479e1 |
|
@copilot make the list small in width, as tight as possible, to make easier to read the name ad badge in the centre of the screen. |
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
Made the NPM Downloads list compact and centered as requested. The list now has a maximum width of 500px, is centered on the screen, and uses tighter spacing for improved readability. Package names and badges are now much easier to read together in the center of the screen. Commit: 5dd4053 |




This PR adds a new page to the Vibe Dashboard that displays weekly download counts for key npm packages using Shields.io badges in a clean compact centered list format.
Features Added
/npm-downloadsroutevite,rolldown-vite,rolldown,tsdown,oxlint,oxc-parser,oxc-transform,oxc-minify, andoxc-resolverhttps://img.shields.io/npm/dw/{package-name}?label=npmImplementation Details
The implementation follows the existing dashboard patterns:
NpmDownloadsPage.tsxwrapper component in the pages directoryNpmDownloads.tsxcomponent with compact centered layout for package dataApp.tsxLayout.tsxwith lucide-react Download iconhttps://www.npmjs.com/package/{package-name}in new tabsThe page displays package names in monospace font adjacent to download badges in a compact, centered list format optimized for readability. The list has a maximum width of 500px and is centered on the screen with tighter spacing for improved visual clarity. List items provide visual feedback on hover and focus with subtle highlighting effects.
Screenshots
Compact Centered Layout:

Fixes #61.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.