Skip to content

Conversation

@refoo0
Copy link
Collaborator

@refoo0 refoo0 commented Jan 7, 2026

No description provided.

Signed-off-by: rafi <refaei.shikho@hotmail.com>
Copilot AI review requested due to automatic review settings January 7, 2026 14:48
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 PR updates the BranchTagSelector and RiskScannerDialog components to properly distinguish between branch/tag names and their URL-safe slugs. The changes ensure that URLs are constructed using slugs while display names are used for API headers and user-facing elements.

Key changes:

  • Added branchOrTagSlug parameter alongside branchOrTagName throughout the upload flow
  • Updated router navigation to use slugs instead of names for URL construction
  • Improved error handling flow in upload functions (SARIF and VEX now navigate after success)

Reviewed changes

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

File Description
ManualIntegrationSlide.tsx Adds branchOrTagSlug state variable and ensures it's synchronized with branchOrTagName across all input handlers and callbacks
RiskScannerDialog.tsx Updates upload functions to accept branchOrTagSlug parameter and uses it for router navigation; refactors success flow for SARIF and VEX uploads
BranchTagSelector.tsx Adds optional versionObj parameter to pushAssetRef and improves safety with null checks before callback invocation

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

Signed-off-by: rafi <refaei.shikho@hotmail.com>
@seb-kw seb-kw merged commit 22831e0 into main Jan 8, 2026
10 checks passed
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.

3 participants