pophealth/popHealth — pull request #109 by carpeliam (2014-02-10 19:52:26+00:00)
Title: show a count of selected measures for each category on dashboard

This displays the number of selected measures for each category next to the category name.

A downside of this implementation is that it's pretty closely linked with the DOM. An alternate implementation might involve a separate explicit view for each category, with a listener that listens to changes in the size of the collection, and updates the view accordingly. This'd probably require a bit of a rewrite of how the selected category model code works, and would require a new view, and just seemed like more work than this feature deserves. If the structure of the dashboard ends up changing significantly, though, this might be an approach we might want to consider.