Overview
Stuck happens when a table’s status was written to the server but the matching session record didn’t land — usually because of a network drop mid-write, or a partial sync from an offline device. DishInk detects this state automatically and marks the card with a Stuck badge after a 600 ms delay (to avoid flashing “Stuck” during normal loading).How to spot a stuck table
- Card shows a busy border colour (e.g. Ordering red) but the guest count and total show as blank.
- Stuck badge appears at the bottom-right of the card.
- Opening the Table Session modal shows: “No session found for this table.”

Stuck table card with badge and empty session modal
Wait first, then act
Before force-resetting, wait 10–30 seconds. Most stuck states self-heal when:- An offline write completes syncing.
- A different terminal finishes its transaction.
- The tablet re-establishes its Supabase realtime channel.
Force-reset (Manager PIN)
Only managers can force-reset a stuck table:- Open the stuck table.
- In the “No session found” body state, tap Force Reset.
- Enter your Manager PIN.
- Confirm.
Why stuck tables happen
Common causes:- Network drop mid-order. A waiter added items on an unstable link; the status was queued locally, uploaded, but the session record was retried and dropped.
- Two terminals conflicting. Cashier closed a session on Terminal A while Waiter was editing it on Terminal B — the loser’s write lands but its session is gone.
- Server-side glitch during a spike. Rare, but a partial write during peak load can leave a status without a session.
- Manual database intervention. Support or engineering deleting a session for debugging.
Prevention
- Keep tablets on stable Wi-Fi. See Network Issues.
- Avoid closing tables from two terminals simultaneously. Whoever has the modal open should complete or cancel first.
- Report repeat stuck patterns to Support so we can trace the root cause.
Tips & best practices
Common mistakes
- Resetting immediately. The session was probably about to sync. Wait.
- Non-manager staff attempting reset. Blocked — they’ll be prompted for a Manager PIN.
- Assuming stuck means “empty and safe.” It might have unsynced items. Waiting preserves them.

