Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 3rd party community forums with metric overview for a specific aquarium #87

Open
StefanSchubert opened this issue May 23, 2021 · 1 comment

Comments

@StefanSchubert
Copy link
Owner

Is your feature request related to a problem? Please describe.
A newbie or yet unexperienced fan of seawater-aquaristic will tend to seek support from his or her favorite user forum for experts advice. This behavior can be compared with getting consult by a doctor. And of course a doctor's consult will suites better with as many metrics he can gather about the new patient and the problem.

Describe the solution you'd like
Sabi already has a basic report section. This is able to display a metric chart per requested measurement unit.
What I have in mind, is that a user can generate a metric chart overview image, containing all metrics, of a specific aquarium from the report page. The image should be downloadable so that the user can add this image into his user forum request. The image generated should contain a footer or watermark which references our project here.

Describe alternatives you've considered
Instead of providing a downloadable image it could be generated as stream and callable in an anonymous context. This would be much better for the 3rd party forums, as they theirs storage won't be fluted with those images, as the information provided by them will be deprecated after some time.
However thinking of our lowcost rasperry pi stack infrastructure at the beginning repeating streaming request from a growing number of user forums...hm. I have no idea about the numbers we are talking about here. I currently think that as long as we are running on low budget on premise we should stick to the downloadable version.

Additional context
I think the chart overview should only show the measurements of the last 3 months but not further back. Older data than that won't possible have an influence on any consultant.

@StefanSchubert
Copy link
Owner Author

Instead of the user copy pasting a chart image into user forums, another approach would be to enable users to generate a chart access token such that the requested image would be build on demand and streamed to the calle. Something like GET https://sabi-project.net/api/chart?accessToken which will return the requested chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant