Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13299 closed enhancement (fixed)

Highlight ticket references in the timeline view

Reported by: Ryan J Ollos Owned by: matobaa
Priority: normal Component: ContextChromePlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

The change will require monkey-patching the ITimelineEventProvider. render_timeline_event method in trac.ticket.web_ui.

Example of timeline event with ticket reference highlighted:

Attachments (0)

Change History (7)

comment:1 Changed 3 years ago by matobaa

Status: newaccepted

comment:2 Changed 3 years ago by matobaa

Resolution: fixed
Status: acceptedclosed

In 16906:

Fixes #13299

comment:3 Changed 3 years ago by Ryan J Ollos

Thanks for fixing!

#12935 is relevant to r16906.

comment:4 Changed 3 years ago by matobaa

Resolution: fixed
Status: closedreopened

Following error occurs on batchmodify event:

AttributeError: 'list' object has no attribute 'id'

comment:5 Changed 3 years ago by matobaa

Resolution: fixed
Status: reopenedclosed

comment:6 Changed 3 years ago by Ryan J Ollos

In [16906#file1], looks like a set can't be used in the author field. See discussion in trac:#12935. Set literal also is only supported for Python 2.7, so users on Python 2.5 or 2.6 would have trouble using the plugin. You could use a comma-separated string, but probably better to just have one author.

comment:7 in reply to:  6 Changed 3 years ago by matobaa

Replying to Ryan J Ollos:

You could use a comma-separated string, but probably better to just have one author.

fixed in r16928 :-(

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain matobaa.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.