Skip to content

Conversation

@seb-kw
Copy link
Member

@seb-kw seb-kw commented Jan 23, 2026

No description provided.

…tribution trend, fixes several react and hydration errors, updates dependencies

Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
Copilot AI review requested due to automatic review settings January 23, 2026 13:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses multiple small issues across the codebase, including styling improvements, bug fixes for React hydration errors, ordering corrections in visualizations, and dependency updates.

Changes:

  • Fixed React hydration and controlled component issues in UI components (Input, Button, Dialog, etc.)
  • Corrected risk distribution trend ordering from ascending to descending severity
  • Added URL decoding support for package URLs and improved component styling
  • Updated numerous dependencies to their latest versions

Reviewed changes

Copilot reviewed 21 out of 22 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/utils/common.ts Added URL decoding to handle encoded characters in package URLs
src/pages/api/devguard-tunnel/[...path].ts Increased response limit to 12MB for large dependency graphs
src/components/ui/input.tsx Fixed controlled/uncontrolled component switching by ensuring value is never undefined
src/components/ui/input-with-button.tsx Added check to make input readonly when no onChange handler is provided
src/components/ui/dialog.tsx Properly destructured setOpen prop to avoid passing it in spread props
src/components/ui/button.tsx Properly destructured isSubmitting prop to avoid passing it in spread props
src/components/risk-handling/LicenseRiskRow.tsx Improved styling and added badge for unknown licenses
src/components/risk-assessment/RiskAssessmentFeedSkeleton.tsx Fixed React key prop and replaced invalid p element with div
src/components/guides/risk-scanner-carousel-slides/ManualIntegrationSlide.tsx Added upload state management with loading indicators
src/components/common/EcosystemImage.tsx Fixed tooltip trigger by wrapping Image in span with asChild prop
src/components/VulnerableComponents.tsx Made component items clickable links and added "See all" link
src/components/VulnEventItem.tsx Improved spacing and sizing of ecosystem images
src/components/RiskHistoryDistributionDiagram.tsx Fixed ordering to display risks from critical to low (descending)
src/components/DependencyGraphNode.tsx Added asChild prop to DropdownMenuTrigger
src/app/.../license-risks/page.tsx Updated section title for clarity
src/app/.../dependency-risks/page.tsx Updated section title for clarity
src/app/.../dependency-risks/[vulnId]/page.tsx Fixed invalid HTML structure and conditional rendering
src/app/.../dependencies/page.tsx Improved ecosystem image styling
src/app/.../code-risks/page.tsx Updated section title for clarity
src/app/.../assets/[assetSlug]/page.tsx Fixed redirect logic by moving to useEffect hook
package.json Updated multiple dependencies to latest versions
package-lock.json Lockfile updates corresponding to package.json changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants