DSH-10 — Back-office support, announcements & notification settings
Tickets queue and detail with internal notes, announcements composer, notification templates and rules, delivery log.
| Field | Details |
|---|---|
| Task code | DSH-10 |
| Phase | P1 — V1 build & integration |
| Product scope | V1 |
| Status | Planned |
| Start | Mon 23 Nov 2026 |
| Due | Mon 23 Nov 2026 |
| Responsible | Anis — Full-stack developer |
| Co-responsible | — |
| Effort | 0.5 person-day(s) planned · 3 from scratch · size XS |
| Area · app | Back-office · dashboard |
| Depends on | DSH-01, SRV-24 |
| Unblocks | DSH-14 |
| Milestones | — |
Summary
Tickets queue and detail with internal notes, announcements composer, notification templates and rules, delivery log.
Description
Support staff handle tickets and communication from these pages (cahier §2.1, §6.1, §8; SUP-02, NOT-04, NOT-07), on top of SRV-24 and SRV-08. It delivers the tickets list (BO-55), the ticket detail with conversation, internal notes, attachments, assignment and statuses (BO-56; the after-sales resolution panel is added by DSH-13), the announcements composer with targeting, scheduling and read statistics (BO-57), and notification templates and rules with the delivery log (BO-58). Support regions and their WhatsApp numbers are configured in administration (BO-70, DSH-12). Out of scope: after-sales resolution (DSH-13).
Subtasks
| # | Subtask | Owner |
|---|---|---|
| 1 | BO-55 tickets list: TKT number, TicketType, TicketStatus pill, reseller, related order, assignee, last message, age; filters and « Mes tickets » view | Anis |
| 2 | BO-56 ticket detail: conversation thread, reply with attachments, internal notes visually distinct, assignment, status changes, live updates | Anis |
| 3 | BO-57 announcements: composer (title, body fr/ar, image), audience (delegates/resellers, zone, wilaya, segment, customer type), channels, schedule, preview, read statistics | Anis |
| 4 | BO-58 notification rules matrix: events × channels × recipients toggles | Anis |
| 5 | BO-58 template editor per event, channel and locale with variables and live preview | Anis |
| 6 | Delivery log (admin.notifications.log) with filters by channel, status, recipient, event | Anis |
| 7 | Permission gating support.* and communication.* | Anis |
Deliverables
- apps/dashboard/src/app/[locale]/(app)/support/{tickets/page.tsx,tickets/[ticketId]/page.tsx,announcements/…}
- apps/dashboard/src/app/[locale]/(app)/settings/notifications/{rules,templates,log}/page.tsx
Acceptance criteria
- An internal note is never visible to the reseller in the reseller web (SUP-02)
- A reseller reply appears in the open ticket detail without reload
- An announcement scheduled for delegates of one zone is delivered only to them and shows read counts (NOT-07)
- Disabling the push channel for an event in the rules matrix stops pushes for that event (NOT-04)
- Template preview renders the variables with sample data in fr and ar
Requirements covered
| Requirement | Title | Release |
|---|---|---|
| SUP-02 | Back-office ticket handling: assignment, internal notes, replies, statuses, notifications | V1 |
| NOT-04 | Event → channel → recipient matrix and localised templates | V1 |
| NOT-07 | Announcements from the back-office to delegates or resellers by target ('Messages') | V1 |
Screens
| Screen | Name | App |
|---|---|---|
| BO-55 | Tickets list | BO |
| BO-56 | Ticket detail | BO |
| BO-57 | Announcements | BO |
| BO-58 | Notification templates & rules | BO |
API surface
| Endpoint group | Operations |
|---|---|
| Support & communication | 10 |
Test measures
- Playwright e2e: reseller creates a ticket on the web, staff replies with an internal note and a public reply
- Component test for the rules matrix
KPI
- Delivered by Mon 23 Nov 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.
DSH-09 — Back-office promotions & banners pages
Promotions list, promotion editor with targeting/stacking/preview, banners and daily offers.
DSH-14 — Back-office — commercial push, new catalogue, flash-sale fields, complementary products & smart-notification settings
Back-office screens for document 03: commercial push and new catalogue kinds in BO-57 with the push / inbox-only split, the Vente flash toggle in BO-50, complementary products and the new-arrival flag in BO-28, smart rules, action labels and settings in BO-58.