Commit Graph

126 Commits

Author SHA1 Message Date
Van Leemput Dayron
75c12e35a5 Add UserStateWrapper and ProfileImageService for user state management and profile image handling 2025-11-05 09:31:58 +01:00
Van Leemput Dayron
30dca05e15 refactor: Clean up code by removing unnecessary whitespace and improving readability 2025-11-05 07:55:05 +01:00
Dayron
9cb21c3470 feat: Add geocoding functionality for trips and enhance activity search with coordinates 2025-11-04 20:47:26 +01:00
Dayron
f6c8432335 Refactor ActivityCard UI and improve voting functionality
- Updated ActivityCard layout for better visual consistency and responsiveness.
- Simplified the category badge and adjusted styles for better readability.
- Enhanced the voting section with a progress bar and improved button designs.
- Added a new method in Activity model to check if all trip participants approved an activity.
- Improved error handling and validation in ActivityRepository for voting and fetching activities.
- Implemented pagination in ActivityPlacesService for activity searches.
- Removed outdated scripts for cleaning up duplicate images.
2025-11-04 20:21:54 +01:00
Dayron
8ff9e12fd4 feat: Implement activity management feature with Firestore integration
- Added AddActivityBottomSheet for adding custom activities to trips.
- Created Activity model to represent tourist activities.
- Developed ActivityRepository for managing activities in Firestore.
- Integrated ActivityPlacesService for searching activities via Google Places API.
- Updated ShowTripDetailsContent to navigate to activities page.
- Enhanced main.dart to include ActivityBloc and necessary repositories.
2025-11-03 16:40:33 +01:00
Dayron
64fcc88984 feat: Refactor CreateTripContent with modernized UI components and improved error handling 2025-11-03 15:55:15 +01:00
Dayron
4836514223 Remove the prints 2025-11-03 15:30:20 +01:00
Dayron
cb253831a0 Enhance trip details view with map options and improved layout 2025-11-03 15:26:52 +01:00
Dayron
e3dad39c4f feat: Add TripImageService for automatic trip image management
- Implemented TripImageService to load missing images for trips, reload images, and clean up unused images.
- Added functionality to get image statistics and clean up duplicate images.
- Created utility scripts for manual image cleanup and diagnostics in Firebase Storage.
- Introduced tests for image loading optimization and photo quality algorithms.
- Updated dependencies in pubspec.yaml and pubspec.lock for image handling.
2025-11-03 14:33:58 +01:00
Van Leemput Dayron
83aed85fea feat: Integrate ErrorService for improved error handling and add imageUrl field to Trip model 2025-11-03 11:33:25 +01:00
Van Leemput Dayron
882f7c8963 Modified SignInButton for Google and Apple login options in the login page 2025-11-03 01:47:36 +01:00
Van Leemput Dayron
de52dae0f4 Enhance User model with optional fields and update authentication methods to include profile picture and phone number 2025-11-03 01:29:39 +01:00
Van Leemput Dayron
745f2597d9 Add Apple Login => Works only on iPhone for now, will be adding rest later. 2025-11-03 01:06:19 +01:00
Van Leemput Dayron
9cfd9b4ec7 feat: Add entitlements file and update GoogleService-Info.plist for improved authentication support 2025-11-02 20:05:41 +01:00
Van Leemput Dayron
2eac2348a9 feat: Configure Firebase initialization with platform-specific options and add URL types for Google authentication 2025-11-02 19:02:39 +01:00
Dayron
459047e2c4 feat: Update theme colors for improved visibility in light and dark modes across multiple components 2025-11-01 18:05:04 +01:00
Dayron
0a1a2ffde5 feat: Add library directive to multiple BLoC and service files for improved organization 2025-11-01 16:29:37 +01:00
Dayron
48be18460c feat: Enhance documentation for AddExpenseDialog, BalancesTab, and ExpenseDetailDialog with detailed comments and usage examples 2025-10-31 17:04:28 +01:00
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
1eeea6997e feat: Enhance documentation for BalanceBloc and BalanceService with detailed usage examples and dependencies 2025-10-28 13:10:46 +01:00
Dayron
df1bb6da4a feat: Implement group balance and expense management with new navigation and data handling 2025-10-28 13:06:42 +01:00
Dayron
94f1abfbc7 feat: Adjust initial search logic to retrieve user location if no search query is provided 2025-10-25 16:14:34 +02:00
Dayron
37f5bb1710 feat: Integrate Google Maps functionality with place suggestions and navigation options 2025-10-23 12:32:34 +02:00
Dayron
5b8d3ec45f feat: Consolidate group and account creation into a single method and improve error handling in trip creation 2025-10-23 11:39:13 +02:00
Dayron
7cfc5eab6b feat: Refactor account handling and improve group creation logic 2025-10-23 11:03:11 +02:00
Dayron
905948379a feat: Enhance group and trip management with group creation and account linking
NOT FUNCTIONNAL
2025-10-22 12:23:26 +02: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
62eb434548 feat: Implement account management functionality with loading, creation, and error handling 2025-10-21 10:48:12 +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
a3ced0e812 feat: Remove unused balance model import and add count bloc imports in create trip content 2025-10-20 20:41:50 +02:00
Dayron
ce754c1e6c feat: Add expense management features with tabs for expenses, balances, and settlements
- Implemented ExpensesTab to display a list of expenses with details.
- Created GroupExpensesPage to manage group expenses with a tabbed interface.
- Added SettlementsTab to show optimized settlements between users.
- Developed data models for Expense and Balance, including necessary methods for serialization.
- Introduced CountRepository for Firestore interactions related to expenses.
- Added CountService to handle business logic for expenses and settlements.
- Integrated image picker for receipt uploads.
- Updated main.dart to include CountBloc and CountRepository.
- Enhanced pubspec.yaml with new dependencies for image picking and Firebase storage.

