Issue #6992 has been updated by Matt Robinson.

Branch changed from 
https://github.com/joshcooper/puppet-dashboard/tree/feature/next/6537-be-able-to-tell-if-a-node-is-pending
 to 
https://github.com/mmrobins/puppet-dashboard/tree/feature/master/6992-summary_of_resource_status

The attached branch has work for this ticket, #7630, and #7674.  The table 
still needs some styling, pagination needs to be worked out, the correct 
columns for each tab need to be set, and a totals row needs to be added.

For pagination I'm thinking a more link that goes to a resources_status 
controller...  Or maybe not.  This needs some thought.

The table styling should be copied from other tables to start, and then refined 
by Randal.

The column selection will require some logic in the view, unfortunately, but 
should be fairly easy.

The totals row for the resource statuses may prove tricky.  The hard part is 
that we want totals scoped to the different report states.  It it was just the 
status totals for all the resource statuses it wouldn't be bad, it's the 
scoping that's going to be hard to do elegantly.  At least it seems that way in 
my brain right now, perhaps something will pop up later that's better.

I'll run the work so far by Randall to see if we should start merging the 
branch we've got and break of the remaining tasks into smaller tickets, or if 
we should just continue working on the same branch and do a big merge at the 
end.
----------------------------------------
Feature #6992: Show lists of nodes with summary of resource status
https://projects.puppetlabs.com/issues/6992

Author: Randall Hansen
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
https://github.com/mmrobins/puppet-dashboard/tree/feature/master/6992-summary_of_resource_status
Affected URL: 
Affected Dashboard version: 


Show resource status summary.  Group nodes by their status:

* Failed (the default tab)
* Pending
* Unresponsive
* Compliant
* All

For each node, show count of resources in interesting states, e.g.,:

* Failed
* Pending
* Successful

One possible implementation is attached.


Groups of nodes should display different columns of resources depending on 
their context.  That is, "Compliant" nodes by definition have no "Failed" 
resources, so the "Failed" column should not display.

* Failed
  * failed
  * pending
  * successful
* Pending
  * pending
  * successful
* Unresponsive
  * no columns
* Compliant
  * successful
* All
  * all columns



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to