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

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: None
    • None
    • Environment:
      Win7 64, JDK 1.7.0.67
      Browsers tested: Chromium 41, Firefox 34
    • 6
    • 1

      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.

            Assignee:
            Unassigned
            Reporter:
            Tim Petermann
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: