User story #5297
closedUser story #5293: Add a 'changes only' compliance mode, only reporting changes on systems
Adapt display to handle new compliance/change only mode
Description
When in non compliance mode, we must:
- inform the user of the situation,
- display success when needed,
- display last execution time (not mandatory for now).
The main idea for modification are:
In the rule grid:
- compliance is displayed as a "stacked progress bar", with colors for each state
- success, repaired, not applicable are ALL green/success (rationnal: in all case, it's OK for these status)
- we must display a chart with the list of last changes for each rule.
For the graph part, a default period of 30 days of changes, plus the possibility to zoom on some sub-interval, seems OK.
We can look at the following graph libraries: http://dygraphs.com/gallery and http://www.chartjs.org/
Color code for the status bar and order of elements:
- Not applicable: green (different one ?)
- Success: green (different one ?)
- Repaired: green (different one ?)
- Error: Red
- Applying: Blue with strikes
- No reports: Orange (light)
- Unexpected / Missing: Orange (strong)
For a Rule details:
For compliance reports, change the current reporting by directive/components etc to have 3 view:
- the same as now (for the rule, directive/component/etc)
- a view by node (with for each node, direcitve/components/etc)
- a view with the list of all changes, in a table with Date/node id/directive/component/value/messages.