Roundup Tracker - Issues

Issue 2551305

push notifications for changes to open issues
Type: rfe Severity: minor
Components: Web interface, API Versions:
Status: new
: : rouilj
Priority: :

Created on 2023-12-11 17:27 by rouilj, last changed 2023-12-11 17:28 by rouilj.

msg7873 Author: [hidden] (rouilj) Date: 2023-12-11 17:27
Roundup already supports detecting changes to an issue with:

 * HTML pages includes a hidden @lastactivity form input
 * REST API updates require an etag that must match the servers current state for the object
 * XML-RPC may not have any protection see issue2551304

however all (well except xml-rpc) detect changes only on submission.

If a user has a long running open issue and a change is done by somebody else,
it would be nice to notify the user and optionally apply that change and update
the @lastactivity/etag to bring the data in sync with the server. 

One possible way to do this is to use a long poll from a javascript worker.
One example of a long poll using python:
msg7874 Author: [hidden] (rouilj) Date: 2023-12-11 17:28
Note this doesn't replace the existing collision detection mechanisms, it just makes
it nicer for the user.
Date User Action Args
2023-12-11 17:28:23rouiljsetmessages: + msg7874
2023-12-11 17:27:14rouiljcreate