Merged
Conversation
fcbe73e to
85643d5
Compare
85643d5 to
f0a4a02
Compare
Contributor
Contributor
|
Not on main, probably regression. |
SSE-based real-time synchronization for POS pools and session cart: - New SSE endpoint for orderTabs change stream (watches all pools for sidebar updates) - Shared pool-sse.ts utility with debounced invalidate (1s) to reduce redundant requests - Tab page: reactive SSE reconnection on pool switch via switchPoolSSE() - Split page: SSE connection for real-time payment/item updates - Session SSE: simplified cart events to trigger-only (client reloads via load()), added initial cart trigger on connect for reconnect consistency - Removed sending full cart data over SSE (was using formatCart), now uses invalidate() pattern matching the pool SSE approach Fixes issue #2364
f0a4a02 to
c22d2e0
Compare
Contributor
Author
|
@Tirodem bug was found and eliminated @roosemberth we are ready for code review |
Contributor
|
Now iz good 🎉 |
Tirodem
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

POS terminals now see real-time updates when another device modifies the same pool — adding items, splitting payments, or changing quantities are reflected automatically within ~1 second across all connected devices.
Closes #2364