WEB-06 — Reseller web — Notification Centre, action buttons, group preferences, promotion tabs & flash-sale countdown
The reseller-web side of document 03: Notification Centre card on RW-02, grouped dropdown and page with action buttons on RW-11, per-group push switches on RW-12, Promotions / Ventes flash tabs and countdown cards on RW-10.
| Field | Details |
|---|---|
| Task code | WEB-06 |
| Phase | P1 — V1 build & integration |
| Product scope | V1 |
| Status | Planned |
| Start | Thu 3 Dec 2026 |
| Due | Thu 3 Dec 2026 |
| Responsible | Anis — Full-stack developer |
| Co-responsible | — |
| Effort | 0.75 person-day(s) planned · 3 from scratch · size S |
| Area · app | Reseller web · web |
| Depends on | WEB-05, SRV-40, DES-23 |
| Unblocks | SRV-28, DQA-05 |
| Milestones | Back-office and reseller web V1 feature-complete |
Summary
The reseller-web side of document 03: Notification Centre card on RW-02, grouped dropdown and page with action buttons on RW-11, per-group push switches on RW-12, Promotions / Ventes flash tabs and countdown cards on RW-10.
Description
Mirrors MRA-11 on the web (same routes, same data from SRV-39/SRV-40, frames from DES-23). The web has no push, so the Notification Centre and the live notification.created stream are how a web reseller sees smart notifications; group switches on RW-12 drive the app's push. Countdowns use the server time sent with the response.
Subtasks
| # | Subtask | Owner |
|---|---|---|
| 1 | RW-02: Notification Centre card (group chips with byGroup counts, 3 latest unread with action buttons, « Vous êtes à jour »), live update from notification.created | Anis |
| 2 | RW-11: grouped dropdown (Toutes / Urgent) and page with the group column, action buttons, ?group= in the URL | Anis |
| 3 | RW-10: tabs Promotions / Ventes flash as ?tab=, FlashSaleCard grid with live countdown from serverTime, ended state; flash sales in the RW-02 carousel | Anis |
| 4 | RW-12: per-group push switches, Urgent locked with its explanation | Anis |
Deliverables
- apps/web/src/features/notifications/{notification-centre,group-tabs,action-button}.tsx
- apps/web/src/features/promotions/{tabs,flash-sale-card,countdown}.tsx
Acceptance criteria
- An unread back-in-stock item appears under Nouveautés on RW-02 and its button opens the product (NOT-09, NOT-10)
- A countdown shows the same time as the server even with a skewed client clock (PRM-07)
-
/promotions?tab=flashis shareable and survives reload; the tab is hidden when no flash sale is active
Requirements covered
| Requirement | Title | Release |
|---|---|---|
| NOT-09 | Notification groups and the Notification Centre on the reseller home (Urgent, Promotions, Nouveautés, Points et niveaux, Academy, Suggestions) | V1 |
| NOT-10 | An action button (label and deep link) on every reseller notification | V1 |
| NOT-17 | Anti-fatigue rules: promotional push caps, priority, merge, quiet hours, opt-out per group | V1 |
| PRM-07 | Flash sales (2 h to 48 h) with countdown and the promotion tabs Promotions / Flash Sales | V1 |
Screens
| Screen | Name | App |
|---|---|---|
| RW-02 | Home | RW |
| RW-10 | Promotions & daily offers | RW |
| RW-11 | Notifications | RW |
| RW-12 | Profile, store, addresses & settings | RW |
API surface
| Endpoint group | Operations |
|---|---|
| Notifications & announcements | 10 |
| Promotions, banners & packs | 5 |
| Catalog & favorites | 12 |
Test measures
- Component tests of the countdown with a fake clock and server offset
- Playwright: open a notification from the Notification Centre, mute Suggestions in RW-12
Risks
- Lane already full — WEB-06 is small by design and reuses the RW-11 and RW-10 components of WEB-05
KPI
- Delivered by Thu 3 Dec 2026 within 0.75 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.
WEB-05 — Reseller web — promotions, notifications, account, support
Promotions, notifications inbox, profile/store/addresses/settings, support tickets and after-sales claims, regional WhatsApp button.
QA-01 — End-to-end integration testing on staging
Run the 15 priority acceptance scenarios of the cahier across the four apps on staging with real devices; triage and fix.