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

Add direct link to browse-source-at-revision from changeset page (BB-8991)

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Bitbucket has feature to see sources at the specified commit: in commit view button "View file", and then navigate anywhere on a source via links at the top. It is VERY NICE feature, but bitbucket has no interface to access it. Button "View file" mean view only that file, and nothing more. Of course, one can navigate there and there via links at the top, but it is looks like a hack.

      My suggestion: make in commit view button: "View source on this commit". This button should redirect to

      #!html
      
      "https://bitbucket.org/<ownername>/<reponame>/src/<commitid>/?at=<branchid_of_commit>".
      

      for example:

      #!html
      
      <a href="https://bitbucket.org/Ockonal/the2d/src/403da527444ac0a1e1e7c978b305978cb1045688/?at=master" >View source on this commit</a>
      
      • example of a "commit view":
      #!html
      
      https://bitbucket.org/Ockonal/the2d/commits/596e498340620d95d159e140977e98bb0a1247f4/?
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            d4ea74aa8157 PFight
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: