- Conversation panel labels each desk line: 'Enquiry Desk · AI' or '<Name> · Trader' - Banner when the customer is waiting for a trader, with the open question, its age and who it is routed to (assigned trader, else the whole desk) - Reply box for traders in Awaiting Ops / Awaiting Offer / Offer Sent / Confirmed: performs abk-act-reply; the engine signs it with the signed-in user's name - Inbox: 'Customer question' badge, and such enquiries count as needing a trader Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| src | ||
| .env.example | ||
| .gitignore | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Bunker Enquiry Desk — portal
The Ops and Trader portal for the Bunker Enquiry Desk demo (dev: org 900000130 / app 900000230), standing in for Adani's Adobe enquiry portal. Spectrum-style layout with Source Sans 3 (Adobe's open-source family; Adobe Clean is proprietary).
- Enquiries: every enquiry with state tabs and "Needs my action" per role, refreshed every 5 s.
- Enquiry: the eight touch points as read by the AI, the WhatsApp conversation, Ops input, the offer as sent, and the action for this user and state: Ops input / Regret, Send offer, Revise / Mark lost, Mark delivered.
Platform config: sm2/custom-apps/adani-bunker-enquiry/.
Runtime contract
VITE_ZINO_API_URLis read at runtime fromconfig.js(frontgen writes it);.envfornpm run dev.- Router basename from the
<base href>frontgen writes;vite.config.tskeepsbase: './'. - Every colour is a token in
src/styles.css; dark mode redefines them.
Data
| Need | Call |
|---|---|
| Sign in | POST /usr/login (org_id string), GET /usr/me for roles |
| Lists and detail | POST /app/900000230/view/recordview abk-rv-enquiries (detail filters instance_id) |
| Act | POST /app/900000230/activity with the activity's suffixed keys (price_usd_mt__offer …) |
Run
npm install
cp .env.example .env # VITE_ZINO_API_URL=https://dev.getzino.in
npm run dev # http://localhost:5176
npm run build