add Dependencies, Dependents, Compare, and Versions pages#1331
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
benjamin-747
approved these changes
Aug 12, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements four new pages for the crate information section: Dependencies, Dependents, Compare, and Versions. The changes involve creating a shared layout component and updating navigation paths to support dynamic routing with crate names.
- Adds new pages for dependencies, dependents, compare, and versions functionality
- Implements a shared layout component for consistent UI across crate pages
- Updates routing patterns and removes loading states for better user experience
Reviewed Changes
Copilot reviewed 8 out of 13 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| search/index.tsx | Updates navigation path and removes loading state from search results |
| ecosystem-cve/cve-info/[cve-id]/index.tsx | Replaces img tag with Next.js Image component |
| versions/index.tsx | New page displaying version history with sorting and pagination |
| layout.tsx | New shared layout component for crate pages with navigation tabs |
| [crateName]/index.tsx | Refactors to use shared layout and updates routing paths |
| dependents/index.tsx | New page showing packages that depend on the current crate |
| dependencies/index.tsx | New page displaying crate dependencies with search and filtering |
| compare/index.tsx | New page for comparing different versions of a crate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.