Skip to content

Show dynamic stats based on user filters #22

@neilsquinn

Description

@neilsquinn

Having the stats panel at the bottom is cool, but would potentially be cooler if, instead of being static values, they were reformulated based on the filters applied. So, if the user filtered to only the Alliance for the Chesapeake Bay, they would see the numbers of water bodies, samples etc. covered by that group.

This is probably quite ambitious given that the numbers right now are based on this API call: https://cmc.vims.edu/odata/GetHomeStats and we'd have to instead calculate at least some of them live (and make sure they reconcile with the original numbers), so it might be a dumb idea.

If implemented, it would be important to color-code or otherwise change the formatting of the dynamically updated stats to signal to the user that they are being recalculated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions