feat: implement real-time service request layer (Issue #120)#146
feat: implement real-time service request layer (Issue #120)#146Kajol1906 wants to merge 10 commits into
Conversation
…into feature/service-request-layer
|
Hi @rdodiya, just wanted to gently ping you on this PR whenever you have a moment to review it! Since it's been a few days, some new merge conflicts have popped up from recent changes in gssoc_develop. I am happy to resolve the conflicts right away once you've had a chance to review the feature logic. Thank you! |
|
Hi @Kajol1906 ,
|
…ain.jsx, Login.jsx, and package-lock.json
|
Hi @Kajol1906, Currently, we are not fetching/updating the user profile dynamically from the backend, so I understand that the enable/disable feature is not yet integrated with backend profile update APIs. However, can you please share where I can view this service request button locally after pulling your changes? I checked the screenshot attached below, but I’m unable to identify the exact flow/page. Also, at the moment, the restaurant website is not rendered dynamically. We are currently rendering a static/demo template where data is loaded from Reference URL: If possible, please integrate the service request button into this template flow. I’m also uploading a video for reference — please check it once. ServiceRequest.mp4Additionally, if there are any setup steps/configuration required to test your feature locally, please share those details as well. It will help in reviewing the PR properly. |
…urityConfig to support ROLE_ prefix
|
Hi @rdodiya, I have successfully implemented all requirements for the real-time service request layer, resolved all recent merge conflicts, and fixed the local testing issues. The complete solution is pushed and available in Pull Request #146. Here is a quick video demonstration showing the entire flow in action: recorded video: What has been resolved and verified: |
|
Hi @Kajol1906 ,
|
* remove duplicate name check in category while creating new one * Remove mappig of BranchId done in PR #146
- Removed unnecessary tracked logs and ignored logs directory - Reverted main.jsx, Login.jsx, and build.gradle to match upstream/gssoc_develop exactly - Configured dynamic service request types from application properties, replacing ServiceRequestType enum - Implemented real-time admin WebSocket hot toast notifications via Toaster - Removed customer ServiceFAB cooldown restriction to allow continuous requests
Allows Initial SockJS handshakes and WebSocket connections to bypass Spring Security filter block, enabling live Stomp updates on the admin panel



Overview
Implements a complete, end-to-end real-time Customer Service Request (Call Waiter / Request Bill) flow across the stack.
Key Changes:
LiveNotificationService(STOMP WebSockets) with JPA persistence and full REST endpoints under a newnotificationpackage.Visual preview
bellButtom-customer

notification-admin

toggle button
