Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
df1bb6da4a feat: Implement group balance and expense management with new navigation and data handling 2025-10-28 13:06:42 +01:00
Dayron
7cfc5eab6b feat: Refactor account handling and improve group creation logic 2025-10-23 11:03:11 +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
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
9eb55c358e feat: Add user-specific group retrieval and enhance UI with dynamic theming 2025-10-11 20:45:14 +02:00
Dayron
7f4fd610c5 feat: Add group creation functionality and refactor trip service for improved data handling 2025-10-10 11:49:54 +02:00
Dayron
3f9195d67a feat: Implement group management features with Firestore integration and loading states 2025-10-09 11:13:12 +02:00
Dayron
4e403f3308 feat: Enhance trip creation and management features with user validation, improved error handling, and Firestore integration 2025-10-07 11:38:20 +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
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
9fb81f793b Implement login and signup test with json. 2025-10-01 00:48:06 +02:00