[claude] Add offline message queue for Workshop panel (#913) #1205
Reference in New Issue
Block a user
Delete Branch "claude/issue-913"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #913
What changed
static/world/queue.js(new)localStorage-backed message queue withQUEUED/DELIVERED/FAILEDstatus trackingprune()cleans on loadenqueue(),markDelivered(),markFailed(),getPending(),pendingCount()static/world/state.js/api/matrix/healthwith a 5-second timeoutonConnectionChange(fn)listener — fires only on actual transitions (offline → online and vice versa)isOnlinegetterconnect()so status is known before first intervalstatic/world/index.htmlAbortSignal.timeout(8000)so network hangs fail faststateReader.onConnectionChangehandler replays all pending queue items in order when server comes back; marks each delivered or failedstatic/world/style.css.queue-count-displayand.queue-badgewith amber palette and pulse animation