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
@@ -79,6 +79,15 @@ export async function updateProfile(payload: {
})
}
export async function consumeHandoff(ticket: string) {
const data = await apiRequest<LoginResponse>('/auth/handoff/consume', {
method: 'POST',
body: { ticket },
})
setTokens(data.accessToken, data.refreshToken)
return data
}
export function logout() {
clearTokens()
clearActiveBusiness()