Homelegance Chatbot Full-Stack Upgrade
Phase 1: Backend Infrastructure
Phase 2: Agent Dashboard
Phase 3: Workflow Designer
Phase 4: Integration & Testing
Phase 5: Role-Based Access Control & User Management
Phase 6: Enhanced User Management
- Invitation system — send email invitations with unique invite links
- Invitation status tracking (pending, accepted, expired, revoked)
- Invitation table in database with token, email, role, status, expiry
- Invite acceptance flow — landing page to accept invite and create account
- Resend invitation functionality
- Revoke/cancel pending invitations
- Delete user with confirmation dialog and cascade handling
- User activity log (last login, invite date, role changes)
- Bulk actions (bulk delete, bulk role change)
- User search and advanced filtering (by role, status, date joined)
- Export users list to CSV
- User detail view / profile card
- Invitation history tab showing all sent invitations
- Backend API for all invitation CRUD operations
- Backend API for user deletion
- Write unit tests for invitation and deletion features (31 new tests, 76 total passing)
Phase 7: Login Page & Password Authentication
Phase 8: Conversation History Redesign & Bot Naming
- Add pagination to conversations API (limit, offset, total count)
- Add search by visitor name/email/message content
- Add filter by agent (who replied)
- Add filter by status (active, escalated, resolved, closed)
- Add filter by date range
- Add sort options (newest, oldest, most messages, last activity)
- Track assigned agent on conversations
- Redesign conversation list with compact card layout for large volumes
- Add conversation search bar with debounced input
- Add filter sidebar/toolbar with dropdowns
- Add pagination controls (page numbers, prev/next)
- Add conversation count and summary stats
- Add bulk actions for conversations (close, resolve, delete)
- Give AI bot a professional friendly name — Ellie
- Update bot name across chatbot widget, dashboard, and system prompt
- Write tests for new pagination and filtering API (20 new tests, 114 total passing)
Phase 9: Customer ID & Sales Rep in Conversation Table
Phase 10: Agent Name Column & Customer Message Notifications
Phase 11: Workflow Designer Enhancements — Data, Guardrails & AI Suggestions
Phase 12: Tidio-Inspired Enhancements — Flows, Playground, Analytics, Data Import
12a. Workflow Designer — Flow Categories & Sub-categories
- Reorganize Workflow Designer into tabbed categories: Support Flows, Leads Flows, Sales Flows, Others
- Support Flows sub-categories: Orders, Shipping, Returning, Cancelling, Deflect, Self Service
- Leads Flows sub-categories: Lead Capture, Qualify, Nurture
- Sales Flows sub-categories: Product Search, Recommendations, Dealer Locator
- Flow template gallery with preview cards per category (7 pre-built templates)
- Category sidebar with counts and sub-category drill-down
12b. Greeting Redesign — Button Options
12c. Playground — Chatbot Testing
12d. Analytics — Resolution Rate Tracking
12e. AI Agent Data Import Module (Lyro-inspired)