Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-6883

"View commit comment" link in notification emails should scroll to line

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • Win7 64, JDK 1.7.0.67
      Browsers tested: Chromium 41, Firefox 34
    • 0
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Commenting on a commit sends an email to watchers. The email contains a "view comment" link. Clicking the link opens the file but doesn't scroll the view to the comment.

      Link in email: http://<stashurl>/stash/projects/<project>/repos/<repo>/commits/<commitsha>?commentId=149

      Gets redirected to:
      http://<stashurl>/stash/projects/<project>/repos/<repo>/commits/<commitsha>#<relative path to file>

      The link the user is redirected to doesn't know anything about the comment, so it won't highlight it or scroll to it.

      This is only a problem for commit comments. PR comments link and scroll to the correct activity in the activity view.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              55fe48256fe9 Tim Petermann
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: