Repository navigation
feat: say when to buy what in the simplified shopping export - #81
Merged
Merged
Conversation
The simplified export wrote one flat list, so its reader bought every batch on day one, even when the plan splits the shopping into several trips. It now writes the same trip sections as the detailed and the checklist exports, with one "Ingredient: amount" line per trip. The freeze note now rides on the line of the trip that freezes the item, as in the detailed export. computeFreezeOnArrivalIngredientIds only existed to mark the flat list, so it is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The banner said only the detailed export splits into trips. Every text export and the PDF now write one section per trip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
guplem
enabled auto-merge
October 3, 2026 20:57
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.
The simplified shopping export now says when to buy what. It writes one section per shop trip, the same way as the detailed and the checklist exports.
Before vs after
Before (one flat list, so the reader bought everything on day one):
After:
Changes
_buildTripSections) with a new one-line builder,buildIngredientSimplifiedLine. No pack line and no link, as before.computeFreezeOnArrivalIngredientIdsonly existed for the flat list, so it is removed.AGENTS.mdis updated.Checks
Format check,
flutter analyze, and all 1120 tests pass locally.🤖 Generated with Claude Code