Getting started
Version: 1.0.1
What this app does
Trends WD helps you manage COD shipments across multiple couriers:
- View, add, edit, and delete booking records
- Sync courier tracking (bulk filtered + single shipment)
- Dashboard COD totals and insights
- Register complaints and customer responses
- Configure couriers and users with page permissions
Open the app
- Open the app URL (local production:
http://localhost:3000, or your deploy URL). - If you are not signed in, you land on
/login.
For an offline trial without Supabase, use Demo Mode.
After login — layout
| Area | Purpose |
|---|---|
| Sidebar (left) | Dashboard, each courier, Complaints, Customer Response, Settings |
| Main (right) | Active page content |
Collapse the sidebar with the chevron at the top when you need more table width.
Roles (summary)
| Role | Access |
|---|---|
| Admin | All pages, Users and Access, business branding |
| Editor | Pages where View is granted; Edit follows assignment |
| Viewer | View only — no edit/delete |
Details: Permissions & roles
Page permission keys
| Page key | Screen |
|---|---|
dashboard | Home / |
all-courier | COD /{slug} and status sub-pages |
complaints | /complaints/... |
customer-response | /customer-response/... |
settings | Profile / theme under Settings |
settings-courier-setup | Courier Setup |
settings-users-access | Users and Access |
If View is off for a page, it is hidden from the sidebar and blocked by URL. If no pages have View, you are signed out to login.
Sidebar map
- Dashboard —
/ - Courier names (dynamic) —
/{slug}; expand for status filters/{slug}/{statusSlug} - Complaints —
/complaints/{slug} - Customer Response —
/customer-response/{slug} - Settings — Courier Setup, Users and Access (admin), Profile, theme, Sign out
Typical data flow
Courier Setup → add couriers
↓
COD Shipments → manual entry / CSV import
↓
Tracking Sync → bulk or single-row status update
↓
Dashboard → COD reports and insights
↓
Complaints / Customer Response → same-day COD row highlights