DES-11 — Day 11 — Delegate app: access, home, profile
Splash, sign-in (incl. suspended), forgot password, permissions and location consent, home, profile hub, my zone, objectives, settings.
| Field | Details |
|---|---|
| Task code | DES-11 |
| Phase | P0 — Foundations (cadrage, UX/UI, architecture & contract) |
| Product scope | V1 |
| Status | Planned |
| Start | Mon 2 Nov 2026 |
| Due | Mon 2 Nov 2026 |
| Responsible | Akram — UI/UX designer |
| Co-responsible | — |
| Effort | 1 person-day(s) planned · 1.25 from scratch · size S |
| Area · app | Delegate app design · design |
| Depends on | DES-10 |
| Unblocks | MDA-01, DES-12 |
| Milestones | — |
Summary
Splash, sign-in (incl. suspended), forgot password, permissions and location consent, home, profile hub, my zone, objectives, settings.
Description
Day 11 opens the delegate app. A delegate signs in, gives informed location consent and sees the day at a glance. The screens are DA-01 splash, DA-02 sign-in (including suspended), DA-03 forgot password, DA-04 permissions and location consent, DA-05 home, DA-22 objectives, DA-24 profile hub, DA-25 my zone and DA-26 settings. Inputs: the delegate-01-login-profile and delegate-02-home references, cahier §6, §6.1 and §10 (geolocation consent), AUTH-02/07/08/09, FLD-01/02/05/15, SEC-07, GEO-02, NOT-06, and the operations auth.login, delegate.home, delegate.profile, delegate.zone, delegate.objectives and delegate.tours.today. The delegate app is offline-first and used outdoors with one hand, so every primary action sits in the thumb zone and the home works from cache. Consumers: Imad's MDA-01 (DA-05, DA-22, DA-24, DA-25), MOB-10 (DA-04) and MDA-11 (DA-26); DA-01…03 finalise the Day-6 variants already built in MOB-05/MOB-06.
Subtasks
| # | Subtask | Owner |
|---|---|---|
| 1 | DA-01 Démarrage: forced update that keeps unsynced items (« Vos 3 éléments en attente seront conservés »), maintenance, offline with a cached session | Akram |
| 2 | DA-02 Connexion: phone + password, no sign-up link; invalid credentials; 15-minute lockout; suspended account with an explicit message (AUTH-02, « Votre compte est suspendu. Contactez votre responsable. »); disabled account. DA-03: OTP reset flow reusing the reseller components | Akram |
| 3 | DA-04 Autorisations et consentement: a rationale screen before the OS prompt stating what is collected (position at check-in; every 5 min or 200 m only while a tour is En cours), retention (90 days by default) and who sees it; then granted, approximate only (check-in impossible, explained), denied, permanently denied (link to settings); notification and camera permissions asked just in time | Akram |
| 4 | DA-05 Accueil délégué: greeting, « Zone : Oran », date, notification and sync badges; KPI tiles (visites prévues, réalisées, nouveaux prospects); objective and conversion bars; offline with cached data | Akram |
| 5 | DA-05 today's tour card in every TourStatus: Planifiée (no action), À démarrer (« Démarrer la tournée »), En cours (« Continuer » + next stop), Suspendue (« Reprendre »), Terminée (summary), Annulée; plus no tour today | Akram |
| 6 | DA-22 Mes objectifs: Visites, Inscriptions, Installations, Premières commandes, Commandes, Chiffre d'affaires × Jour / Semaine / Mois; achieved (success), behind (warning), no objective | Akram |
| 7 | DA-24 Compte: avatar, status pill, zone, menu (Ma zone, Mes objectifs, Rapports, Messages, Synchronisation, Paramètres), sign-out. DA-25 Ma zone: wilayas and communes on a map and as a list, number of assigned resellers, map-unavailable fallback | Akram |
| 8 | DA-26 Paramètres: notification preferences, location status with the consent text again, sessions, language; sign-out blocked while items wait to sync (« 3 éléments non synchronisés » + « Synchroniser maintenant ») | Akram |
| 9 | Thumb-zone check on DA-05 and DA-04: primary actions in the lower half, 48 dp targets, readable at 100 % brightness | Akram |
| 10 | Review the consent copy against the privacy policy and retention durations (SEC-08, Law 18-07) | Anis |
| 11 | Feasibility: permission sequence, foreground location service notice on Android, approximate-location handling | Imad |
Deliverables
- Claude Design › Delegate App ›
DA · Access,DA · Day,DA · Profilewith DA-01…05, DA-22, DA-24…26 and every state - Final consent copy (FR) for DA-04 and DA-26, reviewed by Anis
- Tour card variants for all 6 TourStatus values plus « no tour today »
Acceptance criteria
- DA-05 shows every TourStatus with the action allowed in it, and only the assigned delegate can start (FLD-04)
- The consent screen states what, when, how long and who, before any OS prompt
- Sign-out is impossible while unsynced items exist, and the screen says how many
- Suspended and disabled accounts have distinct explicit messages
- Primary actions are 48 dp or more and sit in the thumb zone; contrast is 4.5:1 or more
- Imad's review answer is OK or OK with notes
Requirements covered
| Requirement | Title | Release |
|---|---|---|
| AUTH-02 | Delegate sign-in with phone + password; suspended accounts blocked with an explicit message | V1 |
| FLD-05 | Delegate home: today's tour, counters, objectives, conversion rate, quick access | V1 |
| SEC-07 | Geolocation consent and transparency for delegates | V1 |
Screens
| Screen | Name | App |
|---|---|---|
| DA-01 | Splash & version check | DA |
| DA-02 | Sign in | DA |
| DA-03 | Forgot password | DA |
| DA-04 | Permissions & location consent | DA |
| DA-05 | Home | DA |
| DA-22 | Objectives | DA |
| DA-24 | Profile hub | DA |
| DA-25 | My zone | DA |
| DA-26 | Settings | DA |
Test measures
- Read-aloud test of the consent text with Anis (privacy policy alignment)
- Outdoor legibility mock check: frames viewed on a phone at full brightness by a window or outside
- Prototype: sign-in → consent → home with a tour À démarrer
Risks
- GPS tolerance, sampling frequency and retention are still settings to confirm — the copy shows the configured values (« toutes les 5 min ») from settings, never hard-coded numbers.
KPI
- Delivered by Mon 2 Nov 2026 within 1 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.
DES-10 — Day 10 — Reseller app: promotions, notifications, account, support
Promotions and daily offers, promotion detail, notifications, account hub, store profile, settings, support tickets, system states.
DES-12 — Day 12 — Delegate app: tour programme, map & POS sheet
Tour programme (tabs, mini-map, ordered list), tours calendar, map and navigation, point-of-sale sheet.