Fix wholesale app orders, polish admin/user chrome, and harden order detail UX.

Customer placements now store WHOLESALE (with a migration for prior RETAIL rows), order status opens in a right drawer, logout asks for confirm, and the dashboard profile nudge plus IRANSans panel typeface are tightened for readability.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
s.esmaeili
2026-10-16 23:39:15 +03:30
co-authored by Cursor
parent f444a19845
commit 7fca434da6
32 changed files with 1755 additions and 527 deletions
@@ -0,0 +1,24 @@
# Dashboard — incomplete profile banner
**Status:** approved
**Date:** 2026-10-16
**Scope:** `apps/user-app` `DashboardView.vue`
## Intent
When a signed-in customer has not finished profile verification documents, show a fixed notice on the workbench (میز کار) above the balance card, with a CTA to complete profile.
## Decisions
| Choice | Decision |
|--------|----------|
| Placement | Above balance card inside `dash__body` |
| Form | Fixed banner + CTA (not dismissible toast) |
| Visibility | Same gate as ProfileView `canCompleteProfile`: step set and not `VERIFIED` / `STEP_TWO_SUBMITTED` |
| CTA | `router.push({ name: 'completeProfile' })` |
| Out of scope | Home banner, tile badge, new API |
## Copy
- Title/body: پروفایل شما تکمیل نشده است
- CTA: تکمیل پروفایل