WEB-22 — Reseller web code screens for WhatsApp
Sign-up and password-reset code screens word themselves from the channel and offer the SMS option.
| Field | Details |
|---|---|
| Task code | WEB-22 |
| Phase | P1 — V1 build & integration |
| Product scope | V1 |
| Status | Planned |
| Start | Sun 6 Dec 2026 |
| Due | Mon 7 Dec 2026 |
| Responsible | Anis — Full-stack developer |
| Co-responsible | — |
| Effort | 0.5 person-day(s) planned · 1 from scratch · size S |
| Area · app | Reseller web · web |
| Depends on | SRV-51 |
| Unblocks | — |
| Milestones | — |
Summary
Sign-up and password-reset code screens word themselves from the channel and offer the SMS option.
Description
Decision D-64. Texts in French, Arabic and English.
Subtasks
| # | Subtask | Owner |
|---|---|---|
| 1 | Sign-up wizard: WhatsApp wording and Recevoir le code par SMS | Anis |
| 2 | Forgot password: the same | Anis |
Deliverables
- apps/web/src/components/auth/signup-wizard.tsx
- apps/web/src/app/[locale]/(auth)/forgot-password/page.tsx
Acceptance criteria
- With WhatsApp on, the screen names WhatsApp and offers the SMS option
- With WhatsApp off, nothing changes on the code screen
Requirements covered
| Requirement | Title | Release |
|---|---|---|
| AUTH-03 | Reseller self sign-up: phone verified by OTP, store details, declared customer type (super-gros, demi-gros, détail), password, optional invitation code | V1 |
| AUTH-04 | Reseller sign-in (phone or email + password, or a one-time code) and password reset by OTP | V1 |
| AUTH-07 | Password policy, hashing, OTP expiry/resend cooldown and attempt limiting | V1 |
API surface
| Endpoint group | Operations |
|---|---|
| Authentication & sessions | 14 |
Test measures
- Browser check of both flows with the setting on and off
KPI
- Delivered by Mon 7 Dec 2026 within 0.5 person-day(s).
- Every acceptance criterion above demonstrated before hand-off; linked requirements' acceptance criteria pass.
- Zero open critical defects, permission gaps or data-integrity regressions at sign-off.
Generated from content/plan/tasks.json by scripts/generate-team-tasks.mjs. Dates are computed by the scheduler (Sunday–Thursday weeks, holidays excluded) — change the plan, not this page.
SRV-51 — Reseller one-time codes by WhatsApp with SMS backup
WhatsApp sender for reseller codes, channel choice in auth.otp.send, SMS fallback, on/off setting and simulator.
SRV-52 — Reseller sign-in by email and by one-time code
Email and password for confirmed reseller emails, purposes EMAIL_CHANGE and LOGIN, auth.loginCode, and a security notice when the login email changes.