A Stats Dashbaord would be extremely useful for the Reps portal. It's use would be multi-purpose, but what I am thinking right now is: - tool for measuring the health of the program - quick lookup of data - monitor activities against top-level organizational goals As time goes on we could build it out more, but a first iteration would have: - # of Reps - # of events - # of Reports We already have this information.
Created attachment 8392499 [details] Stats Dashboard - key numbers.png Here is a mockup based on comment 0. I split events into the two types that we have listed on the Events page - past and current/future.
:williamr, can you provide a mockup for this that includes "inactive reps" -- or at least review the suggestion below and comment on it? Since the stats dashboard is going to start accommodating more and more data over time, let's build in the concept of some major divisions. For example, the items in attachment in comment 1 could be "Overall" and then the inactive reps would be in a section called "Reps". e.g. == Overall == | 423 Reps | 1766 Past Events | 1 Million current/future events | 8 Trillion activities | == Reps == | Active | 400 | | Inactive | 23 | This sets us up to grow this page when we think of more data for it. Let's not add any more stats to the page for the initial release.
(In reply to Justin Crawford [:hoosteeno] from comment #2) > :williamr, can you provide a mockup for this that includes "inactive reps" > -- or at least review the suggestion below and comment on it? The mockup for when Reps have last done activities is in bug 984588 comment 1. The scope of this bug is the creating of a stats dashboard page that has the Overall table. Then an activities section can be added in bug 984588. Okay for them to happen in the same release, but that is not a requirement. > == Overall == > | 423 Reps | 1766 Past Events | 1 Million current/future events | 8 Trillion > activities | > > == Reps == > | Active | 400 | > | Inactive | 23 | This structure of Overall and Reps divisions looks good to start. The only change is that the labels and queries in the Reps division should be done in bug 984588 and the specifications are there.
Commits pushed to master at https://github.com/mozilla/remo https://github.com/mozilla/remo/commit/6130b0f88edd2bc1ecba5f2c1ef90007fad34091 [Fix bug 970400] Create initial stats dashboard. https://github.com/mozilla/remo/commit/a86f5fd35df7affb38aab28ab07f2a4db0c446e4 Merge pull request #695 from johngian/970400-initial-stats [Fix bug 970400] Create initial stats dashboard.
Is this ready for testing anywhere?
Verified on stage .  https://reps.allizom.org/stats/