Appearance
Tech Stack
The Advisor Console is built on modern, well-supported frameworks chosen for Salesforce compatibility, developer experience, and bundle size.
Frontend Framework
| Layer | Technology | Why |
|---|---|---|
| Framework | React 19 | Component model, ecosystem, Salesforce UI Bundle support |
| Build Tool | Vite 7 | Fast HMR, Salesforce UI Bundle plugin |
| Styling | Tailwind CSS 4 | Utility-first, oklch color space theming |
| Components | shadcn/ui (New York) | Full control, Radix primitives, 25 reusable components |
| Data Layer | Salesforce GraphQL UIAPI | Type-safe queries, automatic schema introspection |
| Persistence | IndexedDB | Structured data, larger storage, async API |
Salesforce Integration
| Component | Purpose |
|---|---|
| Salesforce UI Bundle | Deployment target, metadata within SFDX project |
| GraphQL UIAPI | Type-safe data access against Salesforce objects |
| Custom Objects | Trip__c, Destination__c, Quote__c, Booking__c |
| Standard Objects | Contact (Member), Task |
Backend APIs
| Endpoint | Purpose | Backend |
|---|---|---|
POST /api/v1/search | Dining search | Orchestrator (FastAPI) |
POST /api/v1/time-slots | Resy availability | Orchestrator (FastAPI) |
POST /api/v1/handoff | Booking hand-off | Integration Layer (Fastify) |
POST /api/v1/inbox/messages | Send message | Channel Router |
NLP and AI
| Component | Technology |
|---|---|
| Intent Detection | Keyword matching (no external LLM dependency) |
| Orchestration | Llama 3.2 via Fireworks.ai |
| Research | Llama 4 Maverick + Scout via Fireworks.ai |
| Location Extraction | Regex patterns (in [location], at [location]) |
| Date Extraction | Regex patterns (next/this day, tomorrow, MM/DD/YYYY) |
shadcn/ui Components
25 reusable components built on Radix primitives:
alert, avatar, badge, breadcrumb, button, calendar, card, checkbox, collapsible, datepicker, dialog, dropdown-menu, field, input, label, pagination, popover, select, separator, skeleton, sonner, spinner, table, tabs