feature/tracking — Realtime Order Tracking (Shared Module)

Community

Live order location & status updates

AuthorVantoan252003
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a unified, real-time tracking system so ride-hailing and food delivery clients can display accurate driver location, ETA, and order status without duplicating socket logic across features, reducing bugs and lifecycle issues.

Core Features & Use Cases

  • Socket room lifecycle: join and leave order-specific Socket.IO rooms to scope updates per order.
  • Event handling: maps driver_location, order_status_changed, eta_updated, and order_cancelled events to a TrackingEntity stream consumed by UI.
  • Shared Bloc integration: a TrackingBloc updates map markers, animates camera conditionally, and transitions states (connecting, active, completed, cancelled, error) while delegating socket access to an injected SocketService.
  • Use Case: In a ride or food flow, start tracking when the user opens the tracking page to show live driver movement and ETA, stop when the page is disposed, and navigate to rating after completion.

Quick Start

Start tracking order 123 of type ride to receive live driver location, ETA, and status updates.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: feature/tracking — Realtime Order Tracking (Shared Module)
Download link: https://github.com/Vantoan252003/Mozi/archive/main.zip#feature-tracking-realtime-order-tracking-shared-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.