Patch (to be ported)
Project:
Features
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 20:57 UTC
Updated:
12 Mar 2015 at 19:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rypit commentedAttached is a patch that "greys out" conflicts with disabled modules, and makes bright red conflicts with other enabled modules.
Comment #2
Grayside commentedThat seems like it might be too extreme. There are two basic situations in which you need to know about a conflict:
Theming in this case shouldn't entirely de-emphasize the disabled conflict. What might make sense is considering, as a separate issue, including enabled, conflicting features in the site's status report. That's already a trained "check this for problem states" and would reduce the confusion implied by this issue for site builders and developers dealing with Use case #1.
Comment #3
mpotter commentedActually, I really like this one.
My situation is a bit different:
3. You have purposely cloned a feature from a distribution and changed it (and then disabled the distro feature).
In this case I no longer care that my feature conflicts with the disabled distro feature. De-emphasizing this helps me distinguish from features with *real* conflicts vs the "known" conflict with the disabled module.
Comment #4
hefox commentedthis switch statement contains a bit of duplicate logic
would prob make it a bit cleaner to read.
Comment #5
mpotter commentedCleaned up per hefox and also added a new class to the Conflict status. Added a new css color for this that is somewhere between pure gray and the orange conflict color. With the new classes you should be able to theme this however you want on your own site.
Comment #6
mpotter commentedBah, here is version without the tab character.
Comment #7
mpotter commentedDarn it, try again.
Comment #8
mpotter commentedOne more time!
Comment #9
hefox commentedHaven't applied and tested, but looks good now
Comment #10
mpotter commentedGoing ahead with it then. Committed 7dcff49