Skip to content

Wrapped URL improperly hyperlinked #4348

Description

@jaraco

Describe the bug

I've encountered a UI bug - when I generate a URL that extends beyond the first line, only the first line is hyperlinked, so clicking on the hyperlink breaks the intention:

Image

Better would be to either:

  • not render the full URL but instead provide a hyperlink in a short text describing the entity
  • allow hyperlinks to render across lines

Affected version

1.0.76

Steps to reproduce the behavior

Generate a URL for me. It doesn't matter what it is or where it points, but it should be at least 140 characters long.

Here's a URL that's at least 140 characters long:

https://www.example.com/search?query=artificial-intelligence-machine-learning-deep-neural-networks&category=technology&subcategory=research&page=1&results=50&sort=relevance&lang=en-US

That one is 184 characters.

GitHub Copilot CLI 1.0.76

Update available: 1.0.78-2
Run /update to update, or download from: https://github.com/github/copilot-cli/releases/tag/v1.0.78-2

Expected behavior

Hyperlink the whole URL.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions