Auto-refresh UI when inbox changes (live updates) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Currently the FileDrop UI requires manual page refresh to see new messages.
Desired behavior: The UI should automatically update when new messages arrive or are processed. Options:
Option 1 (polling every 5-10s) is probably fine for our scale. The API already returns message lists — just need a JS interval that re-fetches and diffs.
Acceptance criteria:
Implemented polling-based auto-refresh in commit
f2e4772.Changes:
renderMessages()function used by both initial load and polling