Open
Bug 304135
Opened 19 years ago
Updated 18 years ago
Changing color in Dependency Graph
Categories
(Bugzilla :: Dependency Views, enhancement)
Tracking
()
NEW
People
(Reporter: dpupkov, Unassigned)
Details
Attachments
(1 file, 3 obsolete files)
|
2.58 KB,
patch
|
jouni
:
review-
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; ru-RU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; ru-RU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 It's a good idea about changing color from green in dependency graph. Reproducible: Always Steps to Reproduce: You can select color with selector. Actual Results: Green circles changes colors...
| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
Comment 5•19 years ago
|
||
Hey Dmitry. Read our Contributor's Guide so that you know how to get your patch accepted: http://www.bugzilla.org/docs/contributor.html
Assignee: general → dpupkov
Version: unspecified → 2.18
| Reporter | ||
Comment 6•19 years ago
|
||
Attachment #192183 -
Attachment is obsolete: true
Attachment #192184 -
Attachment is obsolete: true
Attachment #192201 -
Flags: review?(justdave)
| Reporter | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
| Reporter | ||
Comment 7•19 years ago
|
||
Attachment #192201 -
Attachment is obsolete: true
Attachment #192208 -
Flags: review?(jouni)
Updated•19 years ago
|
Attachment #192201 -
Flags: review?(justdave)
Comment 8•19 years ago
|
||
Comment on attachment 192208 [details] [diff] [review] colorDependencyGraphPatch Umm... I'm a bit confused. Do we need this one? Although I agree the current green doesn't print well on B/W, but _why_ do we want to have this as user configurable? Shouldn't this be a systemwide specification and thus set on the code level? Or if it has to be user configurable, shouldn't it be a User Preference? In case we decide to go on with this (you might want to ask Justdave if he'll accept this feature anyway), here are the review comments for the patch: >Index: showdependencygraph.cgi >=================================================================== >+my $graph_color = $cgi->param('graph_color') || "lightblue"; You're creating an DOT injection hole here (the user could paste any valid or invalid DOT language into the graph_color param and get it included in the dependency graph). >Index: template/en/default/bug/dependency-graph.html.tmpl >=================================================================== >- Green circles represent open [% terms.bugs %]. >+ Color circles represent open [% terms.bugs %]. Nit: They're all "Color circles" (by definition). We need to come up with something better. >+ <option >+ [% " selected" IF graph_color == "green" %]> >+ green >+ </option> You should include 'value="green"' style attributes to better support localization (by example; it's not technically necessary here though). Also, kill the tabs and run the testing suite to verify everything is OK with the patch.
Attachment #192208 -
Flags: review?(jouni) → review-
Comment 9•19 years ago
|
||
The main problem in hard-coded green colour is that it wastes the green printer cartrige very fast when you print diagrams regularly. Besides, it is very useful to print diagram for different products / components in different colour to tell one from another.
Updated•18 years ago
|
Assignee: dpupkov → dependency.views
Status: ASSIGNED → NEW
Component: Bugzilla-General → Dependency Views
You need to log in
before you can comment on or make changes to this bug.
Description
•