Optimize Firebase query performance#48
Merged
fkischewski99 merged 7 commits intomainfrom Mar 26, 2026
Merged
Conversation
…and PDF export - Use server-side Firestore filtering for getAllParticipantsOfStamm() instead of client-side filtering (eliminates N redundant getCustomUserGroup() reads) - Batch-fetch recipe ingredients using getBatchIngredients() instead of individual document reads (reduces ~192 calls to ~20 for typical events) - Pass already-calculated shopping list to PDF export instead of recalculating - Remove unused SharePdf action from HandleEditEvent (no longer accessible) - Use Dispatchers.IO for network operations in AllParticipantsViewModel Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…alizer Support alternate spellings (fruktosearm, Laktose, Gluten) and gracefully handle blank strings from Firebase data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace default Android/iOS/Desktop icons with new scout camp logo. Update iOS launch screen background to dark green and add *.jks to .gitignore. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Covers Firebase Auth/Firestore, participant data (health data under Art. 9 GDPR), CSV import, third-country transfers, update checks, and app permissions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace all Android launcher icons (ic_launcher, ic_launcher_foreground, ic_launcher_round) across all densities with the new green campfire logo. Remove old Android robot vector foreground that was overriding the icon on API 24+. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace RecipeFormDialog with RecipeFormScreen for full-screen navigation. Add recipe form route to navigation graph. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.wherefiltering instead of downloading all participants and filtering client-side. Also eliminates N redundantgetCustomUserGroup()Firestore reads (each call was a separate network request).getBatchIngredients()in 10er-chunks instead of individual document reads per ingredient (~192 calls → ~20 for a typical event).MultiDayShoppingListfrom ViewModel state tocreatePdf()instead of recalculating everything from scratch.SharePdfaction (no longer accessible from UI). UseDispatchers.IOfor network I/O inAllParticipantsViewModel.Test plan
🤖 Generated with Claude Code