Skip to content

New stats client request functionality #7693

@acwhite211

Description

@acwhite211

Is your feature request related to a problem? Please describe.
Re-implement the Specify web client request to the stats lambda function such that a request is made no more than once a day, as to avoid sending too many requests. Each instance doesn't need to send a stats request more than once a day. The request parameters should support the needed aggregated stats fields of collection count, user count, and collection object count.

We need to make sure with this new implementation that the stats request is hold up any of the other Specify functionality. Also, any errors that occur from stats request should not prevent anything else from functioning.

Here is the PR that implemented the new stats request #7415
Here is the PR that avoided issues of slowing down the client with the stats request #7576
This issue needs to implement the new stats request by avoiding the original issues.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
We discussed moving the stats request to the back-end, but decided it is sufficient to use local storage in the browser to reference and respect a timestamp value of the last request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2 - StatisticsIssues that are related to the statistics page

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions