Opened 8 years ago

Last modified 2 years ago

#3879 assigned enhancement

add config/class options to colorize depgraph for custom workflow

Reported by: yoheeb Owned by: rjollos
Priority: low Component: MasterTicketsPlugin
Severity: trivial Keywords: Color, Workflow
Cc: pickscrape, lukecyca Trac Release: 0.11


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 6 years ago by pickscrape

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 6 years ago by pickscrape

  • Cc pickscrape added; anonymous removed

comment:3 Changed 6 years ago by lukecyca

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] = 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.


comment:4 Changed 6 years ago by lukecyca

  • Cc lukecyca added

comment:5 Changed 2 years ago by rjollos

  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

Add Comment

Modify Ticket

as assigned The owner will remain rjollos.

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

Note: See TracTickets for help on using tickets.