Skip to main content

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 acceptance
2

Accepted

Status: aceptadoDriver accepted the request and is heading to pickup
3

In Progress

Status: en_procesoDriver picked up client and trip is underway
4

Completed

Status: completadoTrip finished successfully
5

Cancelled

Status: canceladoTrip cancelled by client or driver

Status 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

Filter by solicitado, aceptado, en_proceso, completado, or cancelado
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

Export functionality is planned for future releases. Will support CSV and Excel formats.

Best Practices

Regularly check active trips to identify delays or issues that may require intervention.
Analyze cancelled trips to identify problematic routes, times, or drivers.
Use trip details to quickly resolve customer support inquiries.
Always provide clear reasons when adjusting trip prices for transparency.
Identify high-demand periods to optimize driver availability.

Reports

Analyze trip statistics and trends

Driver Management

Review driver performance

User Management

View client trip history