Conversation
- Introduced providers for database and services using Riverpod for better state management. - Removed legacy services: FetchService, HistoryService, and HookService. - Added new widgets for common UI elements and a scanner page for barcode scanning. - Implemented a bottom sheet for logging food portions with meal type selection. - Updated pubspec.yaml with new dependencies and versioning. - Added comprehensive tests for database operations, services, and article extraction. - Enhanced the app description to reflect its new purpose as a personal kcal tracker and meal maker.
- Updated imports and references from AnthropicService to AiService across multiple files. - Changed error handling to reflect the new AI service. - Updated UI components to reference OpenAI API key and related settings. - Modified meal suggestion and article summarization logic to utilize the new AI service. - Enhanced logging and portion tracking features to accommodate new pantry item structure. - Added unit tests for the new AI service and updated existing tests to remove references to the old service. - Updated pubspec.yaml to include dart_openai dependency.
…proved pantry handling
- Introduced saved meals provider to persist meal suggestions across app restarts. - Updated MealsPage to utilize saved meals and reflect their status (done/undone). - Modified MealSuggestionsNotifier to replace saved meals in the database after generation. - Implemented functionality to log meals and update pantry quantities based on used ingredients. - Added a new UI component for updating kitchen quantities after meal preparation. - Created tests for saved meals replacement and pantry item matching logic.
…ties with undo support
- Refactor MealsPage to display meals and cooked history more effectively. - Introduce _MealsBody widget to manage meal suggestions and cooked meals display. - Add functionality to log cooked meals with a bottom sheet for meal type selection. - Update SettingsPage to include daily burn kcal input for better tracking. - Implement TrackPage improvements for logging food entries with date context. - Add new progress tracking features to calculate streaks and kcal deficits. - Introduce restaurant meal presets for quick logging in the TrackPage. - Create an EditEntrySheet for modifying logged food entries. - Enhance database interactions for logging and managing meals and pantry items. - Add tests for progress calculations and database functionalities.
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.
No description provided.