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:
Alireza Hassani
2026-08-19 19:46:57 +03:30
co-authored by Cursor
parent 832ac32a09
commit f8a9a28346
55 changed files with 1264 additions and 907 deletions
@@ -7,6 +7,7 @@ import type {
OtpSendResponse,
OtpVerifyResponse,
RegisterResponse,
HandoffCreateResponse,
UserProfile,
} from '../types/auth'
@@ -105,6 +106,13 @@ export async function resetPassword(cellNumber: string, code: string, newPasswor
})
}
export async function createHandoff() {
return apiRequest<HandoffCreateResponse>('/auth/handoff', {
method: 'POST',
auth: true,
})
}
export function logout() {
clearTokens()
clearActiveBusiness()