Skip to content

Sparkline for previous days summary #587

Description

@farski

Issue Type

  • Feature request

Description

I had started work to implement this, but never quite figured out how to get the view and controller talking to each other in a way that totally made sense, and I know some of the view stuff is being refactored, so I sort of lost steam on it. But I still think it'd be a neat (hopefully easy) addition, so I wanted to write it down in case anyone else could get it done.

I think it'd be really handy to have a small sparkline at the top of the daily summary showing some data from the previous N days. The two most obvious data to show would be daily total detections and daily unique species.

Something like this…

Image

It could maybe switch between total and uniques onclick.

The motivation for this is that sometimes I don't get a chance to check the app everyday, and so if I check after several days, quickly seeing a high-level overview of the previous few days is sort of a good indicator of whether I should go back and look at any days in more detail.

Somewhere between 10 and 20 days I think is useful and is still a reasonable fit even in narrow mobile screens.

There are obviously very intricate ways to implement this with SVG or canvas, but using the 8 unicode block characters and rounding I think would provide sufficient information for this purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststaleIssues that may no longer be relevant

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions