Overview
Trip Monitoring provides real-time visibility into all ride requests and active trips on the platform, allowing administrators to track operations and intervene when necessary.Trip monitoring is essential for platform operations, customer support, and quality assurance.
Trip Entity Structure
Trips are tracked with comprehensive data:trips/domain/entities/trip.dart
Trip Status Flow
1
Requested
Status:
solicitadoClient has requested a trip, waiting for driver acceptance2
Accepted
Status:
aceptadoDriver accepted the request and is heading to pickup3
In Progress
Status:
en_procesoDriver picked up client and trip is underway4
Completed
Status:
completadoTrip finished successfully5
Cancelled
Status:
canceladoTrip cancelled by client or driverStatus Enum
trips/domain/entities/trip.dart
Trip Status Colors
Real-Time Trip Data
The dashboard displays live trip statistics:Active Trips
Trips currently in progress
Today's Trips
Total trip requests today
Completed
Successfully finished trips
Cancelled
Cancelled or failed trips
Viewing Trip Details
Admins can view comprehensive trip information:Trip Summary
Trip Timeline
Filtering Trips
- By Status
- By Date
- By Vehicle Type
- By Driver
- By Client
- By Company
Filter by
solicitado, aceptado, en_proceso, completado, or canceladoTrip Search
Search trips by various criteria:Map View Integration
Display active trips on a real-time map:Handling Trip Issues
Cancel Trip (Admin Override)
Reassign Driver
Adjust Price
Trip Metrics
Key performance indicators for trip monitoring:Average Trip Duration
Calculate median time from request to completion
Completion Rate
Percentage of trips completed vs cancelled
Average Distance
Mean distance traveled per trip
Peak Hours
Times with highest trip volume
Popular Routes
Most frequently requested origin-destination pairs
Driver Acceptance Rate
Percentage of requests accepted by drivers
Trip Repository
trips/domain/repositories/trip_repository.dart
Real-Time Updates
Trip monitoring screen updates automatically:Export Trip Data
Best Practices
Monitor Active Trips
Monitor Active Trips
Regularly check active trips to identify delays or issues that may require intervention.
Track Cancellation Patterns
Track Cancellation Patterns
Analyze cancelled trips to identify problematic routes, times, or drivers.
Respond to Support Requests
Respond to Support Requests
Use trip details to quickly resolve customer support inquiries.
Document Price Adjustments
Document Price Adjustments
Always provide clear reasons when adjusting trip prices for transparency.
Review Peak Times
Review Peak Times
Identify high-demand periods to optimize driver availability.
Related Features
Reports
Analyze trip statistics and trends
Driver Management
Review driver performance
User Management
View client trip history