Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13762

Copying branch name corrupts clipboard data

    XMLWordPrintable

Details

    Description

      When copying the branch name from a failed pipeline result page, the text Branch is prefixed to the clipboard data. This prevents me from copy/pasting the branch name into a git command. I find myself hitting this bug at least once a day.

      This only happens using the "Copy" operation from the context menu. The root cause of the issue is the HTML markup being used for the branch name. The hyperlink includes a <span>Branch</span> for the icon, with CSS text-indent: -999em to hide the text.

      I propose moving the icon outside the hyperlink, so that only the text is hyperlinked.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bayers Bradley Ayers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: