Scope
Add a dedicated KDS/Kanban-style alternate view inside the Orders section.
Reuse the existing Order Status Update APIs for transitions like:
Pending → Preparing
Preparing → Ready
Make the KDS view accessible to Admin, Manager, and Staff roles. Admins will retain access to all existing features, while Manager and Staff roles will only have access to the KDS/order processing functionality.
Focus on a clean, touch-friendly UI suitable for restaurant operations.
Real-time updates (SSE/WebSocket/polling) can be implemented incrementally.
Proposed Changes
🖥️ Frontend (React & Tailwind)
- Create a dedicated
/admin/kds viewport designed for tablet and touch displays.
- Layout: A Kanban grid showing states: Pending, Preparing, and Ready for Pickup/Service.
- KDS Card details:
- Large, high-readability text listing the dishes.
- Table number, order type (Dine-in vs. Takeaway), and timestamp.
- A real-time visual stopwatch timer. If the timer exceeds the threshold (e.g., 20 mins), the card border flashes amber/red to indicate urgency.
- Audible chime alerts for new incoming orders.
- Simplified "Action Button" (e.g., "Start Cooking" to transition card to Preparing, and "Mark Ready" to transition it to Ready).
⚙️ Backend (Spring Boot)
- Enhance the Order endpoints to support state transitions tailored for kitchen processing.
- Build an SSE (Server-Sent Events) or WebSocket handler, or a short-polling service, to ensure new orders appear on the KDS board instantly without requiring page refreshes.
Expected Outcome
- Kitchen staff can view, prioritize, and process orders on a touch-optimized KDS screen in real-time.
- Visual/audible alerts ensure that cooking speeds are optimized and customer satisfaction is maximized.
Scope
Add a dedicated KDS/Kanban-style alternate view inside the Orders section.
Reuse the existing Order Status Update APIs for transitions like:
Pending → Preparing
Preparing → Ready
Make the KDS view accessible to Admin, Manager, and Staff roles. Admins will retain access to all existing features, while Manager and Staff roles will only have access to the KDS/order processing functionality.
Focus on a clean, touch-friendly UI suitable for restaurant operations.
Real-time updates (SSE/WebSocket/polling) can be implemented incrementally.
Proposed Changes
🖥️ Frontend (React & Tailwind)
/admin/kdsviewport designed for tablet and touch displays.⚙️ Backend (Spring Boot)
Expected Outcome