Commit Graph

2 Commits

Author SHA1 Message Date
dwindown
aea1f48d5d fix: Match Customer Channels to Staff layout and fix event filtering
## 🐛 Bug Fixes

### Customer/Channels.tsx
-  Matched layout to Staff Channels
-  Added "Extend with Addons" section
-  WhatsApp, Telegram, SMS addon cards
-  Consistent UI with Staff page
-  Removed confusing SMS "Coming Soon" inline card

### NotificationsController.php
-  Fixed `get_staff_events()` filtering logic
-  Fixed `get_customer_events()` filtering logic
-  Now uses `recipient_type` field instead of `reset()` on channels
-  Customer events will now show correctly

### Issues Fixed
1.  Customer Channels inconsistent with Staff →  Now matches
2.  Customer Events showing "No Events" →  Now filters correctly

---

**Result:** Both Staff and Customer pages now have consistent UI and working event filtering! 🎉
2025-11-11 20:29:24 +07:00
dwindown
a6a82f6ab9 docs: Add notification refactor status document
## 📊 Progress Tracking

Created NOTIFICATION_REFACTOR_STATUS.md to track:

### Phase 1: Complete  (40%)
- Backend endpoints for staff/customer
- Main Notifications hub page
- Staff Notifications section
- Staff components (Channels, Events)

### Phase 2-5: Pending 📋 (60%)
- Customer Notifications page
- Customer components
- Routes registration
- Templates update
- Testing

### Quick Start Guide
- Step-by-step instructions for next session
- File locations and code examples
- Architecture diagram

---

**Current Status:** Backend + Staff complete, Customer pending
2025-11-11 19:48:21 +07:00