Skip to content

Refactor application structure and enhance meal tracking features#151

Merged
LightInn merged 8 commits into
masterfrom
new
Jul 8, 2026
Merged

Refactor application structure and enhance meal tracking features#151
LightInn merged 8 commits into
masterfrom
new

Conversation

@LightInn

@LightInn LightInn commented Jul 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

LightInn added 8 commits July 8, 2026 19:05
- 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.
- 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.
- 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.
@LightInn LightInn merged commit d544d28 into master Jul 8, 2026
1 of 2 checks passed
@LightInn LightInn deleted the new branch July 8, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant