Project

General

Profile

Actions

User story #4208

closed

Make visible if a Directive is not in use by any Rule

Added by Dennis Cabooter over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
3
Assignee:
-
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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


Subtasks 1 (0 open1 closed)

User story #4219: Add the logic to change directive without rule display ReleasedNicolas CHARLES2013-12-06Actions
Actions #1

Updated by François ARMAND over 10 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 ?

Actions #2

Updated by François ARMAND over 10 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.

Actions #3

Updated by François ARMAND over 10 years ago

Updated look:

- disable directive are greyed
- not used one are in italic.

See !Rudder - Directives Management - 2013-12-11_11.51.25.png!

Actions #4

Updated by François ARMAND over 10 years ago

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.

Actions #5

Updated by Dennis Cabooter over 10 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.

Actions #6

Updated by François ARMAND over 10 years ago

Well, even with bold, the diff is not really clear. Let's test with an "warning" icon.

Actions #7

Updated by Jonathan CLARKE over 10 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.

Actions #8

Updated by François ARMAND over 10 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.

Actions #9

Updated by François ARMAND over 10 years ago

  • File deleted (Rudder - Directives Management - 2013-12-11_17.20.58.png)
Actions #11

Updated by Vincent MEMBRÉ over 10 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
Actions #12

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version set to 2.9.0~rc1
Actions #13

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Discussion to 10
Actions #14

Updated by Vincent MEMBRÉ over 10 years ago

  • Category set to Web - Config management
Actions #15

Updated by François ARMAND over 10 years ago

  • Status changed from 10 to Pending release
  • Assignee deleted (Dennis Cabooter)
Actions #16

Updated by Vincent MEMBRÉ over 10 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:

Actions

Also available in: Atom PDF