-
-
Notifications
You must be signed in to change notification settings - Fork 6
Lazy Load setlists of previous years #165
Copy link
Copy link
Open
Labels
enhancementImprove quality of existing featuresImprove quality of existing featuresoptimizationIteration on existing features or infrastructureIteration on existing features or infrastructure
Metadata
Metadata
Assignees
Labels
enhancementImprove quality of existing featuresImprove quality of existing featuresoptimizationIteration on existing features or infrastructureIteration on existing features or infrastructure
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
songsandsetlists. 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.