feat(web): vendor reports/demand/promo/desk + admin notify & overview#45
Conversation
Completes the dashboards against the analytics + sales backend (#23/#37/#40) and the admin notify/reports endpoints: - Vendor Reports: date-range financial/occupancy summary cards, per-trip table, CSV/XLSX/PDF download, and a demand-forecast widget. - Vendor Promo: list + create (percent/fixed, caps, expiry) + deactivate. - Vendor Desk: counter cash booking (trip + customer + passengers) and a company-bookings list with cancel/refund — reachable by managers AND staff (the vendor nav now shows only the Desk to staff). - Admin: per-company in-app Notify composer, plus a platform overview page (companies/trips/bookings/revenue) behind a new admin nav. Frontend only. ng build + ng lint clean.
|
Warning Review limit reached
More reviews will be available in 11 minutes and 20 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What & why
Phase 14c — the final dashboards layer, wiring the SPA to the analytics/sales backend (#23/#37/#40) and the admin notify/reports endpoints. Frontend only.
Vendor
/reports/trips/export), and a demand forecast widget (/demand/predict)./promo-codes).POST /vendor/bookings) and a company-bookings list with cancel/refund. Reachable by managers and staff — the vendor nav now shows only the Desk tab to staff (role-aware).Admin
/admin/companies/{id}/notify)./admin/reports/summary) — behind a new admin sub-nav.Notes
Verification
ng build+ng lintclean.