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

Stats Page pagination / useAttempts pagination #130

Closed
solderq35 opened this issue Apr 5, 2024 · 0 comments · Fixed by #129
Closed

Stats Page pagination / useAttempts pagination #130

solderq35 opened this issue Apr 5, 2024 · 0 comments · Fixed by #129
Assignees
Labels
data-layer Firestore, Tanstack, caching, pagination, etc. platform-issue bugs specific to Android or iOS priority-high Critical bug fix / feature request

Comments

@solderq35
Copy link
Contributor

solderq35 commented Apr 5, 2024

Issue

  • The stats bar chart (especially on Drill > specific drill type > stats) will crash certain Android devices due to a lack of memory
  • Possibly related, concerning bar chart render performance: BarChart updating too slowly #108

Possible solutions

  • Locally limit the number of bars being stored in frontend state, to reduce amount of bars rendered
  • [Maybe] Paginate Firestore requests (useAttempts hook)
  • Add "next" and "previous" buttons on the left / right sides of graph so user can go to "next page" or "previous page" of bar chart on the stats page
@solderq35 solderq35 added priority-high Critical bug fix / feature request platform-issue bugs specific to Android or iOS data-layer Firestore, Tanstack, caching, pagination, etc. labels Apr 5, 2024
@FrankreedX FrankreedX linked a pull request Apr 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-layer Firestore, Tanstack, caching, pagination, etc. platform-issue bugs specific to Android or iOS priority-high Critical bug fix / feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants