wealth/platforms/market/src
Amiram_se d43e74237f feat(market): login and registration flow
- auth-flow store: the number, code timing, misses, block, registration
  token and step-4 draft, in memory only (never URL, cookie or storage).
- Auth repository maps the gateway's English error text to codes and
  Persian copy (AUTH_ERROR_CODES, AUTH_ERROR_COPY, blockEndOf).
- Actions: sendCode, verifyRegistrationCode; login turns a suspended
  account away and closes its session; register actions reset the flow and
  creator registration reports upload progress and can be cancelled.
- Models: shared code step (wrong/expired codes, 3-miss block, resend),
  login, login verify (landing per role and unfinished creator profile),
  registration type, phone, verify and details (token warning and halt,
  investor and creator parts).
- Screens under (auth): support entry, code step, login, login verify with
  the suspended notice, registration progress and steps 1-4.
- Navigation: auth routes, withReturnPath and useAuthRoutes; GuestGuard keeps
  the page through its own sign-in.
- Shared: valibot auth schemas (phone, code, names, username, national ID,
  ID card image), showActionError, applyServerErrors, translateMessage,
  mobile helpers, and the `auth` locale namespace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 20:06:42 +04:00
..
app feat(market): login and registration flow 2026-10-05 20:06:42 +04:00
env feat(market): app foundation, session handling and feature data layer 2026-10-04 21:33:07 +04:00
features feat(market): login and registration flow 2026-10-05 20:06:42 +04:00
shared feat(market): login and registration flow 2026-10-05 20:06:42 +04:00
stores feat(market): login and registration flow 2026-10-05 20:06:42 +04:00
index.ts refactor(market,apps): share PageError from market screens 2026-10-05 19:00:28 +04:00
server.ts refactor(market,apps): drop the session proxy and restore auth in the browser 2026-10-04 22:28:05 +04:00