Commit Graph

8 Commits

Author SHA1 Message Date
Dayron
dd8de46e71 Add new activity events and enhance ActivityBloc for better state management
- Introduced LoadTripActivitiesPreservingSearch event to load trip activities while preserving search results.
- Added RemoveFromSearchResults and AddActivityAndRemoveFromSearch events for improved activity handling.
- Updated ActivitiesPage to show loading dialog during activity addition and provide user feedback.
- Increased maxResults for activity search to load more activities.
2025-11-13 10:46:36 +01:00
Dayron
236327f6fa Presearch google activities. 2025-11-13 09:27:37 +01:00
Van Leemput Dayron
fa7daca50a fAdd phone number support to user authentication events and methods 2025-11-05 13:09:12 +01:00
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