Skip to content

Seed data#28

Merged
AngRobert merged 2 commits into
mainfrom
seed-data
May 29, 2026
Merged

Seed data#28
AngRobert merged 2 commits into
mainfrom
seed-data

Conversation

@AngRobert
Copy link
Copy Markdown
Collaborator

added seed data to user accounts:

usernames: manager, chef, waiter, customer
password: RamsAI@2026! for all of them

ModernityRejecter and others added 2 commits May 29, 2026 13:41
- Add kitchen display system (KDS) with 3-column board (New/Cooking/Ready)
  - Live elapsed timers, customer notes, order/item-level actions
  - Toast alerts and sound on new orders
- Implement WebSocket/STOMP over SockJS for real-time order updates
  - JWT auth via channel interceptor, role-gated /topic/kitchen feed
  - Broadcast after transaction commit to guarantee ordering
- Add customer live tracking on "My Orders" page
  - Subscribe to per-order updates, instant refresh on status changes
  - Toast alert when order is ready to serve
  - Live/offline connection indicator
- Fix order-status rollup gap: item status changes now drive order status
  - Orders advance through Received→Cooking→Ready→Served as items progress
  - Customers see accurate progress bar instead of stuck RECEIVED
- Add OrderMapper for consistent order serialization across REST/STOMP
- Secure /ws endpoint in SecurityConfig for SockJS handshake
- Add realtime.js helper for reusable STOMP client setup with JWT refresh

Acceptance criteria met (user stories #5, #6):
- Kitchen: orders sorted by placed time, customer notes visible
- Live status: real-time notifications about order progress
- Board & customer pages both use WebSocket for instant updates, fall back to polling

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

🤖 Hi @AngRobert, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@AngRobert AngRobert merged commit 257de77 into main May 29, 2026
5 of 6 checks passed
@AngRobert AngRobert deleted the seed-data branch May 29, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants