Skip to content

Render "View on Bitbucket Cloud" links in the UI

Administrator requested to merge flying-robot/render-bb-cloud-links into main

Created by: flying-robot

For some reason, this wasn't included in the case statement for possible external URLs, so the frontend was always receiving an empty array and wouldn't render any "View on Bitbucket Cloud" links.

With this change, I'm able to browse to a Bitbucket Cloud repository locally and get a complete "View on Bitbucket Cloud" option in the UI, which takes me to the correct location for the repo, individual files and at specific commits.

Screen Shot 2021-09-29 at 4 50 40 PM

ref https://github.com/sourcegraph/sourcegraph/issues/20819

Merge request reports

Loading