User story #4208
closedMake visible if a Directive is not in use by any Rule
Description
Make visible if a directive is not in use by a rule. If I delete a rule but I forget to delete the directive used by that rule, the directive will be there forever.
Proposal: mark a directive red if it's not in use by any rule.
Files
Updated by François ARMAND almost 11 years ago
- Assignee set to Jonathan CLARKE
That's an interesting idea, and does not seems very hard to do.
Jon, what do you thing about it? It could nicelly complete the "directive <-> rule" link enhancement going on with 2.9 ?
Updated by François ARMAND almost 11 years ago
For now, the idea is to make the directive looks like disabled directive, and have in the tooltop the reason why it's greased.
Updated by François ARMAND almost 11 years ago
- File Rudder - Directives Management - 2013-12-11_11.51.25.png Rudder - Directives Management - 2013-12-11_11.51.25.png added
Updated look:
- disable directive are greyed
- not used one are in italic.
See !Rudder - Directives Management - 2013-12-11_11.51.25.png!
Updated by François ARMAND almost 11 years ago
- File Rudder - Directives Management - 2013-12-11_12.06.29.png Rudder - Directives Management - 2013-12-11_12.06.29.png added
Well, my personnal feeling is that italic and normal don't differentiate much.
Here is a version with "bold" in place of "normal" weight for assigned and enabled directive.
Updated by Dennis Cabooter almost 11 years ago
I agree that italic and normal look too much the same. Another idea would be to use <del>strikethrough</del> for unused directives.
Updated by François ARMAND almost 11 years ago
Well, even with bold, the diff is not really clear. Let's test with an "warning" icon.
Updated by Jonathan CLARKE almost 11 years ago
- Status changed from New to Discussion
- Assignee changed from Jonathan CLARKE to Dennis Cabooter
How about adding a little yellow warning triangle to Directives not used by any Rules? Something like http://www.clker.com/cliparts/1/5/5/7/13065475412041287699yellow-warning-sign.jpg.
Updated by François ARMAND almost 11 years ago
- File Rudder - Directives Management - 2013-12-11_17.20.58.png added
And a new version with "warning" logo.
That seems a little scary in my demo, because almost no directive are used, but it could be nice in a real Rudder installation.
Updated by François ARMAND almost 11 years ago
- File deleted (
Rudder - Directives Management - 2013-12-11_17.20.58.png)
Updated by Vincent MEMBRÉ almost 11 years ago
- Subject changed from Make visible if a directive is not in use by a rule to Make visible if a Directive is not in use by any Rule
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from Discussion to 10
Updated by Vincent MEMBRÉ almost 11 years ago
- Category set to Web - Config management
Updated by François ARMAND almost 11 years ago
- Status changed from 10 to Pending release
- Assignee deleted (
Dennis Cabooter)
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.9.0~rc1, which was released on Friday 13/12/2013.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-December/000065.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog29
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/