Commit Graph

19 Commits

Author SHA1 Message Date
Dayron
2faf37f145 Enhance model and service documentation with detailed comments and descriptions
- Updated Group, Trip, User, and other model classes to include comprehensive documentation for better understanding and maintainability.
- Improved error handling and logging in services, including AuthService, ErrorService, and StorageService.
- Added validation and business logic explanations in ExpenseService and TripService.
- Refactored method comments to follow a consistent format across the codebase.
- Translated error messages and comments from French to English for consistency.
2025-10-30 15:56:17 +01:00
Dayron
4edbd1cf34 feat: Add User and UserBalance models with serialization methods
feat: Implement BalanceRepository for group balance calculations

feat: Create ExpenseRepository for managing expenses

feat: Add services for handling expenses and storage operations

fix: Update import paths for models in repositories and services

refactor: Rename CountContent to AccountContent in HomePage

chore: Add StorageService for image upload and management
2025-10-21 16:02:58 +02:00
Dayron
c69618cbd9 feat: Implement account management features
- Added ExpenseDetailDialog for displaying expense details and actions.
- Created ExpensesTab to list expenses for a group.
- Developed GroupExpensesPage to manage group expenses with tabs for expenses, balances, and settlements.
- Introduced SettlementsTab to show optimized repayment plans.
- Refactored create_trip_content.dart to remove CountBloc and related logic.
- Added Account model to manage user accounts and group members.
- Replaced CountRepository with AccountRepository for account-related operations.
- Removed CountService and CountRepository as part of the refactor.
- Updated main.dart and home.dart to integrate new account management components.
2025-10-21 00:42:36 +02:00
Dayron
068924a0f2 feat: Refactor group deletion logic to use tripId and add reset trips functionality 2025-10-20 15:34:06 +02:00
Dayron
d0a76b5043 feat: Enhance trip management features and improve UI responsiveness
- Implemented AutomaticKeepAliveClientMixin in HomeContent to maintain state during navigation.
- Modified trip loading logic to trigger after the first frame for better performance.
- Updated trip loading events to use LoadTripsByUserId for consistency.
- Added temporary success messages for trip creation and operations.
- Improved UI elements for better user experience, including updated text styles and spacing.
- Refactored trip model to support Firestore timestamps and improved error handling during parsing.
- Streamlined trip repository methods for better clarity and performance.
- Enhanced trip service methods to ensure correct mapping from Firestore documents.
- Removed unnecessary trip reset logic on logout.
2025-10-20 14:31:41 +02:00
Dayron
4dea41978d Error fix : handle logout process in HomePage 2025-10-20 00:41:14 +02:00
Dayron
72ddb58a11 Refactor user and theme management to use BLoC pattern; remove provider classes and integrate new services for user and group functionalities 2025-10-14 12:10:42 +02:00
Dayron
c4588a65c0 Refactor signup page to use BLoC pattern and implement authentication repository
- Updated signup.dart to replace Provider with BLoC for state management.
- Created AuthRepository to handle authentication logic and Firestore user management.
- Added TripRepository and UserRepository for trip and user data management.
- Implemented methods for user sign-in, sign-up, and data retrieval in repositories.
- Enhanced trip management with create, update, delete, and participant management functionalities.
- Updated AuthService to include new methods for sign-in and sign-up.
- Removed unnecessary print statements from TripService for cleaner code.
- Added dependencies for flutter_bloc and equatable in pubspec.yaml.

Not tested yet
2025-10-14 10:53:28 +02:00
Dayron
563ba05f74 feat: Implement Google Sign-In functionality and update user profile management 2025-10-07 08:25:21 +02:00
Dayron
ec0bc59a70 feat: Integrate Firebase Authentication and Firestore
- Added Firebase configuration to Android and iOS projects.
- Created `google-services.json` and `GoogleService-Info.plist` for Firebase setup.
- Implemented `AuthService` for handling user authentication with Firebase.
- Updated `UserProvider` to manage user data with Firestore.
- Refactored `ProfileContent`, `LoginPage`, and `SignUpPage` to use the new authentication service.
- Removed the old `UserService` and replaced it with Firestore-based user management.
- Added Firebase options in `firebase_options.dart` for platform-specific configurations.
- Updated dependencies in `pubspec.yaml` for Firebase packages.
2025-10-06 18:57:30 +02:00
Dayron
797f77cf69 Add launch configuration, update API keys, and refactor UI components for better structure and performance 2025-10-06 14:17:30 +02:00
Van Leemput Dayron
da39e0e164 Add Google Maps integration and update UI components; change platform version and minimum SDK 2025-10-05 16:33:24 +02:00
Van Leemput Dayron
02754f3506 Refactor signup fields and update home page titles; add trip service and model 2025-10-04 17:42:21 +02:00
Van Leemput Dayron
6aaf2406b3 Create UI for trip that the User is into. 2025-10-04 12:36:28 +02:00
Van Leemput Dayron
ad9393a925 Add profile in parameters, initialized page map, group, count. 2025-10-01 12:21:00 +02:00
Van Leemput Dayron
3f7ca54a70 Change login success message 2025-10-01 09:12:42 +02:00
Van Leemput Dayron
521db729d1 Fix error 2025-10-01 00:50:43 +02:00
Van Leemput Dayron
9fb81f793b Implement login and signup test with json. 2025-10-01 00:48:06 +02:00
Van Leemput Dayron
807b66f919 First commit 2025-09-30 15:53:48 +02:00