Not Tested yet
2025-10-20 19:22:57 +02:00
Dayron
633d2c5e5c feat: Simplify message state management by removing intermediate states and updating UI logic 2025-10-20 17:51:16 +02:00
Dayron
a2e366e1ce feat: Implement message management features including sending, deleting, updating, and reacting to messages 2025-10-20 17:34:09 +02:00
Dayron
3d902ffa74 feat: Update trip deletion logic to return to the previous screen after deletion 2025-10-20 16:39:38 +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
af93ac54ff feat: Update app icons and integrate flutter_launcher_icons for icon management 2025-10-20 10:22:12 +02:00
Dayron
f98f81f2f7 feat: Integrate dotenv for environment variable management and update .gitignore 2025-10-20 01:45:55 +02:00
Dayron
d41e6ff6db feat: Enhance map functionality with user location markers and place search integration 2025-10-20 01:35:48 +02:00
Dayron
61e42fda3e Merge branch 'dev' of https://github.com/Dayron-HELHa/travel_mate into dev 2025-10-20 00:41:19 +02:00
Dayron
4dea41978d Error fix : handle logout process in HomePage 2025-10-20 00:41:14 +02:00
Van Leemput Dayron
1ce5107b97 feat: Add location permissions and implement current location retrieval in map component 2025-10-17 00:59:19 +02:00
Dayron
d1cda9c3ff refactor: Update README to reflect BloC state management; remove unused data source files 2025-10-17 00:21:46 +02:00
Dayron
d9e7efe0d8 feat: Add .vscode and .VSCodeCounter to .gitignore to exclude VS Code configuration files 2025-10-15 11:46:14 +02:00
Dayron
0162eb67f5 feat: Implement centralized error handling with ErrorService; replace print statements with logging in services and blocs
feat: Add ErrorContent widget for displaying error messages in dialogs and bottom sheets
refactor: Update GroupBloc and GroupRepository to utilize ErrorService for error logging
refactor: Enhance user and trip services to log errors using ErrorService
refactor: Clean up debug print statements in GroupContent and related components
2025-10-15 11:43:21 +02:00
Dayron
03ed85bf98 Resolved error for goup page 2025-10-15 10:37:05 +02:00
Dayron
f578a3bee4 refactor: Remove unnecessary comments regarding required fields in Group model 2025-10-15 00:13:55 +02:00
Dayron
fc403e5d26 feat: Implement group management with BLoC pattern; add GroupBloc, GroupRepository, and related models
NOT FUNCTIONNAL
2025-10-14 23:53:20 +02:00
Dayron
2eedb26778 feat: Add TripBloc and UserBloc to main app for enhanced state management 2025-10-14 14:41:50 +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