Skip to content

Conversation

@Adesinaictu
Copy link
Collaborator

📝
This Pull Request introduces the core functionality for integrating verified travel agencies directly into the app, allowing users to browse and interact with their services.

🎯 (Goal):
This feature directly supports the app’s mission to promote tourism by:

  • Connecting users with reliable and verified travel agencies.
  • Streamlining the process for users to discover and potentially book diverse travel services (hotels, tours, car rentals, etc.) within a trusted environment.

🔑 Key Changes & Functionality
🧭 Travel Agency Module – Users can explore and book services from verified travel agencies.

🎯 Filter Options – Agencies can be filtered by ⭐ rating, 💰 price, and 🧳 services offered.

🧩 New UI Components – Added UI screens for agency listings and booking details.

🧪 How to Test:
🧭 Navigate to the new Travel Agencies section
(e.g., via the bottom navigation bar or from the “Discover” screen)

🔍 Browse through the listed agencies

🎛️ Apply different filters
(⭐ Ratings, 💰 Price, 🧳 Service Type) and verify that results update correctly

🏢 Click on an agency to view its detailed profile and services

📝 Attempt to initiate a booking
and observe the full booking flow including confirmation ✅
Screenshot_20250617_181205
Screenshot_20250617_181355
Screenshot_20250617_181447
Screenshot_20250617_181522
Screenshot_20250617_181205

sas-bergson and others added 23 commits May 10, 2025 00:03
Pulling the changes from the main branch
Update Android Gradle Plugin (AGP) from 8.4.1 to 8.9.2 and Gradle wrapper from 8.6 to 8.11.1 to leverage the latest features, bug fixes, and performance improvements.
This commit introduces a new navigation system and screens for trip management, including a dashboard, trip creation, and itinerary editor. The navigation is implemented using Jetpack Navigation Compose, and the screens are built with Material 3 components. Additionally, the compileSdkVersion is updated to 35, and the navigation-compose dependency is added.
- Add TripRepository to handle trip data operations
- Replace sample data with repository in TripDashboard
- Update TripCreation to use repository for trip creation
- Remove hardcoded sample trips from TripDashboard
- Add ActivityRepository for managing trip activities with add, update, delete functionality
- Create ActivityDialog composable for adding/editing activities
- Enhance ItineraryEditor with activity management features including:
  - Day selection and activity display
  - Add/edit/delete functionality
  - Confirmation dialogs for deletion
- Remove sample data and integrate with repository
…ion and activity editing

- Add Material3 date picker dependencies to build.gradle.kts
- Implement date picker dialogs for start/end date selection in TripCreation
- Add combined date and time picker for activity time selection in ActivityDialog
- Update ItineraryEditor to recompose when activities change
Add helper function to parse trip dates in multiple formats (ISO and "MMMM d, yyyy") and use it to accurately calculate trip duration. Fallback to 1 day if parsing fails to ensure minimum valid duration.
Improve state handling in ItineraryEditor by using derivedStateOf to observe changes to activities list. This provides better reactivity and performance by only recomputing when tripId or selectedDay changes, rather than watching the entire activities list.
- Add deleteTrip method to TripRepository to remove trips by ID
- Implement delete button and confirmation dialog in TripCard
- Maintain existing view itinerary functionality while adding deletion feature
Remove date picker functionality and streamline time selection to use only time picker. Time is now displayed in 12-hour format with AM/PM indicator for better user experience.
…-rickneil"

This reverts commit 5502ada, reversing
changes made to 47435af.
Copy link
Collaborator

@Maestro-jr Maestro-jr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This structure is really striking
With impressive ui 🙌

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.

9 participants