#10885 closed enhancement (fixed)
Show ticket component in Timeline
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 1.1.1 |
Component: | timeline | Version: | |
Severity: | normal | Keywords: | timeline ticket component |
Cc: | Branch: | ||
Release Notes: |
Optionally display the component of tickets in their timeline entries ( |
||
API Changes: | |||
Internal Changes: |
Description
When a Trac instance covers many components:
- some users might be more interested in the component they work with
- ticket summary might not mention the component and must be places in context in order to be descriptive
There is a Hack for filtering the Timeline based on component, but unless filtering on just a single component it does not fully address the requirements for some users. http://trac-hacks.org/wiki/TimelineComponentFilterPlugin
Suggesting that the component is displayed in the Timeline if configuration ticket_show_component = true
.
Example formatting:
Ticket #123 (Component - Summary) updated by username
Attachments (2)
Change History (9)
comment:1 by , 12 years ago
by , 12 years ago
Attachment: | Screen Shot 2012-10-05 at 18.03.40.png added |
---|
Screenshot of tickets with components and one without.
comment:2 by , 12 years ago
Attached a screenshot showing an example. The top ticket was a test after removing all components to ensure that the code handled that gracefully.
comment:3 by , 12 years ago
I cleaned up the patch and submitted while I was at it.
Feedback welcome, it was my first attempt at the Trac codebase. I made the assumption that it might make it into Trac 1.1.
comment:4 by , 12 years ago
Milestone: | → 1.1.1 |
---|---|
Owner: | set to |
Looks good to me.
The variable naming should keep the style we have elsewhere (componentprefix
→ component_prefix
), but we can take care of this.
comment:5 by , 12 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Applied with a few minor modification in r11411. Thanks!
comment:6 by , 12 years ago
Owner: | changed from | to
---|
I have a semi-completed patch for this which modifies the ITimelineEventProvider parts of ticket/web_ui.py. It extends
data
to also contain the component and then allows the rendering to use it if configured to.Suggestions or objections before I submit the patch?
Thanks!