Screen · Function Audit — 2026-08-13
WP:
WP-SCREEN-FN-AUDIT-01Surfaces: CON · PAR · DRV · ADM Nguồn: scanmobile/·partner/·driver/·dashboard/·npm run audit:refreshFigma: BLOCKED_EXTERNAL (View seat) — visual = JPG mockups
0. Verdict
BE OpenAPI: 396 IMP / 0 STUB / 43 tags
CON screens: 131 files (+ LoginScreen) ≈ 132 exports
PAR UI: 13 screens + 41 tabs = 54
DRV screens: 12
ADM modules: 18
Queue: EMPTY (nextRecommended=null)
Production $: PARTIAL — PAYMENTS_MOCK · SMS e2e · MoMo merchant
Figma pixel: DEFERRED — need can-edit
Overall: Feature coverage rộng & wired API. Gap còn lại chủ yếu OWNER money/SMS/Figma + vài MVP/thin Partner/Admin + MOCK payment path trên CON.
1. Totals by surface
| Surface | UI units | Nav model | Auth |
|---|---|---|---|
CON (mobile/) |
132 screens | MainTabs 5 + MapStack deep | Email/Firebase/Google + JWT |
PAR (partner/) |
54 (13+41) | Hub state tabs | Email OTP |
DRV (driver/) |
12 | MainShell 5 tabs + overlays | Email OTP |
ADM (dashboard/) |
18 | Sidebar modules | Email OTP · ADMIN |
2. Consumer (CON) — domain × function
Legend: LIVE = API thật · HYBRID = API + mock pay/fallback · STATIC = UI/gallery
| Domain | Screens | Function chain | Status | Gap |
|---|---|---|---|---|
| Auth | 12 | Splash→Onboard→Location→Login/Register/Forgot/Verify/Phone · Sessions · 2FA · LoginActivity | LIVE | Google/Firebase OWNER polish |
| Home / Places | 8 | HomeMap · AllServices · WelifeMap · Nearby · Search · Detail · ServiceStub | LIVE | ServiceStub chỉ fallback; map photo pins IMP 08-13 |
| Rides | 5 | Home→Quote→Match→Detail→Rate · live map | LIVE | Device QA |
| FNB | 8 | List→Map→Menu→Cart→Orders→Track→Rate→Success | HYBRID | PAYMENTS_MOCK |
| Grocery | 4 | Home→Store→Checkout→Success | HYBRID | MOCK pay |
| Hotels | 5 | List→Detail→Confirm→Bookings→Success · map image pins | LIVE | — |
| Rentals | 5 | List→Detail→Viewings→Success→Compare · cancel/reschedule | LIVE | — |
| Parking | 4 | Nearby→Lot→Bookings→PayOk · price pins | LIVE | — |
| Fuel | 3 | Nearby→Detail→Route · price pins | LIVE | — |
| ATM | 2 | Nearby→Detail · bank badge pins | LIVE | — |
| Pharmacy | 5 | List→Detail→Rx→Cart→Success | LIVE | — |
| Medical | 9 | List→Detail→Appt→Success · ER/Specialty/Doctor/Map/Chat | LIVE | — |
| Health | 3 | Home→VaxDetail→History | HYBRID | profile fallback possible |
| Schools | 5 | List→Detail→Consult→Compare→Success · photo pins | LIVE | — |
| Charging | 2 | Nearby→Detail | LIVE | — |
| Transit | 2 | Nearby→Detail | LIVE | — |
| Home services | 3 | Home→Detail→Bookings | LIVE | — |
| Delivery | 3 | Home→Orders→Detail | LIVE | — |
| Bills | 3 | Home→Invoices→Detail+pay | HYBRID | MOCK confirm |
| QR | 2 | Home→Result+pay | HYBRID | demo payloads + MOCK |
| Routing | 3 | Directions→Steps→Active | LIVE | Figma sync DEFERRED |
| Wallet | 7 | Home→Action→Stats→Tx·Methods·AddCard · PaymentResult | HYBRID | MOCK / MoMo OWNER |
| Social / Reels | 5 | Feed·Reels·Create·Friends·Profile | LIVE | — |
| Chat | 3 | Inbox→Thread→Call | LIVE | Call WebRTC stub |
| Profile / Account | 7 | Account·Edit·Settings·Activity·Terms·Privacy·SystemStates | LIVE | — |
| Support | 5 | Hub·FAQ·Tickets·Create·Detail | LIVE | — |
| Favorites / Reviews / Promo / Notif / Assistant / KYC / Addresses / Payments | 1–2 each | CRUD / list / result | LIVE | — |
CON — function blockers (không phải thiếu màn)
| # | Issue | Screens | Gate |
|---|---|---|---|
| 1 | Payment sandbox / mockConfirm | WalletAction · Cart · GroceryCheckout · Bills · QR | OWNER MoMo/VNPay |
| 2 | Call = signaling stub | CallScreen | Product / WebRTC later |
| 3 | QR demo sample codes | QrHome | Demo OK local |
| 4 | Figma pixel exact | All visual | OWNER can-edit |
3. Partner (PAR)
| Vertical | Tabs | Function | Status | | ----------------- | ---------------- | ----------------------------------------------- | ------- | ---------------------------------------------- | | Hub Home | overview + staff | Org switch / entry | LIVE | | FNB | 5 | Overview·Orders·Menu·Revenue·Account | LIVE | | Hotel | 5 | Overview·Bookings·Rooms·Revenue·Account | LIVE | Confirm/cancel booking → Admin | | Rental | 6 | Overview·Listings·Leads·Tenants·Revenue·Profile | LIVE | Tenants proxy; no dedicated API | | Parking | 5 | Overview·Vehicles·Slots·Revenue·Account | LIVE | Some MVP charts | | Fuel | 5 | Overview·Prices·Stock·Staff·More | LIVE | Stock capacity MVP mock | | Pharmacy | 5 | Overview·Orders·Stock·Revenue·Account | LIVE | Rx payload MVP | | Medical | 5 | Overview·Schedule·Patients·Revenue·Account | LIVE | | School | 5 | Overview·Students·Schedule·Finance·Account | PARTIAL | Student create “đồng bộ API sau”; MOCK reviews | | Places claim | 1 | Claim / edit catalog | LIVE | | Chat | 1 | Inbox | LIVE | | Auth / Onboarding | 2 | OTP · apply partner | LIVE |
4. Driver (DRV)
| Screen | Function | Status | | --------------------- | ---------------------------------- | ------ | ---------------------------------- | | Login / Register | OTP · apply DRIVER | LIVE | | Home | Online · earnings · → InTrip | LIVE | | Trips (+ subtabs) | Available / Active / History | LIVE | | TripDetail | Accept · RO history | LIVE | mapPlaceholder | | InTrip | Slide pickup/complete · GPS · chat | LIVE | mapPlaceholder · MVP earnings note | | Wallet / TxDetail | Earnings · withdraw path | LIVE | | Ratings | List + reply | LIVE | | Settings · KYC · Chat | Prefs · 4-photo KYC · inbox | LIVE | Push toggle MVP |
5. Admin (ADM)
| Module | Function | Status |
|---|---|---|
| LoginPanel | OTP · ADMIN role | LIVE |
| Overview | KPI + links | LIVE |
| KYC / Partners / Driver | Approve queues | LIVE |
| Ops | Trips/Orders | LIVE |
| Wallet ledger | Ledger view | LIVE |
| Support | Ticket desk | LIVE |
| Hotels · Medical · Pharmacy · Schools · Rentals · Parking | Vertical ops | LIVE |
| Fuel | Thin overview | PARTIAL (thin) |
| Places CMS | Catalog + Google import | LIVE |
| CMS / Promo / Broadcast | Content | LIVE |
| Health deps | Infra health | LIVE |
6. BE vs FE
| Metric | Value |
|---|---|
| OpenAPI ops | 396 IMP / 0 STUB |
| Tags | 43 |
| Agent queue | empty |
| FE binding | Mọi vertical P1–P8 có screen CON (và PAR/ADM khi có) |
7. Soft next (không mở vertical mới)
- OWNER: MoMo merchant · SMS phone e2e · Figma can-edit · EAS cloud
- Agent (nếu Owner chỉ định): thin Fuel ADM · School partner student API · Call WebRTC · kill remaining MVP charts
- QA: Ride matching + map pins trên device thật
8. Liên kết
- Screen matrix:
docs/14-SCREEN-MATRIX-OFFICIAL.md - Prior functional:
docs/reports/FUNCTIONAL-AUDIT-2026-08-06.md - Figma inventory:
docs/design/FIGMA-SCREEN-INVENTORY.md - Canvas: IDE
screen-function-audit-2026-08-13.canvas.tsx
Domain: TOOLING + ALL SURFACES
WP: WP-SCREEN-FN-AUDIT-01
Status: DONE (audit only)
Surfaces: CON|PAR|DRV|ADM
Next: OWNER_REQUIRED · or Owner-picked polish WP