feature/rating — Post-Order Rating

Collect and submit post-order ratings and optional tips for ride and food orders.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Vantoan252003/Mozi --skill feature-rating-post-order-rating
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature/rating — Post-Order Rating
Source: https://github.com/Vantoan252003/Mozi/tree/main/lib/features/rating
Command: npx skills add https://github.com/Vantoan252003/Mozi --skill feature-rating-post-order-rating

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, user-friendly flow for collecting post-order ratings, comments, and optional tips so apps can capture quality feedback and reward service in ride-hailing and food delivery experiences.

Core Features & Use Cases

  • Rating model and tags: Defines RatingEntity and RatingTagEntity for driver, food, and speed-related feedback.
  • Retrieval and submission: Fetch rating tags by order type and submit completed RatingEntity to backend endpoints.
  • Presentation & UX: Full-screen RatingPage with StarRatingInput, multi-select RatingTagChips, comment field, TipSelector, and SuccessRatingView; auto-prompt after tracking completes and manual trigger from order history.
  • Persistence & rules: Marks orders as rated in local storage to avoid repeat prompts; supports skip flow with one-time reminders and UI-only tip selection with separate charge flow.

Quick Start

Open the rating modal after an order completes, tap the stars, choose tags and tip, add an optional comment, and submit the rating.

Frequently Asked Questions about feature/rating — Post-Order Rating

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect post-order ratings and tips in a Flutter ride-hailing app?

To collect post-order ratings and tips in a Flutter app, use a structured flow with a RatingPage featuring star input, tag chips, and a tip selector. It manages state with cubit and submits the rating entity via backend APIs.

How does local persistence prevent duplicate rating prompts for completed food orders?

Local persistence prevents duplicate rating prompts by marking orders as rated in local storage after submission. This ensures users are not repeatedly asked to rate drivers or restaurants for the same completed food delivery.

Can I fetch dynamic rating tags by order type for driver and food delivery feedback?

Yes, you can fetch dynamic rating tags by order type. The system retrieves specific RatingTagEntity lists for driver, food, or speed-related feedback, allowing users to select multiple relevant tags during the post-order rating submission.

What is the best way to implement a skip flow for post-order ratings without losing feedback?

The best way to implement a skip flow is by allowing users to dismiss the rating prompt with a one-time reminder. The UI supports skipping the rating process while still offering manual triggers from the order history later.

Does the tip selection UX handle the actual payment charge for the delivery driver?

The tip selection UX handles tip selection visually within the rating interface but does not process the actual payment charge. It functions as a UI-only component that passes the tip amount to a separate charge flow.