Opened 14 years ago
Last modified 14 years ago
#7670 closed defect
Allow Trac-style ticket links with latest comment anchors — at Version 1
Reported by: | Eygene Ryabinkin | Owned by: | Robert Corsaro |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
Standard Trac notifications have the anchor for the latest comment for the ticket and it is very handy: one just jumps from the mail message directly to the ticket modification in question.
I had created the patch,
http://codelabs.ru/patches/trac/TracAnnouncer-r8411-use-old-style-links.diff
that allows AnnouncerPlugin to generate such links; the functionality is switched on with the new knob announcer.ticket_link_with_comment, default value is False, so vanilla functionality shouldn't be affected by this commit and administrator will need to explicitely activate this feature.
It was tested on our Trac 0.12 and showed no regressions up to date.
Thank you for providing a patch for this. It is a feature that I've been meaning to open a ticket for.
I'm not even sure we need a trac.ini option for this. It seems like it would almost always be preferrable to have a link to the comment contained in the email, rather than just a link to the ticket.