Opened 16 years ago
Last modified 16 years ago
#7929 new enhancement
make links clickable in annotate view
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | version control/browser | Version: | none |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In the 'annotate' view, the first column contains for each source row a hyperlink to an associated changeset. The problem is that if javascript is enabled, the 'href' attribute gets removed, destroying the link. I would like to be able to open the linked page in a new browser tab. But that's currently not possible, because…
All mouse clicks are captured and used to trigger ajax-ish retrieval of the linked page and display it in an overlay, which finally contains a clickable link. Also, each associated row gets highlighted blue as a side effect, which is cpu-intensive. This makes it somewhat annoying.
A solution was proposed to me by 'coderanger_' on IRC.
instead of removing the href, we should capture and reject clicks on the <a> (the click handler is on the table cell itself, not the <a>)
Hopefully the handler would only catch LMB clicks, leaving MMB ('open in new tab') or at least RMB ('context menu') functionality intact.
Will have a second look.