Modify ↓
Opened 16 years ago
Last modified 5 years ago
#3879 new 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 (6)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Cc: | Russ Brown added; anonymous removed |
---|
comment:3 Changed 14 years ago by
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 14 years ago by
Cc: | Luke Cyca added |
---|
comment:5 Changed 11 years ago by
Owner: | changed from Noah Kantrowitz to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:6 Changed 5 years ago by
Status: | assigned → new |
---|
Note: See
TracTickets for help on using
tickets.
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.