Skip to content

implemented proper url formatting in settingsinput fields#695

Open
Dboy0ZDev wants to merge 2 commits intomainfrom
fix-url-formatting-settings
Open

implemented proper url formatting in settingsinput fields#695
Dboy0ZDev wants to merge 2 commits intomainfrom
fix-url-formatting-settings

Conversation

@Dboy0ZDev
Copy link
Copy Markdown
Collaborator

Copilot AI review requested due to automatic review settings April 8, 2026 13:24
Copy link
Copy Markdown
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 aims to improve URL display/formatting in InputWithButton fields (notably for long public URLs), addressing overflow by enabling consumer-provided input styling (e.g., truncation).

Changes:

  • Add spacing between the input and action buttons (gap-1) in InputWithButton.
  • Forward className from InputWithButton props into the underlying <input>.
  • Apply className="truncate" to public URL inputs in the asset vuln management section.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/components/ui/input-with-button.tsx Adjusts layout spacing and attempts to merge consumer className into the input styling.
src/components/asset/asset-form/AssetFormVulnsManagement.tsx Uses the newly-forwarded className to truncate long public URL values.

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

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.

Inproper URL formatting

2 participants