Modify

Opened 8 years ago

Last modified 3 years ago

#3879 assigned enhancement

add config/class options to colorize depgraph for custom workflow

Reported by: Jay Owned by: Ryan J Ollos
Priority: low Component: MasterTicketsPlugin
Severity: trivial Keywords: Color, Workflow
Cc: Russ Brown, Luke Cyca Trac Release: 0.11

Description

not sure what would be needed to do this, or even if it would actually be in the depgraph plugin, to either allow .ini defines of state-to-color mappings for the graph, or to reuse any custom classes defined for the roadmap view.

If this is in the wrong plugin bucket, I apologize.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by Russ Brown

Automatically picking up the roadmap colours would be fantastic: we spent quite a while tuning our milestone colours and it really helps. Currently the depgraph isn't anywhere near as useful as it could be as we don't get to see tickets that are in progress: reusing the milestone colour would I think be a very elegant solution.

comment:2 Changed 7 years ago by Russ Brown

Cc: Russ Brown added; anonymous removed

comment:3 Changed 7 years ago by Luke Cyca

I have this working, but have had to hardcode the colors right into the plugin code. I suppose I could easily expose it as a parameter in trac.ini, however, it would be in this plugin's namespace, like:

[mastertickets]
depgraph_color.new = CD5C5C
depgraph_color.accepted = FFD700
depgraph_color.in_progress = 5960A8
depgraph_color.closed = 7FBA00
depgraph_color.unknown = 999999

The colors for the roadmap are defined in a CSS file somewhere, and I don't think it would be feasible to capture them from there to feed to dot.

Thoughts?

comment:4 Changed 7 years ago by Luke Cyca

Cc: Luke Cyca added

comment:5 Changed 3 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.