Edgewall Software
Modify

Opened 19 years ago

Last modified 9 years ago

#1678 new enhancement

Show component view in timeline view for checkins

Reported by: anonymous Owned by:
Priority: lowest Milestone: next-major-releases
Component: timeline Version: devel
Severity: normal Keywords: filtering tracobject relations
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It would be kinda nice if Trac would show the name of the subproject in the timeline changesets.

so for example I could have a mapping:

  • /trunk/printer/ = Printer
  • /trunk/ABC_RP/ = Scripts
  • /trunk/other/FileParser/ = FileParser

and based on the file names involved in the checkin, determine the component name by checking if the prefixes in the above list match any of the file names involved in the checkin.

So then in the timeline view, it would display for instance [Printer, Scripts] if my checkin affects Printer and Scripts.

Attachments (0)

Change History (8)

comment:1 by Christian Boos, 19 years ago

Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

Support for this feature would require two extensions:

  • pluggable timeline filters in additions to timeline providers: as opposed to providers, who provide a checkbox to provide or not their own events, a timeline filter could have a richer UI (e.g. a dropdown or a multiselectable list) and would see all the other events possibly filtering out some of them.
    Examples would be:
    • component filter
    • author filter
  • be able to associate source objects (i.e. trac.versioncontrol.Node objects) and components. That could be done once we have Component objects (either "traditional" objects or specialized wiki objects), by creating relations between components and source objects.

comment:2 by Christian Boos, 19 years ago

In the above comment, the first point actually addresses #1135 (as here there no mention of filtering in this ticket).

comment:3 by Christian Boos, 18 years ago

Status: assignednew

(changing the status, as I've not actually started to work on that yet)

comment:4 by Christian Boos, 17 years ago

Keywords: filtering tracobject added
Milestone: 2.0

(comment:1 bullet point 2 would be an interesting case of "dynamic" relationship)

comment:5 by Christian Boos, 14 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:6 by Christian Boos, 14 years ago

Keywords: relations added
Milestone: triagingnext-major-0.1X
Priority: normallowest

Worth mentioning that the [timeline] changeset_show_files setting accepts a "location" value which can be used as a workaround…

The idea of a mapping (path → component) is nevertheless interesting, especially in the context of MultiProject (e.g. for a given path, associate a specific "preferred" component from a given project, even if the path is visible from several projects).

comment:7 by fbrettschneider@…, 11 years ago

One patch exists already in #1135.

Meanwhile, TH:SimpleMultiProjectPlugin implemented the filter for its custom ticket-field 'project' to show that information for each ticket in the timeline. See the timeline screenshot and its source code.

comment:8 by Ryan J Ollos, 9 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.