Add shared empty states, customer product filters, and SSO handoff across dashboards.
Standardize list empty UI, searchable country fields, customer-products filter row, password/login polish, and one-time business dashboard handoff from the customer app. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
832ac32a09
commit
f8a9a28346
@@ -3,7 +3,7 @@
|
||||
> **For AI agents:** Read this file at the start of a new chat before making changes.
|
||||
> Update this document when a major feature is completed or architecture changes.
|
||||
|
||||
Last updated: August 18, 2026
|
||||
Last updated: August 19, 2026
|
||||
|
||||
---
|
||||
|
||||
@@ -236,8 +236,9 @@ Business and customer login pages share the same SMS-backed flows (super-admin s
|
||||
| One-time login | `POST /auth/login-otp` | Code only → tokens + marks cell verified |
|
||||
| Forgot password | `POST /auth/reset-password` | Code + new password |
|
||||
| Verify only | `POST /auth/verify-otp` | Marks verified; no tokens |
|
||||
| Dashboard SSO | `POST /auth/handoff` + `POST /auth/handoff/consume` | Admin icon on customer dashboard; 60s one-time ticket |
|
||||
|
||||
Auth helpers: `apps/*/src/services/authService.ts` (`login`, `loginWithOtp`, `resetPassword`, `sendOtp`, `register`). `AuthContext` exposes `login` + `loginWithOtp`.
|
||||
Auth helpers: `apps/*/src/services/authService.ts` (`login`, `loginWithOtp`, `resetPassword`, `sendOtp`, `register`, `createHandoff`). `AuthContext` exposes `login` + `loginWithOtp`. Customer header “open business dashboard” uses a one-time SSO ticket so staff do not log in again.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user