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

Lazy Load setlists of previous years #165

Open
devmount opened this issue Apr 9, 2023 · 0 comments
Open

Lazy Load setlists of previous years #165

devmount opened this issue Apr 9, 2023 · 0 comments
Labels
enhancement Improve quality of existing features optimization Iteration on existing features or infrastructure

Comments

@devmount
Copy link
Owner

devmount commented Apr 9, 2023

Is your feature request related to a problem? Please describe.
Currently a full app load retrieves all documents of all Firestore collections. This causes extended loading time and read actions.

Describe the solution you'd like
The two biggest collections are songs and setlists. The former is needed as a whole for creating setlists (which would be complicated to implement with lazy loading, maybe as a follow up improvement when this issue landed), but the latter could be limited to display only setlists of the previous year or previous 6 months. This would reduce the payload heavily.

Older setlists could be loaded on demand, e.g. when searching or navigating for setlists.

Describe alternatives you've considered
None.

Additional context
In itself it is not so bad to load all setlists/collections, but long term this could cause issues with reading actions quota.

@devmount devmount added enhancement Improve quality of existing features optimization Iteration on existing features or infrastructure labels Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve quality of existing features optimization Iteration on existing features or infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant