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

Statistics for the Statistic cards #380

Closed
2 tasks done
erenfn opened this issue Dec 11, 2024 · 1 comment · Fixed by #404
Closed
2 tasks done

Statistics for the Statistic cards #380

erenfn opened this issue Dec 11, 2024 · 1 comment · Fixed by #404
Assignees
Labels
backend Backend task/issue enhancement New feature or request frontend Frontend task/issue
Milestone

Comments

@erenfn
Copy link
Collaborator

erenfn commented Dec 11, 2024

  • Add endpoints to backend to fetch statistics for the statistic cards.

  • The stats should be calculated using the guide log entries.

  • By 'this month,' we mean the last 30 days, and 'last month' refers to the period between 60 and 31 days ago.

  • If the views of any guide in the last month is 0, the percentage increase is N/A

  • Call those endpoints in the frontend to show statistics

image

@erenfn erenfn added enhancement New feature or request backend Backend task/issue frontend Frontend task/issue labels Dec 11, 2024
@swoopertr swoopertr added this to the 1.0 milestone Dec 16, 2024
@swoopertr
Copy link
Contributor

related table should be indexed.

@DeboraSerra DeboraSerra linked a pull request Dec 19, 2024 that will close this issue
9 tasks
@erenfn erenfn closed this as completed Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend task/issue enhancement New feature or request frontend Frontend task/issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants